summaryrefslogtreecommitdiff
path: root/replay.yaml
blob: 0dc9084591e1509c74ffc4c05ac05cd80e154bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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