Mario Kart Wii Symbol Map [Incomplete]
#11
Functions:
getGcnInputs(controllerPort, returnAddress) = 0x801b323c;
controllerInputHandler(controllerDataPointer) = 0x805238f0;
updateModeVariables(void) = 0x807bd1d0;
decideItem(param1, itemBoxSetting, position, param4, param5, param6) = 0x807bb42c;

Variables / Data structures:
ptr_controllerData = 0x809bd70c;
ptr_raceData = 0x809bd728;
ptr_raceInfo = 0x809bd730;
playerCount = 0x809C38B8 ;
onlineRaceActive = 0x809C38B9;
vsRaceActive = 0x809C38BA;
battleModeActive = 0x809C38BB;
timeTrialActive = 0x809C38BC;
Reply
#12
Thank you TZ and Seeky.

Here's an idea, how about somebody makes a Public Google Spreadsheet? That way it can easily be updated. As forum posts here have size limits and other restrictions.
Reply
#13
mkw symbol map google sheet
i really hope this works the way it should lol
Reply
#14
Updated the OP with the Google Sheet link
Reply
#15
800C78D0 (PAL)

This is the CRC16-CCITT function call whenever the Mii Data needs to checksummed.

Thank you Loaf for providing this.
Reply
#16
Symbols found by my crude Python script: https://gist.github.com/terorie/7d4af9e9...eeb4010e76 (2900 unique addresses matched to at least one symbol name)
Reply
#17
I revamped by Python scripts and published it on GitHub.
These scripts can match object files containing known symbols and relocations with a memory dump,
and then export a list of unambiguous symbol matches. (meaning symbol matched one address, and address matched only one symbol).

This method found 4251 generic symbols.

You can find it here: https://github.com/terorie/wii-symbols/b...RMCP01.txt
Reply
#18
Thank you for this.
Reply
#19
0x8052D118-0x8052D1BF: Upper Matrix VR/BR Change Calculation (positive Values)
Function Arguments: r3 = Pointer to active Player (Winner), r4 = Pointer to passive Player (Looser)
Function Values (Return): r3 = VR/BR Change

0x8052D1C0-0x8052D26F: Lower Matrix VR/BR Change Calculation (negative Values)
Function Arguments: r3 = Pointer to active Player (Looser), r4 = Pointer to passive Player (Winner)
Function Values (Return): r3 = VR/BR Change

0x8052CEF8-0x8052D00B: Real Change Calculation (used of both Subroutines above)
Function Arguments: f1 = Prepared VR/BR Delta between the Players
Function Values (Return): f1 = Floating Point Value of VR/BR Change
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)