// // CharacterColorPage::activeColorForMode from 0x69cd72 to 0x69cdae (60 bytes) // // 4 xrefs: // > CharacterColorPage::updateColorMode @ 0x69cdc8 // > CharacterColorPage::updateColorMode @ 0x69cdd2 // > CharacterColorPage::updateColorMode @ 0x69cddc // > CharacterColorPage::onPlayerColor @ 0x69d260 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:56:20 +0000 // int __fastcall CharacterColorPage::activeColorForMode(CharacterColorPage *this, int a2) { int v2; // r0 int v3; // r3 int v4; // r0 int v5; // r0 int v6; // r0 switch ( a2 ) { case 1: v5 = GameManager::sharedState(this); v3 = *(_DWORD *)(v5 + 624); v4 = *(_DWORD *)(v5 + 628); return v3 - v4; case 2: v6 = GameManager::sharedState(this); v3 = *(_DWORD *)(v6 + 636); v4 = *(_DWORD *)(v6 + 640); return v3 - v4; case 0: v2 = GameManager::sharedState(this); v3 = *(_DWORD *)(v2 + 612); v4 = *(_DWORD *)(v2 + 616); return v3 - v4; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source