Mario Kart Wii Gecko Codes, Cheats, & Hacks

Full Version: at what PAL address is this value located?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: JO7sjKY.png]
i tried to find it the 0x808B5FC4 vtable, without success
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