//
// GameObject::updateMainColorOnly from 0x1005caaf0 to 0x1005cab3a (74 bytes)
//
// 0 xrefs:
//
// 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 __fastcall GameObject::updateMainColorOnly(GameObject *a1)
{
int m_activeMainColorID; // esi
const cocos2d::ccColor3B *v2; // rax
m_activeMainColorID = a1->m_activeMainColorID;
if ( m_activeMainColorID || a1->m_colorGroupCount || a1->m_opacityGroupCount )
{
v2 = GameObject::colorForMode(a1, m_activeMainColorID, 1);
((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateMainColor)(a1, v2);
}
}