//
// GameObject::resetMainColorMode from 0x44ea0e to 0x44ea30 (34 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:36 +0000
//
_DWORD *__fastcall GameObject::resetMainColorMode(GameObject *this)
{
_DWORD *result; // r0
int v2; // r3
int v3; // r3
result = (_DWORD *)GameObject::getMainColor(this);
if ( result )
{
v2 = result[1];
if ( v2 > 1100 )
v3 = 1101;
else
v3 = v2 & ~(v2 >> 31);
result[1] = v3;
*result = 0;
}
return result;
}