//
// GameObject::updateParticleOpacity from 0x641b10 to 0x641ba8 (152 bytes)
//
// 47 xrefs:
// > ??> @ 0x632d0
// > ??> @ 0x1152d48
// > ??> @ 0x1153b18
// > ??> @ 0x11542e8
// > ??> @ 0x1154ae8
// > ??> @ 0x1162498
// > ??> @ 0x1162c98
// > ??> @ 0x1163498
// > ??> @ 0x1163c98
// > ??> @ 0x1164498
// > ??> @ 0x1164c98
// > ??> @ 0x1165498
// > ??> @ 0x1165c98
// > ??> @ 0x1166c68
// > ??> @ 0x1167468
// > ??> @ 0x1167c68
// > ??> @ 0x1168468
// > ??> @ 0x1168ca8
// > ??> @ 0x11694a8
// > ??> @ 0x1169ca8
// > ??> @ 0x116a4a8
// > ??> @ 0x116aca8
// > ??> @ 0x116b4b8
// > ??> @ 0x116bcb8
// > ??> @ 0x116c4b8
// > ??> @ 0x116ccb8
// > ??> @ 0x116d4b8
// > ??> @ 0x116dcb8
// > ??> @ 0x116e4b8
// > ??> @ 0x116ecb8
// > ??> @ 0x116f4b8
// > ??> @ 0x116fcb8
// > ??> @ 0x11704b8
// > ??> @ 0x1170cb8
// > ??> @ 0x11714b8
// > ??> @ 0x1171cb8
// > ??> @ 0x11724b8
// > ??> @ 0x1172cb8
// > ??> @ 0x11734b8
// > ??> @ 0x1173cb8
// > ??> @ 0x11744b8
// > ??> @ 0x1174cb8
// > ??> @ 0x11754b8
// > ??> @ 0x1175cb8
// > ??> @ 0x11764b8
// > ??> @ 0x1176cb8
// > ??> @ 0x11774d8
//
// 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; // x3
m_particle = a1->m_particle;
if ( m_particle )
{
if ( a2 <= 0x32u )
{
if ( m_particle->isActive(a1->m_particle) )
cocos2d::CCParticleSystem::stopSystem(a1->m_particle);
}
else if ( a1->isVisible(a1) && !a1->m_particle->isActive(a1->m_particle) )
{
cocos2d::CCParticleSystem::resumeSystem(a1->m_particle);
}
}
}