//
// GameObject::updateMainColor from 0x64a918 to 0x64a958 (64 bytes)
//
// 2 xrefs:
// > PlayLayer::updateVisibility @ 0x5ceb8c
// > ??> @ 0x9fed0
//
// 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::updateMainColor(GameObject *a1, const cocos2d::ccColor3B *a2)
{
void (__fastcall *updateMainColor)(GameObject *__hidden, const cocos2d::ccColor3B *); // x20
const cocos2d::ccColor3B *v4; // x0
updateMainColor = a1->updateMainColor;
v4 = GameObject::colorForMode(a1, a1->m_activeMainColorID, 1);
updateMainColor(a1, v4);
GameObject::updateMainOpacity(a1);
}