//
// cocos2d::CCTextureAtlas::removeQuadAtIndex from 0xb335f0 to 0xb33664 (116 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0xb18054
// > cocos2d::CCTMXLayer::removeTileAt @ 0xb39d78
// > ??> @ 0x529e0
//
// 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 cocos2d::CCTextureAtlas::removeQuadAtIndex(cocos2d::CCTextureAtlas *a1, unsigned int a2)
{
unsigned int v3; // w0
v3 = a1->m_uTotalQuads - 1;
if ( v3 != a2 )
{
memmove(&a1->m_pQuads[a2], &a1->m_pQuads[a2 + 1], 96LL * (v3 - a2));
v3 = a1->m_uTotalQuads - 1;
}
a1->m_uTotalQuads = v3;
a1->m_bDirty = 1;
}