//
// cocos2d::CCTextureAtlas::removeQuadAtIndex from 0x1800aa740 to 0x1800aa78b (75 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0x1800920dc
// > cocos2d::CCTMXLayer::removeTileAt @ 0x1800b04c2
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2040
//
// 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::removeQuadAtIndex(cocos2d::CCTextureAtlas *this, unsigned int a2)
{
__int64 v3; // rcx
v3 = *((_DWORD *)this + 19) + ~a2;
if ( *((_DWORD *)this + 19) + ~a2 )
memmove(
(void *)(*((_QWORD *)this + 12) + 96LL * a2),
(const void *)(*((_QWORD *)this + 12) + 96LL * (a2 + 1)),
96 * v3);
--*((_DWORD *)this + 19);
*((_BYTE *)this + 72) = 1;
}