//
// GameObject::updateSecondaryColorOnly from 0x1005cae00 to 0x1005cae47 (71 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::updateSecondaryColorOnly(GameObject *a1)
{
int m_activeDetailColorID; // esi
const cocos2d::ccColor3B *v2; // rax
if ( a1->m_colorSprite )
{
m_activeDetailColorID = a1->m_activeDetailColorID;
if ( m_activeDetailColorID || a1->m_groupCount )
{
v2 = GameObject::colorForMode(a1, m_activeDetailColorID, 0);
((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateSecondaryColor)(a1, v2);
}
}
}