//
// ParticleGameObject::updateAnimateOnTrigger from 0x3e5320 to 0x3e534c (44 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 ParticleGameObject::updateAnimateOnTrigger(ParticleGameObject *a1, bool a2)
{
cocos2d::CCParticleSystemQuad *m_particle; // r0
if ( a1->m_hasCustomAnimation && a1->m_animateOnTrigger )
{
EnhancedGameObject::waitForAnimationTrigger(a1);
m_particle = a1->m_particle;
if ( m_particle )
{
cocos2d::CCParticleSystem::resetSystem(m_particle);
cocos2d::CCParticleSystem::stopSystem(a1->m_particle);
}
}
}