-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeadlyprem_config.toml
More file actions
453 lines (423 loc) · 17.7 KB
/
Copy pathdeadlyprem_config.toml
File metadata and controls
453 lines (423 loc) · 17.7 KB
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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
# deadlyprem - ReXGlue codegen config (nightly 0.10.0.5-dev.g0c7b01a, 2026-09-05)
#
# Carried over from DPRecomp v0.1.1 (ReXGlue 0.8.1.4, June 2026): ONLY the
# [functions] list below. Same XEX (DP PAL, media ID 7DE95D93), so the
# addresses are still valid; each entry was earned by a crash or by the
# 360tools vtable scan. Everything else starts from the nightly defaults.
#
[functions]
# Tail-branch targets that GapFill did not register as standalone functions.
# Same SDK pattern as ESR's Workaround #2 (unconditional `b` to undiscovered target).
# Discovered on first codegen of DP PAL (media ID 7DE95D93).
"0x8236BE50" = { name = "sub_8236BE50" } # tail target from 0x82472D6C
"0x825814F8" = { name = "sub_825814F8" } # tail target from 0x8275C148
"0x825D2E18" = { name = "sub_825D2E18" } # tail target from 0x825D2E24
"0x82627480" = { name = "sub_82627480" } # tail target from 0x826326D0
# Runtime-discovered bctr/vtable thunks not seen by auto-discovery (no RTTI).
# Same pattern as ESR Workaround #1 — add as runtime crashes surface each one.
"0x82500920" = { name = "sub_82500920" } # crash run-1, after SetInterruptCallback
"0x825E0278" = { name = "sub_825E0278" } # crash run-2, in audio/XMA path
"0x825D6658" = { name = "sub_825D6658" } # crash run-3
"0x8278CCB8" = { name = "sub_8278CCB8" } # crash on "New Game" from main menu
"0x821FBEA8" = { name = "sub_821FBEA8" } # crash during loading screen
# Batch-discovered missing functions (sp00nznet/360tools find_missing_vtable_funcs.py)
"0x8226CEC0" = { name = "sub_8226CEC0" }
"0x8227EAA8" = { name = "sub_8227EAA8" }
"0x823920C8" = { name = "sub_823920C8" }
"0x82392140" = { name = "sub_82392140" }
"0x82500930" = { name = "sub_82500930" }
"0x825688E8" = { name = "sub_825688E8" }
"0x8256C0B0" = { name = "sub_8256C0B0" }
"0x82573D28" = { name = "sub_82573D28" }
"0x825A63C0" = { name = "sub_825A63C0" }
"0x825A6420" = { name = "sub_825A6420" }
"0x825B0884" = { name = "sub_825B0884" }
"0x825B0934" = { name = "sub_825B0934" }
"0x825B137C" = { name = "sub_825B137C" }
"0x825B1388" = { name = "sub_825B1388" }
"0x825B1690" = { name = "sub_825B1690" }
"0x825B16E0" = { name = "sub_825B16E0" }
"0x825B1800" = { name = "sub_825B1800" }
"0x825B1908" = { name = "sub_825B1908" }
"0x825B2244" = { name = "sub_825B2244" }
"0x825B225C" = { name = "sub_825B225C" }
"0x825B2760" = { name = "sub_825B2760" }
"0x825B277C" = { name = "sub_825B277C" }
"0x825B3448" = { name = "sub_825B3448" }
"0x825B3484" = { name = "sub_825B3484" }
"0x825B481C" = { name = "sub_825B481C" }
"0x825B4828" = { name = "sub_825B4828" }
"0x825B49F4" = { name = "sub_825B49F4" }
"0x825B4A08" = { name = "sub_825B4A08" }
"0x825B4E44" = { name = "sub_825B4E44" }
"0x825B4E74" = { name = "sub_825B4E74" }
"0x825B5040" = { name = "sub_825B5040" }
"0x825B5094" = { name = "sub_825B5094" }
"0x825B50F4" = { name = "sub_825B50F4" }
"0x825B510C" = { name = "sub_825B510C" }
"0x825B5250" = { name = "sub_825B5250" }
"0x825B525C" = { name = "sub_825B525C" }
"0x825B5780" = { name = "sub_825B5780" }
"0x825B57A0" = { name = "sub_825B57A0" }
"0x825B57AC" = { name = "sub_825B57AC" }
"0x825B6E40" = { name = "sub_825B6E40" }
"0x825B6F54" = { name = "sub_825B6F54" }
"0x825B75D4" = { name = "sub_825B75D4" }
"0x825B760C" = { name = "sub_825B760C" }
"0x825B9378" = { name = "sub_825B9378" }
"0x825B94C4" = { name = "sub_825B94C4" }
"0x825B97C4" = { name = "sub_825B97C4" }
"0x825B9848" = { name = "sub_825B9848" }
"0x825B9A28" = { name = "sub_825B9A28" }
"0x825B9A74" = { name = "sub_825B9A74" }
"0x825B9E6C" = { name = "sub_825B9E6C" }
"0x825B9EB8" = { name = "sub_825B9EB8" }
"0x825BB554" = { name = "sub_825BB554" }
"0x825BB59C" = { name = "sub_825BB59C" }
"0x825BBB44" = { name = "sub_825BBB44" }
"0x825BBB90" = { name = "sub_825BBB90" }
"0x825BBDA8" = { name = "sub_825BBDA8" }
"0x825BBE38" = { name = "sub_825BBE38" }
"0x825BBFD4" = { name = "sub_825BBFD4" }
"0x825BC034" = { name = "sub_825BC034" }
"0x825BC0D8" = { name = "sub_825BC0D8" }
"0x825BC134" = { name = "sub_825BC134" }
"0x825BC468" = { name = "sub_825BC468" }
"0x825BC4A4" = { name = "sub_825BC4A4" }
"0x825BC4E0" = { name = "sub_825BC4E0" }
"0x825BC4F0" = { name = "sub_825BC4F0" }
"0x825BC50C" = { name = "sub_825BC50C" }
"0x825BC64C" = { name = "sub_825BC64C" }
"0x825BC658" = { name = "sub_825BC658" }
"0x825BC668" = { name = "sub_825BC668" }
"0x825BC7E0" = { name = "sub_825BC7E0" }
"0x825BC9C4" = { name = "sub_825BC9C4" }
"0x825BC9D4" = { name = "sub_825BC9D4" }
"0x825BCA40" = { name = "sub_825BCA40" }
"0x825BCB04" = { name = "sub_825BCB04" }
"0x825BCB14" = { name = "sub_825BCB14" }
"0x825BD1B8" = { name = "sub_825BD1B8" }
"0x825BD1C4" = { name = "sub_825BD1C4" }
"0x825BD1D4" = { name = "sub_825BD1D4" }
"0x825BD2D4" = { name = "sub_825BD2D4" }
"0x825BD2DC" = { name = "sub_825BD2DC" }
"0x825BD2E8" = { name = "sub_825BD2E8" }
"0x825BD334" = { name = "sub_825BD334" }
"0x825BD33C" = { name = "sub_825BD33C" }
"0x825BD348" = { name = "sub_825BD348" }
"0x825BD8D0" = { name = "sub_825BD8D0" }
"0x825BD8DC" = { name = "sub_825BD8DC" }
"0x825BD8EC" = { name = "sub_825BD8EC" }
"0x825BDCCC" = { name = "sub_825BDCCC" }
"0x825BDD00" = { name = "sub_825BDD00" }
"0x825BDDEC" = { name = "sub_825BDDEC" }
"0x825BDE54" = { name = "sub_825BDE54" }
"0x825BDE88" = { name = "sub_825BDE88" }
"0x825BDFA4" = { name = "sub_825BDFA4" }
"0x825BE1CC" = { name = "sub_825BE1CC" }
"0x825BE214" = { name = "sub_825BE214" }
"0x825BEA24" = { name = "sub_825BEA24" }
"0x825BEA44" = { name = "sub_825BEA44" }
"0x825C356C" = { name = "sub_825C356C" }
"0x825C36F8" = { name = "sub_825C36F8" }
"0x825C3704" = { name = "sub_825C3704" }
"0x825C5C90" = { name = "sub_825C5C90" }
"0x825C5CB0" = { name = "sub_825C5CB0" }
"0x825C5CC0" = { name = "sub_825C5CC0" }
"0x825C6290" = { name = "sub_825C6290" }
"0x825C6A2C" = { name = "sub_825C6A2C" }
"0x825C6B44" = { name = "sub_825C6B44" }
"0x825C6D24" = { name = "sub_825C6D24" }
"0x825C6EAC" = { name = "sub_825C6EAC" }
"0x825C6ED4" = { name = "sub_825C6ED4" }
"0x825C7434" = { name = "sub_825C7434" }
"0x825C7454" = { name = "sub_825C7454" }
"0x825C7464" = { name = "sub_825C7464" }
"0x825C75CC" = { name = "sub_825C75CC" }
"0x825C75DC" = { name = "sub_825C75DC" }
"0x825C75E8" = { name = "sub_825C75E8" }
"0x825CA2A8" = { name = "sub_825CA2A8" }
"0x825CA2C8" = { name = "sub_825CA2C8" }
"0x825CA2D4" = { name = "sub_825CA2D4" }
"0x825D0A90" = { name = "sub_825D0A90" }
"0x825D0A98" = { name = "sub_825D0A98" }
"0x825D0AA8" = { name = "sub_825D0AA8" }
"0x825D6640" = { name = "sub_825D6640" }
"0x825D6648" = { name = "sub_825D6648" }
"0x825D6650" = { name = "sub_825D6650" }
"0x825DB5E8" = { name = "sub_825DB5E8" }
"0x825DB5F0" = { name = "sub_825DB5F0" }
"0x825DB5F8" = { name = "sub_825DB5F8" }
"0x825DB600" = { name = "sub_825DB600" }
"0x825DB608" = { name = "sub_825DB608" }
"0x825DB610" = { name = "sub_825DB610" }
"0x825DB620" = { name = "sub_825DB620" }
"0x825DB628" = { name = "sub_825DB628" }
"0x825DB630" = { name = "sub_825DB630" }
"0x825DB638" = { name = "sub_825DB638" }
"0x825DB8B8" = { name = "sub_825DB8B8" }
"0x825DB8C0" = { name = "sub_825DB8C0" }
"0x825DB8C8" = { name = "sub_825DB8C8" }
"0x825DBF78" = { name = "sub_825DBF78" }
"0x825DEC80" = { name = "sub_825DEC80" }
"0x825E0F88" = { name = "sub_825E0F88" }
"0x825E90E4" = { name = "sub_825E90E4" }
"0x825E9100" = { name = "sub_825E9100" }
"0x825FCAA8" = { name = "sub_825FCAA8" }
"0x825FCAB0" = { name = "sub_825FCAB0" }
"0x825FCAC8" = { name = "sub_825FCAC8" }
"0x825FF568" = { name = "sub_825FF568" }
"0x8261B8B0" = { name = "sub_8261B8B0" }
"0x826217A0" = { name = "sub_826217A0" }
"0x82631D90" = { name = "sub_82631D90" }
"0x8267EF30" = { name = "sub_8267EF30" }
"0x8267EF34" = { name = "sub_8267EF34" }
"0x8267EF44" = { name = "sub_8267EF44" }
"0x8267F008" = { name = "sub_8267F008" }
"0x8267F250" = { name = "sub_8267F250" }
"0x8267F260" = { name = "sub_8267F260" }
"0x8267F2C0" = { name = "sub_8267F2C0" }
"0x8267F2F4" = { name = "sub_8267F2F4" }
"0x8267F304" = { name = "sub_8267F304" }
"0x8267F3C0" = { name = "sub_8267F3C0" }
"0x8267F55C" = { name = "sub_8267F55C" }
"0x8267F56C" = { name = "sub_8267F56C" }
"0x8267F7E0" = { name = "sub_8267F7E0" }
"0x8267F804" = { name = "sub_8267F804" }
"0x8267F814" = { name = "sub_8267F814" }
"0x8267F9DC" = { name = "sub_8267F9DC" }
"0x8267FD64" = { name = "sub_8267FD64" }
"0x8267FD74" = { name = "sub_8267FD74" }
"0x82680014" = { name = "sub_82680014" }
"0x826802B4" = { name = "sub_826802B4" }
"0x826802C4" = { name = "sub_826802C4" }
"0x82680320" = { name = "sub_82680320" }
"0x82680324" = { name = "sub_82680324" }
"0x82680334" = { name = "sub_82680334" }
"0x82680414" = { name = "sub_82680414" }
"0x82680454" = { name = "sub_82680454" }
"0x82680464" = { name = "sub_82680464" }
"0x826804D4" = { name = "sub_826804D4" }
"0x826806F4" = { name = "sub_826806F4" }
"0x82680704" = { name = "sub_82680704" }
"0x82680948" = { name = "sub_82680948" }
"0x82680A60" = { name = "sub_82680A60" }
"0x82680A70" = { name = "sub_82680A70" }
"0x82688A20" = { name = "sub_82688A20" }
"0x82688A38" = { name = "sub_82688A38" }
"0x82688A58" = { name = "sub_82688A58" }
"0x82688BF0" = { name = "sub_82688BF0" }
"0x82688C10" = { name = "sub_82688C10" }
"0x82688C30" = { name = "sub_82688C30" }
"0x82688C50" = { name = "sub_82688C50" }
"0x82688C70" = { name = "sub_82688C70" }
"0x82688C90" = { name = "sub_82688C90" }
"0x82688CB0" = { name = "sub_82688CB0" }
"0x82688CD0" = { name = "sub_82688CD0" }
"0x82688CF0" = { name = "sub_82688CF0" }
"0x82688D10" = { name = "sub_82688D10" }
"0x8268FD70" = { name = "sub_8268FD70" }
"0x82699064" = { name = "sub_82699064" }
"0x82699080" = { name = "sub_82699080" }
"0x827567B8" = { name = "sub_827567B8" }
"0x82756818" = { name = "sub_82756818" }
"0x82756848" = { name = "sub_82756848" }
"0x82756868" = { name = "sub_82756868" }
"0x82756870" = { name = "sub_82756870" }
"0x82756878" = { name = "sub_82756878" }
"0x82756880" = { name = "sub_82756880" }
"0x82756890" = { name = "sub_82756890" }
"0x827568A0" = { name = "sub_827568A0" }
"0x827568B0" = { name = "sub_827568B0" }
"0x827568C0" = { name = "sub_827568C0" }
"0x827568D0" = { name = "sub_827568D0" }
"0x827568E0" = { name = "sub_827568E0" }
"0x827568F0" = { name = "sub_827568F0" }
"0x82756900" = { name = "sub_82756900" }
"0x82756940" = { name = "sub_82756940" }
"0x82756948" = { name = "sub_82756948" }
"0x82756950" = { name = "sub_82756950" }
"0x82756958" = { name = "sub_82756958" }
"0x82756980" = { name = "sub_82756980" }
"0x827569D0" = { name = "sub_827569D0" }
"0x827569E8" = { name = "sub_827569E8" }
"0x82756A20" = { name = "sub_82756A20" }
"0x82756A50" = { name = "sub_82756A50" }
"0x82756A68" = { name = "sub_82756A68" }
"0x82756A80" = { name = "sub_82756A80" }
"0x82756AB8" = { name = "sub_82756AB8" }
"0x8277A150" = { name = "sub_8277A150" }
"0x8278D118" = { name = "sub_8278D118" }
"0x827A8348" = { name = "sub_827A8348" }
"0x827B32D8" = { name = "sub_827B32D8" }
"0x827B3B10" = { name = "sub_827B3B10" }
"0x827CA5D8" = { name = "sub_827CA5D8" }
"0x827F9A00" = { name = "sub_827F9A00" }
"0x827F9A60" = { name = "sub_827F9A60" }
"0x827FE5E0" = { name = "sub_827FE5E0" }
"0x827FE730" = { name = "sub_827FE730" }
"0x828010A0" = { name = "sub_828010A0" }
"0x828010C0" = { name = "sub_828010C0" }
"0x82801210" = { name = "sub_82801210" }
"0x82801240" = { name = "sub_82801240" }
"0x82801270" = { name = "sub_82801270" }
"0x828606C0" = { name = "sub_828606C0" }
"0x828606C8" = { name = "sub_828606C8" }
"0x828606D0" = { name = "sub_828606D0" }
"0x828606D8" = { name = "sub_828606D8" }
"0x828A83B0" = { name = "sub_828A83B0" }
"0x828A85B4" = { name = "sub_828A85B4" }
"0x828A9EDC" = { name = "sub_828A9EDC" }
"0x828A9F30" = { name = "sub_828A9F30" }
"0x828A9F64" = { name = "sub_828A9F64" }
"0x828A9F7C" = { name = "sub_828A9F7C" }
# Unresolved branch targets reported by the FIRST nightly-0.10 codegen run
# (2026-09-05): "Unresolved b target X from Y (no CallTarget in FunctionNode)".
# All sit in the 0x825B/0x828A vtable-thunk region already covered above; the
# targets simply were not registered as standalone functions.
"0x825B2230" = { name = "sub_825B2230" } # b target from 0x825B226C
"0x825B274C" = { name = "sub_825B274C" } # b target from 0x825B278C
"0x825B5050" = { name = "sub_825B5050" } # b target from 0x825B5108
"0x825BC464" = { name = "sub_825BC464" } # b target from 0x825BC508
"0x825BDE18" = { name = "sub_825BDE18" } # b target from 0x825BDED0
"0x825BDDFC" = { name = "sub_825BDDFC" } # b target from 0x825BDF10
"0x825BDF70" = { name = "sub_825BDF70" } # conditional branch target from 0x825BDF4C
"0x828A9EEC" = { name = "sub_828A9EEC" } # b target from 0x828A9F78
# DP1 2026-09-06: 60 FPS (ehw's patch ported from the USA XEX, see
# src/deadlyprem_hooks.cpp). Hooks replace three instructions in the frame
# pacing / vblank gate routine; the dp_60fps cvar toggles them at runtime.
[[midasm_hook]]
address = 0x82522654 # fadds f13,f0,f29 -> fmr f13,f0
name = "DP60FpsTimerHook"
registers = ["f13", "f0"]
after_instruction = true
[[midasm_hook]]
address = 0x8252267C # bge cr6,0x8252268C -> b 0x8252268C
name = "DP60FpsVblankGateHook"
jump_address_on_true = 0x8252268C
[[midasm_hook]]
address = 0x82522704 # stfs f0,-11344(r24): f0 = logic tick (vblank delta) -> real frame time / 16.67 ms (v1.1, #12)
name = "DP60FpsTickHook"
registers = ["f0"]
after_instruction = false
[[midasm_hook]]
address = 0x8252271C # bge cr6,0x82522728 -> b 0x82522728: skip the game's own tick >= 1.0 clamp (f28 = 1.0f), #12
name = "DP60FpsTickClampHook"
jump_address_on_true = 0x82522728
# DP1 2026-09-07 (#17/#18): animation keyframe events fire once per start-frame
# crossing (src/deadlyprem_anim_event_hook.cpp). Hooks sit before the
# `stwx r11,r7,rTHIS` that copies a picked event into the animation controller;
# true = skip the copy (jump past the count increment).
[[midasm_hook]]
address = 0x8253A2A8 # standalone dispatcher sub_8253A0C8 (layered motions), this = r30
name = "DPAnimEventPickHook"
registers = ["r11", "f30", "f31", "r28", "r30"]
jump_address_on_true = 0x8253A2B8
[[midasm_hook]]
address = 0x8253D9B4 # sub_8253D568 main update, inlined dispatcher copy 1, this = r28
name = "DPAnimEventPickHookMain"
registers = ["r11", "f30", "f31", "r25", "r28"]
jump_address_on_true = 0x8253D9C4
[[midasm_hook]]
address = 0x8253DED8 # sub_8253D568 main update, inlined dispatcher copy 2
name = "DPAnimEventPickHookMain2"
registers = ["r11", "f30", "f31", "r25", "r28"]
jump_address_on_true = 0x8253DEE8
# DP1 2026-09-06: direct mouse camera control (src/deadlyprem_camera_hook.cpp).
# Merge point in the camera update (PAL sub_82338A38) after the right-stick X
# contribution; the hook adds the mouse deltas to the per-frame yaw/pitch.
[[midasm_hook]]
address = 0x82338CA8
name = "DPCameraMouseHook"
registers = ["r31"]
after_instruction = false
# DP1 2026-09-06: walking gameplay camera (sub_8233AB28), merge point after RX.
# DP1 v1.1 (#11): aim camera sub_8233B3C0 (left-stick driven): mark the frame so the
# MnK driver maps the mouse onto the left stick (see deadlyprem_camera_hook.cpp).
[[midasm_hook]]
address = 0x8233B87C # lfs f0,128(r3) in the aim camera routine
name = "DPCameraAimHook"
after_instruction = false
# DP1 v1.1 (#11): capture the camera anchor pointer for the direct yaw write
# (walking camera: lfs f0,128(r3) = anchor yaw read, see deadlyprem_camera_hook.cpp).
[[midasm_hook]]
address = 0x8233B220
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x8233B2A4
name = "DPCameraMouseHookWalk"
registers = ["r31"]
after_instruction = false
# DP1 2026-09-06: the rest of the camera family (aim / driving / cutscene modes),
# each hooked at the merge point after its stick-X step. "Walk" = the routine
# does pitch -= stick_y (fnmsubs), plain = pitch += stick_y (fmadds).
[[midasm_hook]]
address = 0x82338818 # sub_823386C0 (fnmsubs)
name = "DPCameraMouseHookWalk"
registers = ["r31"]
[[midasm_hook]]
address = 0x8233956C # sub_823393A8 (fnmsubs)
name = "DPCameraMouseHookWalk"
registers = ["r31"]
[[midasm_hook]]
address = 0x823399D0 # sub_82339688 (fnmsubs)
name = "DPCameraMouseHookWalk"
registers = ["r31"]
[[midasm_hook]]
address = 0x82339CC4 # sub_82339AD0 (fnmsubs)
name = "DPCameraMouseHookWalk"
registers = ["r31"]
[[midasm_hook]]
address = 0x8233A2D4 # sub_8233A150 (fmadds)
name = "DPCameraMouseHook"
registers = ["r31"]
# DP1 v1.1 (#11): capture the camera anchor pointer for the direct yaw write
# (aim camera: lfs f0,128(r3) = anchor yaw read, see deadlyprem_camera_hook.cpp).
[[midasm_hook]]
address = 0x82339EBC
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
# DP1 v1.1.1: the remaining absolute (fnmsubs) camera routines read the same
# anchor (same getter + handles, +128 -> +112) - hook them too so the direct yaw
# write works while running / in the other gameplay camera modes.
[[midasm_hook]]
address = 0x8233875C # sub_823386C0
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x82339438 # sub_823393A8 (1st read)
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x823394C4 # sub_823393A8 (2nd read)
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x8233987C # sub_82339688
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x82339B48 # sub_82339AD0 (1st read)
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x82339C0C # sub_82339AD0 (2nd read)
name = "DPCameraAnchorHook"
registers = ["r3"]
after_instruction = false
[[midasm_hook]]
address = 0x82339F74 # sub_82339DF8 (left-stick driven, fnmsubs) - aim?
name = "DPCameraMouseHookWalk"
registers = ["r31"]
[[midasm_hook]]
address = 0x8233BE98 # sub_8233BE20 (left-stick driven, fmadds)
name = "DPCameraMouseHook"
registers = ["r31"]