//
// GameObject::setGlowOpacity from 0x6444d4 to 0x64453c (104 bytes)
//
// 5 xrefs:
// > PlayLayer::updateVisibility @ 0x5ce4fc
// > PlayLayer::updateVisibility @ 0x5ce858
// > GameObject::setOpacity @ 0x64467c
// > GameObject::setOpacity @ 0x644768
// > ??> @ 0x32388
//
// 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)
{
int v2; // w19
cocos2d::CCSprite *m_glowSprite; // x1
float v5; // s0
int v6; // w19
v2 = a2;
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
{
v5 = (float)v2 * a1->m_opacityMod;
v6 = (unsigned __int8)(unsigned int)v5;
m_glowSprite->setOpacity(a1->m_glowSprite, (unsigned int)v5);
a1->m_glowSprite->setChildOpacity(a1->m_glowSprite, v6);
}
}