A high-performance iOS modding framework built entirely from scratch in Rust—no Substrate, no Dobby, no external libraries.
- ARM64 Inline Hooking: Custom trampoline generation and instruction relocation (Jailbreak only).
- Hardware Breakpoints: Non-jailbreak hooking via debug registers (Both).
- W^X Memory Patching: Safe writes with thread management and cache invalidation (Jailbreak only).
- Memory Utilities: Type-safe RVA conversion and pointer chain traversal.
- Memory Scanning: IDA-style signature finding with wildcards.
- Zero Dependencies: Pure Rust using direct
mach2syscalls. - In-Game UI: Responsive menu built with
objc2.
You can customize the tweak behavior in src/config.rs:
pub const TARGET_IMAGE_NAME: &str = "UnityFramework"; // Binary to hook
pub const DEBUG: bool = true; // Toggle detailed logging
pub const SELECTED_THEME: ThemeVariant = ThemeVariant::Default; // Theme variant-
Prerequisites:
rustup target add aarch64-apple-ios brew install sshpass https://theos.dev/docs/installation-ios cargo install sccache # for better perfomance -
Deploy to Device:
# Edit Makefile to set your DEVICE_IP make deploy
Logs are sent to the Apple Unified Logging System. You can view them using Console.app on macOS:
- filter for:
RGGorsubsystem:com.rust_tweak.
Planned features and improvements for future releases:
- In-Game UI Menu: SwiftUI or Metal-based overlay for runtime mod control (foundation implemented)
- Memory Scanning: Pattern scanning and signature-based function finding
- Breakpoint Hooks: Hardware breakpoint support for non-jailbroken devices
- Symbol Resolution: Automatic symbol lookup and caching
- Hot Reloading: Dynamic mod loading without reinjection
- Il2cpp Resolver: Automatic il2cpp class and method resolution
Contributions are welcome! If you find any issues or have suggestions, please open an issue.
For collaboration, feel free to submit pull requests.
Follow Rust conventions (cargo fmt, cargo clippy) and document your changes.
Use clear, descriptive commit messages:
Format: type: brief description
Types: feat, fix, docs, refactor, test, chore
Educational purposes only. Modifying games may violate Terms of Service. Use at your own risk.
MIT License - See LICENSE file for details.