// // cocos2d::CCParticleSystemQuad::initIndices from 0xb034f0 to 0xb03560 (112 bytes) // // 4 xrefs: // > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0xb03720 // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0xb0393c // > cocos2d::CCParticleSystemQuad::setBatchNode @ 0xb03be0 // > @ 0x4d430 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCParticleSystemQuad::initIndices(cocos2d::CCParticleSystemQuad *a1) { unsigned int m_uTotalParticles; // w9 GLushort *m_pIndices; // x2 __int16 v3; // w1 int v4; // w0 int v5; // w4 m_uTotalParticles = a1->m_uTotalParticles; if ( m_uTotalParticles ) { m_pIndices = a1->m_pIndices; v3 = 2; v4 = 0; v5 = 0; do { m_pIndices[v4] = 4 * v5; m_pIndices[v4 + 1] = v3 - 1; m_pIndices[v4 + 2] = v3; ++v5; m_pIndices[v4 + 5] = v3 - 1; m_pIndices[v4 + 4] = v3; m_pIndices[v4 + 3] = v3 + 1; v4 += 6; v3 += 4; } while ( v5 != m_uTotalParticles ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source