//
// GameObject::setSecondaryColorMode from 0x771428 to 0x771464 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0xc1ff0
//
// 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
//
int *__fastcall GameObject::setSecondaryColorMode(GameObject *this, int a2)
{
int *result; // x0
int v3; // w2
result = (int *)GameObject::getSecondaryColor(this);
if ( result )
{
v3 = 1101;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
v3 = 0;
else
v3 = a2;
}
*result = v3;
}
return result;
}