switch_replace
Replace instructions at specific offsets in Nintendo Switch executables to modify code behavior during debugging with gdb-multiarch.
Instructions
Replace the instruction at an offset from main with a new instruction. Offset and instruction are both hex values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | Offset into main executable (hex) | |
| instruction | Yes | New instruction as a 32-bit hex value (e.g. '0xD503201F') |