//
// GameObject::setupColorSprite from 0x44f052 to 0x44f070 (30 bytes)
//
// 2 xrefs:
// > GameObject::saveActiveColors @ 0x44f0de
// > GameObject::saveActiveColors @ 0x44f0ea
//
// 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
//
int __fastcall GameObject::setupColorSprite(GameObject *this, int a2, int a3)
{
GJEffectManager *v4; // r0
int result; // r0
v4 = *((GJEffectManager **)this + 276);
if ( a3 )
{
result = GJEffectManager::getColorSprite(v4, a2);
*((_DWORD *)this + 274) = result;
}
else
{
result = GJEffectManager::getColorSprite(v4, a2);
*((_DWORD *)this + 275) = result;
}
return result;
}