//
// PlayerObject::resetAllParticles from 0x74eb0c to 0x74eb68 (92 bytes)
//
// 3 xrefs:
// > PlayerObject::toggleVisibility @ 0x7544ec
// > MenuGameLayer::resetPlayer @ 0x7da318
// > ??> @ 0xc4468
//
// 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:52:54 +0000
//
__int64 __fastcall PlayerObject::resetAllParticles(cocos2d::CCArray **this)
{
unsigned int v2; // w19
cocos2d::CCParticleSystem *v3; // x21
__int64 result; // x0
bool v5; // cf
unsigned int v6; // w1
v2 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 210));
v5 = v2 >= (unsigned int)result;
v6 = v2++;
if ( v5 )
break;
v3 = (cocos2d::CCParticleSystem *)cocos2d::CCArray::objectAtIndex(*(this + 210), v6);
cocos2d::CCParticleSystem::resetSystem(v3);
cocos2d::CCParticleSystem::stopSystem(v3);
}
return result;
}