// // cocos2d::CCParticleSystemQuad::initIndices from 0x7e6698 to 0x7e66ee (86 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x7e67f6 // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x7e691e // > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x7e6a58 // // 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:54 +0000 // int __fastcall cocos2d::CCParticleSystemQuad::initIndices(int this) { __int16 v1; // r3 int v2; // r2 unsigned int v3; // r1 int v4; // r4 __int16 v5; // r7 __int16 v6; // r5 int v7; // r4 v1 = 1; v2 = 2; v3 = 0; while ( v3 < *(_DWORD *)(this + 580) ) { v4 = 12 * v3; v5 = 4 * v3++; *(_WORD *)(*(_DWORD *)(this + 704) + v4) = v5; *(_WORD *)(*(_DWORD *)(this + 704) + v2) = v1; *(_WORD *)(*(_DWORD *)(this + 704) + v2 + 2) = v1 + 1; *(_WORD *)(*(_DWORD *)(this + 704) + v2 + 8) = v1; *(_WORD *)(*(_DWORD *)(this + 704) + v2 + 6) = v1 + 1; v6 = v1 + 2; v7 = *(_DWORD *)(this + 704) + v2; v1 += 4; v2 += 12; *(_WORD *)(v7 + 4) = v6; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source