//
// GameObject::updateMainColor from 0x1002621a8 to 0x1002621fc (84 bytes)
//
// 1 xrefs:
// > PlayLayer::updateVisibility @ 0x10011c878
//
// 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::updateMainColor(GameObject *a1)
{
const cocos2d::ccColor3B *v2; // x0
v2 = GameObject::colorForMode(a1, a1->m_activeMainColorID, 1);
((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateMainColor)(a1, v2);
a1->m_baseColor->m_opacity = GameObject::opacityModForMode(a1, a1->m_activeMainColorID, 1);
}