Oth
Hooking thread entry points.
Available Functions
| Function | Description |
|---|---|
| oth.get_original_thread | Return the original thread this hook comes from, or nil if the current thread is not a hook. |
| oth.get_root_callback | Retrieves a function that can be used to call the original function in the context of a hook thread. |
| oth.hook | Hooks a function by utilizing a secure 'Off Thread' execution model that runs hook code on isolated threads. This method is specifically designed for hooking C functions where standard hookfunction might be detected. |
| oth.is_hook_thread | Returns whether or not this thread is a hook thread. |
| oth.unhook | Unhooks a function previously hooked with oth.hook. |