//
// ParticleGameObject::updateAnimateOnTrigger from 0x100381f48 to 0x100381fa0 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f9810
//
// 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 ParticleGameObject::updateAnimateOnTrigger(ParticleGameObject *a1, bool a2)
{
cocos2d::CCParticleSystemQuad *m_particle; // x0
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);
}
}
}