// // GJBaseGameLayer::spawnParticle from 0x477cac to 0x477d0a (94 bytes) // // 3 xrefs: // > GameObject::spawnDefaultPickupParticle @ 0x52a812 // > GameObject::playDestroyObjectAnim @ 0x52a9b0 // > GameObject::playDestroyObjectAnim @ 0x52ad6c // // 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 // cocos2d::CCParticleSystemQuad *GJBaseGameLayer::spawnParticle( GJBaseGameLayer *a1, const char *a2, int a3, cocos2d::tCCPositionType a4, cocos2d::CCPoint a5) { GameManager *v9; // r0 bool v10; // r2 cocos2d::CCParticleSystemQuad *v11; // r4 v9 = GameManager::sharedState(); if ( v9->m_performanceMode ) return nullptr; v11 = (cocos2d::CCParticleSystemQuad *)cocos2d::CCParticleSystemQuad::create( (cocos2d::CCParticleSystemQuad *)a2, (const char *)v9->m_performanceMode, v10); v11->setTag(v11, a3); v11->setPositionType(v11, a4); v11->setAutoRemoveOnFinish(v11, 1); a1->m_objectLayer->addChild_0(a1->m_objectLayer, v11, a3); v11->setPosition(v11, (const cocos2d::CCPoint *)LODWORD(a5.x)); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source