//
// cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0x800574 to 0x8005c8 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0x7e5daa
// > cocos2d::CCParticleBatchNode::removeChild @ 0x7e5f44
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:19 +0000
//
void *__fastcall cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(
cocos2d::CCTextureAtlas *this,
unsigned int a2,
unsigned int a3)
{
unsigned int v3; // r6
unsigned int v5; // r7
unsigned int v6; // r5
void *result; // r0
void *v8; // r0
_BYTE v9[96]; // [sp+4h] [bp-68h] BYREF
v3 = a2;
v5 = a3 + a2;
v6 = 96 * a2;
result = memset(v9, 0, sizeof(v9));
while ( v3 < v5 )
{
++v3;
v8 = (void *)(*((_DWORD *)this + 20) + v6);
v6 += 96;
result = memcpy(v8, v9, 0x60u);
}
return result;
}