//
// cocos2d::CCTextureAtlas::removeQuadsAtIndex from 0x1004a6f30 to 0x1004a6f7f (79 bytes)
//
// 1 xrefs:
// > cocos2d::CCParticleBatchNode::removeChild @ 0x1003b29bd
//
// 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 12:30:55 +0000
//
unsigned __int64 __fastcall cocos2d::CCTextureAtlas::removeQuadsAtIndex(__int64 a1, unsigned int a2, int a3)
{
int v3; // eax
int v4; // ecx
unsigned int v5; // edx
unsigned __int64 result; // rax
v3 = *(_DWORD *)(a1 + 80);
v4 = v3 - a3;
v5 = a2 + a3;
*(_DWORD *)(a1 + 80) = v4;
result = v3 - v5;
if ( (_DWORD)result )
result = (unsigned __int64)memmove(
(void *)(*(_QWORD *)(a1 + 96) + 96LL * a2),
(const void *)(*(_QWORD *)(a1 + 96) + 96LL * v5),
96LL * (unsigned int)result);
*(_BYTE *)(a1 + 76) = 1;
return result;
}