Post #5222 · Sat, 2016 Dec 10, 07:29:40
I took a bit of a peek at Double Dash. It probably wouldn't be terribly difficult to tear open, but I don't really have the time for it.
The devs were so kind as to include a .map file listing all of the function/variable names and a call graph!

Unfortunately it seems to be for an older build.

I've been working on a script that can try to match it up to the final version based on the order/size/call-graph of the listed symbols, but it's a pain. (CodeWarrior's name mangling is a right blue-shell to reverse!)
Compared to the final build, almost every section is smaller in the map file, but curiously .text (where nearly all the actual code lives) is much bigger. That suggests it might have contained a lot of extra debugging stuff that's been removed from the final build.
Apparently there's a demo disc out there, which also has a map file, that would be worth looking at.
There does appear to be some type of debug mode left: Setting RAM address 0x803CB3F0 to 1 before actually starting the game (Dolphin has a "start paused" feature when in debug mode) activates something, but in Dolphin it only seems to crash the game. This variable is labelled "debug_bba" (not sure if that label comes from Dolphin or the .map file). It's referenced by functions that have TRK in their names. Someone with a Gamecube, BBA, Action Replay and Double Dash should try to patch that in and see if it does anything more interesting...
Also, some of Dolphin's included cheats I haven't played with:
Draw Debug Process Bar [Ralf]
48000000 803CAD28
DE000000 80008180
1000010C 00000001
10000130 00000001
E0000000 80008000
Debug Camera Mode On/Off (Press DPad Up/Down) [Ralf]
283A4D6C FFFB0004
04361280 8029F1E4
E2000001 80008000
283A4D6C FFF70008
04361280 8029F248
E2000001 80008000
*The debug camera can be controlled with a second controller plugged into port 2.
*B/A = Zoom In/Out
*Y/X = Move Up/Down
*L/R = Rotate Left/Right
*A-Stick Up/Down = Look Up/Down
*DPad Up/Down = Move Forward/Backward
*DPad Left/Right = Strafe Left/Right
____________________