// // cocos2d::CCParticleFlower::create from 0x180062bd0 to 0x180062c86 (182 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b38ac // // 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 // struct cocos2d::CCParticleFlower *__fastcall cocos2d::CCParticleFlower::create() { cocos2d::CCParticleSystemQuad *v0; // rax cocos2d::CCParticleSystemQuad *v1; // rbx bool (__stdcall *init)(cocos2d::CCParticleSystem *__hidden); // rax char v3; // al cocos2d::CCParticleSystemQuad *(__fastcall *v5)(cocos2d::CCParticleSystemQuad *, char); // r8 v0 = (cocos2d::CCParticleSystemQuad *)operator new(0x348u); v1 = v0; if ( v0 ) { cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v0); v1->cocos2d::CCParticleSystem::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCParticleSystemQuad_vtbl *)&cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCNode'}; v1->cocos2d::CCParticleSystem::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCTextureProtocol'}; } else { v1 = nullptr; } if ( v1 ) { init = v1->init; if ( (char *)init == (char *)cocos2d::CCParticleFlower::init ) v3 = ((__int64 (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v1->cocos2d::CCParticleSystem::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable[1].copyWithZone)( v1, 250); else v3 = ((__int64 (__fastcall *)(cocos2d::CCParticleSystemQuad *))init)(v1); if ( v3 ) { cocos2d::CCObject::autorelease(v1); return (struct cocos2d::CCParticleFlower *)v1; } v5 = (cocos2d::CCParticleSystemQuad *(__fastcall *)(cocos2d::CCParticleSystemQuad *, char))v1->~CCParticleSystemQuad; if ( v5 == sub_180062490 ) { sub_180062490(v1, 1); return nullptr; } v5(v1, 1); return nullptr; } return (struct cocos2d::CCParticleFlower *)v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source