//
// GameObject::setGlowOpacity from 0x1005bc8f0 to 0x1005bc945 (85 bytes)
//
// 2 xrefs:
// > PlayLayer::updateVisibility @ 0x1000b7b10
// > PlayLayer::updateInvisibleBlock @ 0x1000b8023
//
// 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; // rax
__int64 v3; // rbx
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
{
v3 = (unsigned __int8)(int)(float)((float)a2 * a1->m_opacityMod);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_glowSprite->setOpacity)(m_glowSprite, v3);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_glowSprite->setChildOpacity)(
a1->m_glowSprite,
(unsigned int)v3);
}
}