//
// cocos2d::CCParticleSystemQuad::initIndices from 0x18006c930 to 0x18006c9dd (173 bytes)
//
// 5 xrefs:
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006cbf3
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ccef
// > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006d041
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be020
//
// This function is hookable on this platform (idp: pc, 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:21:55 +0000
//
void __fastcall cocos2d::CCParticleSystemQuad::initIndices(cocos2d::CCParticleSystemQuad *this)
{
unsigned int i; // ebx
__int64 v2; // r10
__int16 v3; // r11
for ( i = 0; i < *((_DWORD *)this + 167); *(_WORD *)(*((_QWORD *)this + 100) + 2LL * (unsigned int)(v2 + 3)) = v3 + 3 )
{
v2 = 6 * i;
v3 = 4 * i++;
*(_WORD *)(*((_QWORD *)this + 100) + 2 * v2) = v3;
*(_WORD *)(*((_QWORD *)this + 100) + 2LL * (unsigned int)(v2 + 1)) = v3 + 1;
*(_WORD *)(*((_QWORD *)this + 100) + 2LL * (unsigned int)(v2 + 2)) = v3 + 2;
*(_WORD *)(*((_QWORD *)this + 100) + 2LL * (unsigned int)(v2 + 5)) = v3 + 1;
*(_WORD *)(*((_QWORD *)this + 100) + 2LL * (unsigned int)(v2 + 4)) = v3 + 2;
}
}