//
// cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0x1800aa010 to 0x1800aa05d (77 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0x180063c9c
// > cocos2d::CCParticleBatchNode::removeChild @ 0x180063e88
// > ??> @ 0x18014cf68
//
// 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:22:17 +0000
//
void __fastcall cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(
cocos2d::CCTextureAtlas *this,
unsigned int a2,
unsigned int a3)
{
__int64 v4; // rax
__int64 v5; // rdx
__int64 v6; // rcx
__int64 v7; // rax
if ( a2 < a2 + a3 )
{
v4 = a2;
v5 = a3;
v6 = 96 * v4;
do
{
v7 = *((_QWORD *)this + 12);
v6 += 96;
*(_OWORD *)(v6 + v7 - 96) = 0;
*(_OWORD *)(v6 + v7 - 80) = 0;
*(_OWORD *)(v6 + v7 - 64) = 0;
*(_OWORD *)(v6 + v7 - 48) = 0;
*(_OWORD *)(v6 + v7 - 32) = 0;
*(_OWORD *)(v6 + v7 - 16) = 0;
--v5;
}
while ( v5 );
}
}