// // cocos2d::CCParticleSystemQuad::initIndices from 0x1002f0584 to 0x1002f05f4 (112 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x1002f0464 // > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x1002f1164 // > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x1002f126c // // This function is hookable on this platform (idp: arm, 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:02:55 +0000 // __int64 __fastcall cocos2d::CCParticleSystemQuad::initIndices(__int64 result) { __int64 v1; // x8 unsigned int v2; // w9 __int64 v3; // x10 __int64 v4; // x11 __int16 v5; // w12 __int16 v6; // w13 __int16 v7; // w12 v1 = *(unsigned int *)(result + 660); if ( (_DWORD)v1 ) { v2 = 0; v3 = 0; v4 = *(_QWORD *)(result + 792); do { *(_WORD *)(v4 + 2LL * v2) = 4 * v3; v5 = (4 * v3) | 1; *(_WORD *)(v4 + 2LL * (v2 + 1)) = v5; v6 = (4 * v3) | 2; *(_WORD *)(v4 + 2LL * (v2 + 5)) = v5; *(_WORD *)(v4 + 2LL * (v2 + 2)) = v6; *(_WORD *)(v4 + 2LL * (v2 + 4)) = v6; v7 = (4 * v3++) | 3; *(_WORD *)(v4 + 2LL * (v2 + 3)) = v7; v2 += 6; } while ( v1 != v3 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source