Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MinHook-based function detouring. Requires insecure mode. All hooks are removed when the script unloads.
hooks.add(target, detour)
hook, original
target
hooks.remove(target)
bool
hooks.list()
table
hook:original()
number
hook:target()
hook:active()
hook:remove()
local addr = memory.find_pattern('client.dll', '48 89 5C 24 ? 57 48 83 EC 20 ...') local h, orig = hooks.add(addr, function(rcx, rdx) -- call original -- return value end) events.on('unload', function() h:remove() end)