// // PlayerObject::removeAllParticles from 0x622994 to 0x622a04 (112 bytes) // // 2 xrefs: // > GJBaseGameLayer::removePlayer2 @ 0x85a8a8 // > @ 0x70cb0 // // 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 v1; // w19 cocos2d::CCParticleSystem *v3; // x20 bool v4; // cf unsigned int v5; // w1 v1 = 0; while ( 1 ) { v4 = v1 >= (unsigned int)cocos2d::CCArray::count(a1->m_particleSystems); v5 = v1++; if ( v4 ) break; v3 = (cocos2d::CCParticleSystem *)cocos2d::CCArray::objectAtIndex(a1->m_particleSystems, v5); cocos2d::CCParticleSystem::resetSystem(v3); cocos2d::CCParticleSystem::stopSystem(v3); v3->removeFromParentAndCleanup(v3, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source