//
// PlayerObject::resetAllParticles from 0x622c44 to 0x622ca0 (92 bytes)
//
// 3 xrefs:
// > PlayerObject::toggleVisibility @ 0x62a1c0
// > MenuGameLayer::resetPlayer @ 0x6c92e8
// > ??> @ 0x94920
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void PlayerObject::resetAllParticles(PlayerObject *a1)
{
unsigned int v2; // w19
cocos2d::CCParticleSystem *v3; // x21
bool v4; // cf
unsigned int v5; // w1
v2 = 0;
while ( 1 )
{
v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_particleSystems);
v5 = v2++;
if ( v4 )
break;
v3 = (cocos2d::CCParticleSystem *)cocos2d::CCArray::objectAtIndex(a1->m_particleSystems, v5);
cocos2d::CCParticleSystem::resetSystem(v3);
cocos2d::CCParticleSystem::stopSystem(v3);
}
}