//
// GameObject::updateSecondaryColor from 0x100262388 to 0x1002623f4 (108 bytes)
//
// 1 xrefs:
// > PlayLayer::updateVisibility @ 0x10011c880
//
// 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::updateSecondaryColor(GameObject *a1)
{
int m_activeDetailColorID; // w1
const cocos2d::ccColor3B *v3; // x0
if ( a1->m_colorSprite )
{
m_activeDetailColorID = a1->m_activeDetailColorID;
if ( m_activeDetailColorID || a1->m_groupCount )
{
v3 = GameObject::colorForMode(a1, m_activeDetailColorID, 0);
((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateSecondaryColor)(a1, v3);
a1->m_detailColor->m_opacity = GameObject::opacityModForMode(a1, a1->m_activeDetailColorID, 0);
}
}
}