//
// ParticleGameObject::updateAnimateOnTrigger from 0x100193350 to 0x10019339d (77 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acbe58
//
// This function is hookable on this platform (idp: pc, 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:25:54 +0000
//
__int64 __fastcall ParticleGameObject::updateAnimateOnTrigger(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
if ( *(_BYTE *)(a1 + 1386) == 1 && *(_BYTE *)(a1 + 1417) == 1 )
{
result = EnhancedGameObject::waitForAnimationTrigger(a1);
v3 = *(_QWORD *)(a1 + 776);
if ( v3 )
{
cocos2d::CCParticleSystem::resetSystem(v3);
return cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 776));
}
}
return result;
}