summaryrefslogtreecommitdiff
path: root/poweruphax.yaml
blob: ceaaa174325949407721da6c900fa320dde3a6f1 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
---
source_files: [../src/poweruphax.S]
hooks:
  - name: GetInfoFromDumbTable
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80142650
    target_func: 'GetInfoFromDumbTable'
    
  - name: FukidashiFix
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x800B1A50
    target_func: 'FukidashiFix'
    
  - name: PlayerGetHeightFix
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80132670
    target_func: 'PlayerGetHeight'
    
#  - name: EnItem_BindAnimation_Fix
#    type: branch_insn
#    branch_type: b
#    src_addr_ntsc: 0xdeadbeef
#    src_addr_pal: 0x80A291E0
#    target_func: 'EnItem_BindAnimation_Fix'
    
  - name: DealWithBlahTable
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80141F70
    target_func: 'DealWithBlahTable'
    
  - name: GetAsdfTable
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x801466C0
    target_func: 'GetAsdfTable'
    
  - name: GetBlahTableOffset
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x801421AC
    target_func: 'GetBlahTableOffset'
    
  - name: GetWeirdScaleTable
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8014676C
    target_func: 'GetWeirdScaleTable'
    
  - name: WtfEver
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80133E48
    target_func: 'WtfEver'
    
  - name: YetAnother
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80138840
    target_func: 'YetAnother'
    
  - name: ExtendHammerStruct
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x807FCBA8
    data: '3860 045C'
    
  - name: ThrowHammer
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8013BEE4
    target_func: 'ThrowHammer'
    
  - name: MoreProjectileStuff_Fix
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8013C3A0
    target_func: 'MoreProjectileStuff_Fix'
    
  - name: ProjectileShootCheck_Fix1
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x8013BB7C
    data: '4181003C'
    
  - name: ProjectileShootCheck_Fix2
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8013BBB8
    target_func: 'ProjectileShootCheck_Fix'
    
  - name: QBlockItemChange
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x802ee628
    data: '00000006'
    
  - name: QBlockItemFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x8002288c
    data: '60000000'
    
  - name: FixMushroomIfSmallBlock
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x800221ac
    data: '2800 0003'
    
  - name: SomeEnItemFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x80A2BE98
    data: '2800 0003'
    
  - name: MushroomEnItemFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x80A28598
    data: '2800 0003'
    
  - name: DisablePowerupValidityCheck
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x800611C4
    data: '60000000'
    
  - name: TinyTableFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x802F5AEC
    data: '00000001'
    
    #It's not actually a function but who cares?
  - name: AlwaysLoadBrosArc
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8098C488
    target_func: 'BrosArcFileName'
    
  - name: AlwaysLoadBrosArc
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8098C490
    target_func: 'I_hammerArcFilename'
    
  - name: ChangeHammerBrres
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80AF0FA8
    target_func: 'I_hammerResFile'
    
  - name: ChangeHammerArc
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80AF0ECC
    target_func: 'I_hammerArcFilename'
    
  - name: ChangeHammerModel
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80AF1000
    target_func: 'I_hammerModelName'
    
  - name: LetPlayerGetHammerItem
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80A285FC
    target_func: 'TryToGiveMarioHammerSuit'
    
  - name: WeirdAnimLoadHack
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80A27CE4
    target_func: 'WeirdAnimLoadHack'
    
  - name: SetHammerToEnItemDCA
    type: add_func_pointer
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80AF117C
    target_func: 'SetHammerToEnItemDCA'
    
  - name: PlumberSetPowerupFix
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800D47D4
    target_func: 'PlumberSetPowerupFix'
    
  - name: PlumberSetPowerupFix2
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x80141510
    target_func: 'PlumberSetPowerupFix2'
    
  - name: PlumberSetPowerupTextureFix
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800CA6F8
    target_func: 'PlumberSetPowerupTextureFix'
    
#  - name: PlumberSetPowerupTextureDebug
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x800CA6B0
#    target_func: 'PlumberSetPowerupTextureDebug'
    
  - name: FixPowerupScale_First
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x800d6fdc
    target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r4_dest'
    
  - name: FixPowerupScale_Second
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8004cc80
    target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest'
    
  - name: FixPowerupScale_Third
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x800d7064
    target_func: 'GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest'
    
  - name: FixPowerupScale_Fourth
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x801293D0
    target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest'
    
  - name: FixPowerupScale_Fifth
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80137CDC
    target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest'
    
  - name: FixPowerupScale_Sixth
    type: branch_insn
    branch_type: b
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80141FF4
    target_func: 'GetPowerupScaleFloatAddr_fixForSixth'
    
  - name: FixPowerupScale_Seventh
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x8014378C
    target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest'
    
  - name: FixPowerupScale_Eighth
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0xdeadbeef
    src_addr_pal: 0x80143884
    target_func: 'GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest'