itsPow45/iOS-Jailed-Runtime-Offset-Patching-and-Hooking — reverse-engineered prompt
Reverse engineered prompt
Build me a simple iOS project for non jailbroken apps that gives me jailed runtime offset patching and function hooking. I want it to work by injecting just one dylib into the app, and then when the app launches it should generate a new binary inside the app Documents folder. After that, I should be able to swap that generated file with the original app binary and have runtime patching and hooks available without needing any extra helper files.
Please keep it close to the H5GG style behavior, but in this C++ and Theos style setup, with support for the older hook method too. Make it easy to reuse with a basic mod menu later, but the core thing is reliable offset patching and hook support on jailed devices. Include a small example that shows one offset patch and one function hook so it is clear how to use it. Keep the build self contained and straightforward. If you need details, look up the original H5GG approach online and match that flow.
Want more depth? Deep Reverse