//
// cocos2d::CCTextureAtlas::removeQuadAtIndex from 0x1004adcf0 to 0x1004add44 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0x100176d9b
// > cocos2d::CCTMXLayer::removeTileAt @ 0x10025b6b3
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCTextureAtlas::removeQuadAtIndex(cocos2d::CCTextureAtlas *a1, unsigned int a2)
{
unsigned int m_uCapacity; // ecx
m_uCapacity = a1->m_uCapacity;
if ( m_uCapacity + ~a2 )
{
memmove(&a1->m_pQuads[a2], &a1->m_pQuads[a2 + 1], 96LL * (m_uCapacity + ~a2));
m_uCapacity = a1->m_uCapacity;
}
a1->m_uCapacity = m_uCapacity - 1;
LOBYTE(a1->m_uTotalQuads) = 1;
}