//
// ParticleGameObject::updateAnimateOnTrigger from 0x870218 to 0x870264 (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x9b170
// > ??> @ 0x1447b70
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:55:45 +0000
//
_BYTE *__fastcall ParticleGameObject::updateAnimateOnTrigger(_BYTE *this)
{
_BYTE *v1; // x19
if ( *(this + 1386) && *(this + 1417) )
{
v1 = this;
EnhancedGameObject::waitForAnimationTrigger((EnhancedGameObject *)this);
this = *((_BYTE **)v1 + 97);
if ( this )
{
cocos2d::CCParticleSystem::resetSystem((cocos2d::CCParticleSystem *)this);
return (_BYTE *)cocos2d::CCParticleSystem::stopSystem(*((cocos2d::CCParticleSystem **)v1 + 97));
}
}
return this;
}