//
// ParticleGameObject::updateAnimateOnTrigger from 0x140643400 to 0x140643473 (115 bytes)
//
// 2 xrefs:
// > ??> @ 0x14081f368
// > ??> @ 0x14093125c
//
// 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 11:35:35 +0000
//
void __fastcall ParticleGameObject::updateAnimateOnTrigger(__int64 a1)
{
cocos2d::CCParticleSystem *v2; // rcx
if ( *(_BYTE *)(a1 + 1402) && *(_BYTE *)(a1 + 1433) )
{
*(_BYTE *)(a1 + 1441) = 0;
*(_QWORD *)(a1 + 1376) = 0;
*(_QWORD *)(a1 + 1368) = 0;
*(_BYTE *)(a1 + 774) = 1;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 320) + 40LL))(a1 + 320, 0);
v2 = *(cocos2d::CCParticleSystem **)(a1 + 776);
if ( v2 )
{
cocos2d::CCParticleSystem::resetSystem(v2);
cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(a1 + 776));
}
}
}