//
// PlayerObject::resetAllParticles from 0x1003f0360 to 0x1003f03c1 (97 bytes)
//
// 1 xrefs:
// > MenuGameLayer::resetPlayer @ 0x1004f92ae
//
// 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:29:53 +0000
//
__int64 __fastcall PlayerObject::resetAllParticles(__int64 a1)
{
__int64 result; // rax
unsigned int v2; // r14d
__int64 v3; // r15
result = sub_1007FEF90(*(_QWORD *)(a1 + 1680));
if ( (_DWORD)result )
{
v2 = 0;
do
{
v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 1680), v2);
cocos2d::CCParticleSystem::resetSystem(v3);
cocos2d::CCParticleSystem::stopSystem(v3);
++v2;
result = sub_1007FEF90(*(_QWORD *)(a1 + 1680));
}
while ( v2 < (unsigned int)result );
}
return result;
}