//
// EnhancedGameObject::saveActiveColors from 0x44f142 to 0x44f196 (84 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
//
unsigned int __fastcall EnhancedGameObject::saveActiveColors(EnhancedGameObject *this)
{
unsigned int result; // r0
float *v3; // r5
result = GameObject::saveActiveColors(this);
v3 = (float *)((char *)this + 1172);
if ( *((_BYTE *)this + 1228) )
{
if ( *v3 <= 0.0 && !*((_BYTE *)this + 1188) )
{
result = rand();
*v3 = vcvts_n_f32_s32(result, 0x1Fu);
}
}
else
{
*v3 = 0.0;
*((_DWORD *)this + 294) = 0;
}
if ( *((_BYTE *)this + 1206) )
return EnhancedGameObject::setupAnimationVariables(this);
return result;
}