diff options
Diffstat (limited to 'replay.yaml')
-rw-r--r-- | replay.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/replay.yaml b/replay.yaml new file mode 100644 index 0000000..0dc9084 --- /dev/null +++ b/replay.yaml @@ -0,0 +1,39 @@ +source_files: [replay.S] +hooks: + - name: ReplayHookStart + type: branch_insn + branch_type: b + src_addr_pal: 0x809246E0 + target_func: 'replayStart' + - name: ReplayHookEnd + type: branch_insn + branch_type: bl + src_addr_pal: 0x80102238 + target_func: 'replayEnd' + - name: ReplayHookRecord + type: branch_insn + branch_type: b + src_addr_pal: 0x8006A1B4 + target_func: 'replayRecord' + - name: LuigiOverride + type: branch_insn + branch_type: b + src_addr_pal: 0x800E50B4 + target_func: 'luigiOverride' + - name: GetAndSaveRandomSeed + type: branch_insn + branch_type: b + src_addr_pal: 0x8091F930 + target_func: 'getAndSaveRandomSeed' + - name: ReplayInitPatch1 + type: patch + addr_pal: 0x80920124 + data: '38841D68' # might not work on NTSC + - name: ReplayInitPatch2 + type: patch + addr_pal: 0x8092016C + data: '38841D68' # might not work on NTSC + - name: ReplayPrepareSkip + type: patch + addr_pal: 0x8091F6EC + data: '48000220' # branches past most of the function |