switch_prepare_rehook
Generate commands to restore original instructions after hooking by dumping 16 bytes at a specified offset in Nintendo Switch executables.
Instructions
Dump the original instructions at an offset (4 instructions / 16 bytes) as 'replace' commands, so you can restore them after hooking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | Offset into main executable (hex, e.g. '0x3a5f10' or '3a5f10') |