// // GJBaseGameLayer::spawnParticle from 0x10015cbe0 to 0x10015cc81 (161 bytes) // // 3 xrefs: // > GameObject::spawnDefaultPickupParticle @ 0x10025e3d1 // > GameObject::playDestroyObjectAnim @ 0x10025e5df // > GameObject::playDestroyObjectAnim @ 0x10025e64f // // 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 *__fastcall GJBaseGameLayer::spawnParticle( GJBaseGameLayer *a1, const char *a2, int a3, cocos2d::tCCPositionType a4, cocos2d::CCPoint a5) { __int64 v5; // r8 __int64 v6; // rbx cocos2d::CCParticleSystemQuad *v9; // r14 v6 = v5; if ( GameManager::sharedState()->m_performanceMode ) return nullptr; v9 = cocos2d::CCParticleSystemQuad::create(a2, 0); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _QWORD, double))v9->setTag)( v9, (unsigned int)a3, *(double *)&a5); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _QWORD))v9->setPositionType)(v9, a4); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v9->setAutoRemoveOnFinish)(v9, 1); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCParticleSystemQuad *, _QWORD))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v9, (unsigned int)a3); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v9->setPosition)(v9, v6); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source