//
// GameObject::updateMainColorOnly from 0x64a958 to 0x64a9b4 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x8ee78
//
// 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::updateMainColorOnly(GameObject *a1)
{
int m_activeMainColorID; // w1
void (__fastcall *updateMainColor)(GameObject *__hidden, const cocos2d::ccColor3B *); // x20
const cocos2d::ccColor3B *v4; // x0
m_activeMainColorID = a1->m_activeMainColorID;
if ( m_activeMainColorID || a1->m_colorGroupCount || a1->m_opacityGroupCount )
{
updateMainColor = a1->updateMainColor;
v4 = GameObject::colorForMode(a1, m_activeMainColorID, 1);
updateMainColor(a1, v4);
}
}