//
// EnhancedGameObject::saveActiveColors from 0x771fcc to 0x77204c (128 bytes)
//
// 44 xrefs:
// > ??> @ 0x62188
// > ??> @ 0x1434ec0
// > ??> @ 0x1443a30
// > ??> @ 0x1444240
// > ??> @ 0x1444a50
// > ??> @ 0x1445260
// > ??> @ 0x1445a70
// > ??> @ 0x1446280
// > ??> @ 0x1446a90
// > ??> @ 0x1447a80
// > ??> @ 0x1448290
// > ??> @ 0x1448aa0
// > ??> @ 0x14492b0
// > ??> @ 0x1449ac0
// > ??> @ 0x144a310
// > ??> @ 0x144ab20
// > ??> @ 0x144b330
// > ??> @ 0x144bb40
// > ??> @ 0x144c350
// > ??> @ 0x144cb70
// > ??> @ 0x144d380
// > ??> @ 0x144db90
// > ??> @ 0x144e3a0
// > ??> @ 0x144ebb0
// > ??> @ 0x144f3c0
// > ??> @ 0x144fbd0
// > ??> @ 0x14503e0
// > ??> @ 0x1450bf0
// > ??> @ 0x1451400
// > ??> @ 0x1451c10
// > ??> @ 0x1452420
// > ??> @ 0x1452c30
// > ??> @ 0x1453440
// > ??> @ 0x1453c50
// > ??> @ 0x1454460
// > ??> @ 0x1454c70
// > ??> @ 0x1455480
// > ??> @ 0x1455c90
// > ??> @ 0x14564a0
// > ??> @ 0x1456cb0
// > ??> @ 0x14574c0
// > ??> @ 0x1457cd0
// > ??> @ 0x14584e0
// > ??> @ 0x1458cf0
//
// 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
//
__int64 __fastcall EnhancedGameObject::saveActiveColors(EnhancedGameObject *this)
{
__int64 result; // x0
GameObject::saveActiveColors(this);
if ( !*((_BYTE *)this + 1408) )
{
result = *((unsigned __int8 *)this + 1386);
*((_DWORD *)this + 338) = 0;
*((_DWORD *)this + 339) = 0;
if ( !(_DWORD)result )
return result;
return EnhancedGameObject::setupAnimationVariables(this);
}
if ( *((float *)this + 338) <= 0.0 && !*((_BYTE *)this + 1368) )
*((float *)this + 338) = (float)rand() * 4.6566e-10;
result = *((unsigned __int8 *)this + 1386);
if ( *((_BYTE *)this + 1386) )
return EnhancedGameObject::setupAnimationVariables(this);
return result;
}