//
// CharacterColorPage::checkColor from 0x10073de40 to 0x10073de8e (78 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:36:28 +0000
//
__int64 __fastcall CharacterColorPage::checkColor(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 v4; // rax
__int64 result; // rax
__int64 v6; // rdi
__int64 v7; // rdx
unsigned int v8; // ebx
v4 = GameManager::sharedState();
result = GameManager::isColorUnlocked(v4, a2, a3);
if ( !(_BYTE)result )
{
v6 = *(_QWORD *)(a1 + 704);
if ( v6 )
{
v7 = a3;
v8 = result;
(*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v6 + 8LL))(v6, a2, v7);
return v8;
}
}
return result;
}