//
// GameObject::setupColorSprite from 0x771e64 to 0x771ea8 (68 bytes)
//
// 3 xrefs:
// > GameObject::saveActiveColors @ 0x771fac
// > GameObject::saveActiveColors @ 0x771fbc
// > ??> @ 0x4c318
//
// 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 GameObject::setupColorSprite(GameObject *this, int a2, char a3)
{
GJEffectManager *v4; // x0
__int64 result; // x0
v4 = *((GJEffectManager **)this + 160);
if ( a3 )
{
result = GJEffectManager::getColorSprite(v4, a2);
*((_QWORD *)this + 158) = result;
}
else
{
result = GJEffectManager::getColorSprite(v4, a2);
*((_QWORD *)this + 159) = result;
}
return result;
}