Hooking library written for GTA:SA (MP) in Lua language for 32-bit architecture.
- Auto-size detection.
- Relay (hook object in callback parameters)
- Hook installation without a callback (thanks to the relays)
- Code generation for trampoline (thanks MinHook)
- Hook-on-hook support.
- Unloading in any conditions.
- CPU context (general-purpose registers) retrieving.
Extract src directory to your moonloader/lib directory.
See demo/init.lua for examples and usage.
- MinHook (for trampoline code generation)
- Vyacheslav Patkov for implementing Hacker Disassemble Engine.
- hook written using moonly
hook licensed under MIT license. See LICENSE for details.