Note: A substantial portion of this project was NOT created by me.
This template is designed for non-jailbroken (jailed) iOS devices and was originally created for ARK: Ultimate Mobile Edition.
This was created due to a lack iOS ModMenu templates.
- Simple Offset Patching: Straightforward coding style for easy understanding and modification.
- Floating Menu Button: Easily accessible interface for in-game mod controls.
- UE4 Usage Examples: Reference implementations for Unreal Engine 4.
- ImGui menu: Easily modified ImGui menu for iOS
uintptr_t BaseAddr = (uintptr_t)_dyld_get_image_header(0);
Explanation:
_dyld_get_image_header(0) gives you the base address of the first loaded file in the app, usually the main program itself.
Reading memory:
uintptr_t EX = KomaruPatch::ReadMem(Ptr + Ptr);
Writing memory:
KomaruPatch::WriteMem<Type>(Ptr + Offset, Value);
For details on compiling, please refer to Theos:
Use WSL (Windows Sub Linux) if compiling on windows.
For ImGui usage, please refer to the Official ImGui Wiki
UPDATES
1-10-25
updated KomaruPatch.hpp
automatically checks pointer validity now.