//
// EnhancedGameObject::saveActiveColors from 0x64abdc to 0x64ac5c (128 bytes)
//
// 43 xrefs:
// > ??> @ 0x44f88
// > ??> @ 0x11542c0
// > ??> @ 0x1162470
// > ??> @ 0x1162c70
// > ??> @ 0x1163470
// > ??> @ 0x1163c70
// > ??> @ 0x1164470
// > ??> @ 0x1164c70
// > ??> @ 0x1165470
// > ??> @ 0x1166440
// > ??> @ 0x1166c40
// > ??> @ 0x1167440
// > ??> @ 0x1167c40
// > ??> @ 0x1168440
// > ??> @ 0x1168c80
// > ??> @ 0x1169480
// > ??> @ 0x1169c80
// > ??> @ 0x116a480
// > ??> @ 0x116ac80
// > ??> @ 0x116b490
// > ??> @ 0x116bc90
// > ??> @ 0x116c490
// > ??> @ 0x116cc90
// > ??> @ 0x116d490
// > ??> @ 0x116dc90
// > ??> @ 0x116e490
// > ??> @ 0x116ec90
// > ??> @ 0x116f490
// > ??> @ 0x116fc90
// > ??> @ 0x1170490
// > ??> @ 0x1170c90
// > ??> @ 0x1171490
// > ??> @ 0x1171c90
// > ??> @ 0x1172490
// > ??> @ 0x1172c90
// > ??> @ 0x1173490
// > ??> @ 0x1173c90
// > ??> @ 0x1174490
// > ??> @ 0x1174c90
// > ??> @ 0x1175490
// > ??> @ 0x1175c90
// > ??> @ 0x1176490
// > ??> @ 0x1176c90
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EnhancedGameObject::saveActiveColors(EnhancedGameObject *a1)
{
_BOOL4 m_hasCustomAnimation; // w0
GameObject::saveActiveColors(a1);
if ( !a1->m_animationRandomizedStart )
{
m_hasCustomAnimation = a1->m_hasCustomAnimation;
a1->m_animationRandomizedStartValue = 0;
a1->m_animationStart = 0.0;
if ( !m_hasCustomAnimation )
return;
LABEL_6:
EnhancedGameObject::setupAnimationVariables(a1);
return;
}
if ( *(float *)&a1->m_animationRandomizedStartValue <= 0.0 && !a1->m_unk548 )
*(float *)&a1->m_animationRandomizedStartValue = (float)rand() * 4.6566e-10;
if ( a1->m_hasCustomAnimation )
goto LABEL_6;
}