//
// GameObject::getMainColorMode from 0x14029e9a0 to 0x14029e9bf (31 bytes)
//
// 1 xrefs:
// > GameObject::setupCustomSprites @ 0x1402b7930
//
// 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 11:29:15 +0000
//
__int64 __fastcall GameObject::getMainColorMode(__int64 a1)
{
unsigned int *v1; // rdx
__int64 result; // rax
unsigned int v3; // ecx
v1 = *(unsigned int **)(a1 + 1104);
if ( !v1 )
return 0;
result = *v1;
v3 = v1[1];
if ( v3 == (_DWORD)result || !(_DWORD)result )
return v3;
return result;
}