// // cocos2d::CCParticleFireworks::initWithTotalParticles from 0x7e12dc to 0x7e142c (336 bytes) // // 1 xrefs: // > cocos2d::CCParticleFireworks::createWithTotalParticles @ 0x7e275e // // 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::CCParticleFireworks::initWithTotalParticles( cocos2d::CCParticleFireworks *this, unsigned int a2) { int v3; // r8 float *v4; // r0 int v5; // r0 int (__fastcall *v6)(cocos2d::CCParticleFireworks *, float *); // r7 cocos2d::CCTextureCache *v7; // r0 unsigned int v8; // s15 int v9; // r1 float v11[2]; // [sp+4h] [bp-18h] BYREF float v12[2]; // [sp+Ch] [bp-10h] BYREF v3 = cocos2d::CCParticleSystemQuad::initWithTotalParticles(this, a2, 0); if ( v3 ) { *((_DWORD *)this + 152) = 0; *((_DWORD *)this + 95) = -1082130432; cocos2d::CCPoint::CCPoint(v12, 0.0, -90.0); v4 = cocos2d::CCPoint::operator=((float *)this + 71, v12); *((_DWORD *)this + 77) = 0; *((_DWORD *)this + 78) = 0; *((_DWORD *)this + 73) = 1127481344; *((_DWORD *)this + 74) = 1112014848; v5 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v4); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v11, v5); v6 = *(int (__fastcall **)(cocos2d::CCParticleFireworks *, float *))(*(_DWORD *)this + 92); cocos2d::CCPoint::CCPoint(v12, v11[0] * 0.5, v11[1] * 0.5); v7 = (cocos2d::CCTextureCache *)v6(this, v12); v8 = *((_DWORD *)this + 145); *((_DWORD *)this + 122) = -1082130432; *((_DWORD *)this + 102) = 1119092736; *((float *)this + 124) = 0.5; *((_DWORD *)this + 135) = 1045220557; *((_DWORD *)this + 103) = 1101004800; *((_DWORD *)this + 101) = 1065353216; *((_DWORD *)this + 127) = 1065353216; *((float *)this + 125) = 0.5; *((_DWORD *)this + 139) = 1045220557; *((_DWORD *)this + 131) = 1036831949; *((_DWORD *)this + 132) = 1036831949; *((_DWORD *)this + 133) = 1036831949; *((_DWORD *)this + 134) = 1036831949; *((_DWORD *)this + 136) = 1036831949; *((_DWORD *)this + 137) = 1036831949; *((_DWORD *)this + 138) = 1036831949; *((float *)this + 100) = 3.5; *((_DWORD *)this + 120) = 1090519040; *((_DWORD *)this + 121) = 0x40000000; *((float *)this + 126) = 0.5; *((float *)this + 128) = 0.5; *((float *)this + 129) = 0.5; *((float *)this + 130) = 0.5; *((float *)this + 144) = (float)v8 / 3.5; v9 = sub_7E10F8(v7); if ( v9 ) (*(void (__fastcall **)(cocos2d::CCParticleFireworks *, int))(*(_DWORD *)this + 760))(this, v9); (*(void (__fastcall **)(cocos2d::CCParticleFireworks *, _DWORD))(*(_DWORD *)this + 640))(this, 0); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source