// // cocos2d::CCParticleExplosion::create from 0x180064db0 to 0x180064e66 (182 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bdbdc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:52 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCParticleExplosion *__fastcall cocos2d::CCParticleExplosion::create() { cocos2d::CCParticleSystemQuad *v0; // rax cocos2d::CCObject *v1; // rbx bool (__fastcall *v2)(cocos2d::CCParticleSnow *__hidden); // rax char v3; // al cocos2d::CCParticleSystemQuad *(__fastcall *v5)(cocos2d::CCParticleSystemQuad *, char); // r8 v0 = (cocos2d::CCParticleSystemQuad *)sub_1800E4AC0(0x348u); v1 = v0; if ( v0 ) { cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v0); *(_QWORD *)v1 = &cocos2d::CCParticleExplosion::`vftable'{for `cocos2d::CCNode'}; *((_QWORD *)v1 + 40) = &cocos2d::CCParticleExplosion::`vftable'{for `cocos2d::CCTextureProtocol'}; } else { v1 = nullptr; } if ( v1 ) { v2 = *(bool (__fastcall **)(cocos2d::CCParticleSnow *__hidden))(*(_QWORD *)v1 + 72LL); if ( v2 == cocos2d::CCParticleSnow::init ) v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 1608LL))(v1, 700); else v3 = v2(v1); if ( v3 ) { cocos2d::CCObject::autorelease(v1); return v1; } v5 = *(cocos2d::CCParticleSystemQuad *(__fastcall **)(cocos2d::CCParticleSystemQuad *, char))(*(_QWORD *)v1 + 8LL); if ( v5 == sub_1800646D0 ) { sub_1800646D0(v1, 1); return nullptr; } v5(v1, 1); return nullptr; } return v1; }