MEMORY
Unhook
Removes a hook installed with Hook.
Syntax
local ok = ONYX.Memory.Unhook(hookId)Parameters
hookId(integer) — The ID returned by Hook.
Return(s)
boolean — true on success, false when the id is not a live hook owned by this environment.
Example(s)
local hookId = ONYX.Memory.Hook(addr, "v:", function() end)
ONYX.Memory.Unhook(hookId)