//
// cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0x1800a64c0 to 0x1800a650d (77 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0x18006188b
// > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a62
// > ??> @ 0x1801438a8
//
// 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::CCTextureAtlas::fillWithEmptyQuadsFromIndex(
cocos2d::CCTextureAtlas *this,
unsigned int a2,
unsigned int a3)
{
__int64 v4; // rax
__int64 v5; // rdx
__int64 v6; // rcx
cocos2d::ccV3F_C4B_T2F_Quad *m_pQuads; // rax
if ( a2 < a2 + a3 )
{
v4 = a2;
v5 = a3;
v6 = v4;
do
{
m_pQuads = this->m_pQuads;
*(_OWORD *)&m_pQuads[v6++].tl.vertices.x = 0;
*(_OWORD *)&m_pQuads[v6 - 1].tl.texCoords.u = 0;
*(_OWORD *)&m_pQuads[v6 - 1].bl.vertices.z = 0;
*(_OWORD *)&m_pQuads[v6 - 1].tr.vertices.x = 0;
*(_OWORD *)&m_pQuads[v6 - 1].tr.texCoords.u = 0;
*(_OWORD *)&m_pQuads[v6 - 1].br.vertices.z = 0;
--v5;
}
while ( v5 );
}
}