// // cocos2d::CCParticleSystem::createWithTotalParticles from 0x5dafcc to 0x5db006 (58 bytes) // // 0 xrefs: // // 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::CCParticleSystem *cocos2d::CCParticleSystem::createWithTotalParticles(unsigned int a1) { cocos2d::CCParticleSystem *v2; // r4 cocos2d::CCParticleSystem_vtbl *v3; // r3 cocos2d::CCParticleSystem *v4; // r0 v2 = (cocos2d::CCParticleSystem *)operator new(0x2B0u); cocos2d::CCParticleSystem::CCParticleSystem(v2); if ( ((int (__fastcall *)(cocos2d::CCParticleSystem *, unsigned int, _DWORD))v2->initWithTotalParticles)(v2, a1, 0) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = v2; v2 = nullptr; v3->~CCParticleSystem_0(v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source