//
// GameObject::setGlowOpacity from 0x10025bb9c to 0x10025bbfc (96 bytes)
//
// 3 xrefs:
// > PlayLayer::updateVisibility @ 0x10011cb20
// > PlayLayer::updateInvisibleBlock @ 0x10011cfb4
// > GameObject::setOpacity @ 0x10025ba68
//
// 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::setGlowOpacity(GameObject *a1, unsigned __int8 a2)
{
cocos2d::CCSprite *m_glowSprite; // x0
__int64 v4; // x20
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
{
v4 = (unsigned int)(int)(float)(a1->m_opacityMod * (float)a2);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_glowSprite->setOpacity)(m_glowSprite, v4);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_glowSprite->setChildOpacity)(a1->m_glowSprite, v4);
}
}