//
// cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0xda4f50 to 0xda5014 (196 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0xd72e40
// > cocos2d::CCParticleBatchNode::removeChild @ 0xd73090
// > ??> @ 0x6a360
//
// This function is hookable on this platform (idp: arm, 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 13:08:31 +0000
//
__int64 __fastcall cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(
cocos2d::CCTextureAtlas *this,
unsigned int a2,
int a3)
{
__int64 v3; // x14
__int64 v4; // x1
__int64 v5; // x16
_QWORD *v6; // x14
if ( a2 < a2 + a3 )
{
v3 = a2 + 1LL + (unsigned int)(a3 - 1);
v4 = 96LL * a2;
v5 = 96 * v3;
do
{
v6 = (_QWORD *)(*((_QWORD *)this + 12) + v4);
v4 += 96;
*v6 = 0;
v6[1] = 0;
v6[2] = 0;
v6[3] = 0;
v6[4] = 0;
v6[5] = 0;
v6[6] = 0;
v6[7] = 0;
v6[8] = 0;
v6[9] = 0;
v6[10] = 0;
v6[11] = 0;
}
while ( v4 != v5 );
}
return _stack_chk_guard;
}