// // cocos2d::CCParticleFlower::initWithTotalParticles from 0x7e17bc to 0x7e194c (400 bytes) // // 1 xrefs: // > cocos2d::CCParticleFlower::createWithTotalParticles @ 0x7e291a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:49 +0000 // int __fastcall cocos2d::CCParticleFlower::initWithTotalParticles(cocos2d::CCParticleFlower *this, unsigned int a2) { int v3; // r8 int v4; // r3 void (__fastcall *v5)(cocos2d::CCParticleFlower *, float *); // r10 cocos2d::CCDirector *v6; // r0 int v7; // r0 void (__fastcall *v8)(cocos2d::CCParticleFlower *, float *); // r10 cocos2d::CCTextureCache *v9; // r0 unsigned int v10; // s15 int v11; // r1 float v13[2]; // [sp+4h] [bp-14h] BYREF float v14[2]; // [sp+Ch] [bp-Ch] BYREF v3 = cocos2d::CCParticleSystemQuad::initWithTotalParticles(this, a2, 0); if ( v3 ) { v4 = *(_DWORD *)this; *((_DWORD *)this + 95) = -1082130432; (*(void (__fastcall **)(cocos2d::CCParticleFlower *, _DWORD))(v4 + 800))(this, 0); v5 = *(void (__fastcall **)(cocos2d::CCParticleFlower *, float *))(*(_DWORD *)this + 524); cocos2d::CCPoint::CCPoint(v14, 0.0, 0.0); v5(this, v14); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 532))(this, 1117782016); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 540))(this, 1092616192); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 564))(this, -1032847360); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, _DWORD))(*(_DWORD *)this + 572))(this, 0); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 548))(this, 1097859072); v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(cocos2d::CCParticleFlower *, _DWORD))(*(_DWORD *)this + 556))( this, 0); *((_DWORD *)this + 102) = 1119092736; *((_DWORD *)this + 103) = 1135869952; v7 = cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v13, v7); v8 = *(void (__fastcall **)(cocos2d::CCParticleFlower *, float *))(*(_DWORD *)this + 92); cocos2d::CCPoint::CCPoint(v14, v13[0] * 0.5, v13[1] * 0.5); v8(this, v14); v9 = (cocos2d::CCTextureCache *)(*(int (__fastcall **)(cocos2d::CCParticleFlower *, void *))(*(_DWORD *)this + 480))( this, &unk_D2F53C); v10 = *((_DWORD *)this + 145); *((_DWORD *)this + 122) = -1082130432; *((_DWORD *)this + 100) = 1082130432; *((_DWORD *)this + 120) = 1106247680; *((_DWORD *)this + 101) = 1065353216; *((float *)this + 124) = 0.5; *((_DWORD *)this + 121) = 1092616192; *((_DWORD *)this + 127) = 1065353216; *((float *)this + 125) = 0.5; *((_DWORD *)this + 132) = 0; *((_DWORD *)this + 133) = 0; *((float *)this + 144) = vcvts_n_f32_u32(v10, 2u); *((_DWORD *)this + 134) = 0; *((_DWORD *)this + 135) = 1065353216; *((float *)this + 126) = 0.5; *((_DWORD *)this + 136) = 0; *((_DWORD *)this + 137) = 0; *((float *)this + 128) = 0.5; *((_DWORD *)this + 138) = 0; *((_DWORD *)this + 139) = 0; *((float *)this + 129) = 0.5; *((float *)this + 130) = 0.5; *((float *)this + 131) = 0.5; v11 = sub_7E10F8(v9); if ( v11 ) (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 760))(this, v11); (*(void (__fastcall **)(cocos2d::CCParticleFlower *, int))(*(_DWORD *)this + 640))(this, 1); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source