syInlineHook
Signature
Parameters
Parameter | Type | Description |
---|---|---|
address |
u32 | The address to hook |
replacement |
void* | function pointer to the hook body |
Description
Injects a hook at the target address.
- Hooks injected via this method WILL return execution to the original function.
- Register values prior to branching to your code are restored when returning.
- These hooks will run the overwritten instruction at
address
prior to jumping to your code.