asLody/whale — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a reusable C++ hook framework like Whale that can run on Android, iOS, Linux, and macOS. I want it to support common device CPUs like ARM, ARM64, x86, and x86_64, and I want Android to have Xposed style method hooks, basic Java hook support, runtime class changes, and a way to get around hidden API limits where supported.

For desktop and Darwin platforms, include native function hooking and internal symbol resolving. Add a built in JIT style helper so advanced users can generate executable instructions in memory instead of writing hardcoded machine code.

Please set it up with CMake, include simple build instructions for Android, iOS, and other platforms, and add a small example showing how to hook a simple Java method and a native function in a test app. Keep the code organized as a library, include prebuilt output folders if possible, and document any iOS limits around debug versus release builds. Look up current platform docs online if you need to.

Want more depth? Deep Reverse