//
// GameObject::resetMainColorMode from 0x771464 to 0x7714a0 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x96598
//
// This function is hookable on this platform (idp: arm, 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:53:13 +0000
//
_DWORD *__fastcall GameObject::resetMainColorMode(GameObject *this)
{
_DWORD *result; // x0
int v2; // w1
int v3; // w2
result = (_DWORD *)GameObject::getMainColor(this);
if ( result )
{
v2 = result[1];
v3 = 1101;
if ( v2 <= 1100 )
{
if ( v2 < 0 )
v3 = 0;
else
v3 = result[1];
}
result[1] = v3;
*result = 0;
}
return result;
}