//
// cocos2d::CCParticleSystemQuad::initIndices from 0x18006a780 to 0x18006a82d (173 bytes)
//
// 5 xrefs:
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa43
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab2f
// > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006ae71
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3cd8
//
// 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 __fastcall cocos2d::CCParticleSystemQuad::initIndices(cocos2d::CCParticleSystemQuad *this)
{
unsigned int i; // ebx
__int64 v2; // r10
GLushort v3; // r11
for ( i = 0; i < this->m_uTotalParticles; this->m_pIndices[(unsigned int)(v2 + 3)] = v3 + 3 )
{
v2 = 6 * i;
v3 = 4 * i++;
this->m_pIndices[v2] = v3;
this->m_pIndices[(unsigned int)(v2 + 1)] = v3 + 1;
this->m_pIndices[(unsigned int)(v2 + 2)] = v3 + 2;
this->m_pIndices[(unsigned int)(v2 + 5)] = v3 + 1;
this->m_pIndices[(unsigned int)(v2 + 4)] = v3 + 2;
}
}