Mario Kart Wii Gecko Codes, Cheats, & Hacks
at what PAL address is this value located? - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Hacks/Modding (https://mariokartwii.com/forumdisplay.php?fid=14)
+--- Forum: Code Support / Help / Requests (https://mariokartwii.com/forumdisplay.php?fid=61)
+--- Thread: at what PAL address is this value located? (/showthread.php?tid=1931)



at what PAL address is this value located? - weeg - 12-31-2021

[Image: JO7sjKY.png]
i tried to find it the 0x808B5FC4 vtable, without success


RE: at what PAL address is this value located? - Seeky - 12-31-2021

The 0x808B5FC4 vtable means that the vtable field of this class contains a pointer to that address, not that the class is stored there. There's no fixed address for this value, each player has their own unique instance of this class that spawns in a 'random' location in RAM each race. You'll need to load the pointer stored in PlayerHolder:: sInstance (which is at a fixed address), then work through the chain of sInstance->players[idOfPlayerYouCareAbout].pointers.playerSub10->floorCollisionCount