//
// GameObject::resetMainColorMode from 0x10069b8e0 to 0x10069b913 (51 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:35:16 +0000
//
_DWORD *__fastcall GameObject::resetMainColorMode(__int64 a1)
{
_DWORD *result; // rax
int v2; // edx
int v3; // ecx
result = *(_DWORD **)(a1 + 1096);
if ( result )
{
v2 = 0;
if ( (int)result[1] > 0 )
v2 = result[1];
v3 = 1101;
if ( v2 < 1101 )
v3 = v2;
result[1] = v3;
*result = 0;
}
return result;
}