//
// GameObject::updateParticleOpacity from 0x35357c to 0x3535c8 (76 bytes)
//
// 0 xrefs:
//
// 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::updateParticleOpacity(GameObject *a1, unsigned __int8 a2)
{
cocos2d::CCParticleSystemQuad *m_particle; // r3
m_particle = a1->m_particle;
if ( m_particle )
{
if ( a2 > 0x32u )
{
if ( ((int (__fastcall *)(GameObject *))a1->isVisible)(a1)
&& !((int (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->isActive)(a1->m_particle) )
{
cocos2d::CCParticleSystem::resumeSystem(a1->m_particle);
}
}
else if ( ((int (__fastcall *)(cocos2d::CCParticleSystemQuad *))m_particle->isActive)(a1->m_particle) )
{
cocos2d::CCParticleSystem::stopSystem(a1->m_particle);
}
}
}