//
// PlayerObject::removeAllParticles from 0x33d01e to 0x33d058 (58 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::removePlayer2 @ 0x46f5e6
//
// 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::removeAllParticles(PlayerObject *a1)
{
unsigned int v2; // r4
cocos2d::CCParticleSystem *v3; // r0
cocos2d::CCParticleSystem *v4; // r5
v2 = 0;
while ( v2 < cocos2d::CCArray::count(a1->m_particleSystems) )
{
v3 = (cocos2d::CCParticleSystem *)cocos2d::CCArray::objectAtIndex(a1->m_particleSystems, v2++);
v4 = v3;
cocos2d::CCParticleSystem::resetSystem(v3);
cocos2d::CCParticleSystem::stopSystem(v4);
v4->removeFromParentAndCleanup(v4, 0);
}
}