//
// GameObject::setSecondaryColorMode from 0x64a044 to 0x64a080 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x92c28
//
// 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 GameObject::setSecondaryColorMode(GameObject *a1, int a2)
{
GJSpriteColor *SecondaryColor; // x0
int v3; // w2
SecondaryColor = GameObject::getSecondaryColor(a1);
if ( SecondaryColor )
{
v3 = 1101;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
v3 = 0;
else
v3 = a2;
}
SecondaryColor->m_colorID = v3;
}
}