//
// GameObject::setGlowOpacity from 0x354ea4 to 0x354eec (72 bytes)
//
// 3 xrefs:
// > PlayLayer::updateInvisibleBlock @ 0x312598
// > PlayLayer::updateVisibility @ 0x315cb6
// > GameObject::setOpacity @ 0x354fba
//
// 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::setGlowOpacity(GameObject *a1, unsigned __int8 a2)
{
cocos2d::CCSprite *m_glowSprite; // r0
unsigned int v4; // [sp+4h] [bp-8h]
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
{
v4 = (unsigned int)(float)((float)a2 * a1->m_opacityMod);
m_glowSprite->setOpacity(m_glowSprite, v4);
a1->m_glowSprite->setChildOpacity(a1->m_glowSprite, v4);
}
}