// // CharacterColorPage::activeColorForMode from 0x10065e790 to 0x10065e7e6 (86 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall CharacterColorPage::activeColorForMode(CharacterColorPage *a1, int a2) { int result; // eax GameManager *v3; // rax GameManager *v4; // rax GameManager *v5; // rax if ( a2 == 2 ) { v5 = GameManager::sharedState(); return v5->m_playerGlowColor.random - v5->m_playerGlowColor.seed; } else if ( a2 == 1 ) { v4 = GameManager::sharedState(); return v4->m_playerColor2.random - v4->m_playerColor2.seed; } else { result = 0; if ( !a2 ) { v3 = GameManager::sharedState(); return v3->m_playerColor.random - v3->m_playerColor.seed; } } return result; }