// // CharacterColorPage::checkColor from 0x10065e7f0 to 0x10065e83e (78 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 // bool __fastcall CharacterColorPage::checkColor(CharacterColorPage *a1, int a2, UnlockType a3) { GameManager *v4; // rax bool result; // al CharacterColorDelegate *m_delegate; // rdi __int64 v7; // rdx bool v8; // bl v4 = GameManager::sharedState(); result = GameManager::isColorUnlocked(v4, a2, a3); if ( !result ) { m_delegate = a1->m_delegate; if ( m_delegate ) { v7 = (unsigned int)a3; v8 = result; ((void (__fastcall *)(CharacterColorDelegate *, _QWORD, __int64))m_delegate->showUnlockPopup)( m_delegate, (unsigned int)a2, v7); return v8; } } return result; }