//
// cocos2d::CCTextureAtlas::removeQuadAtIndex from 0x1800a6ba0 to 0x1800a6bf9 (89 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0x18008eeac
// > cocos2d::CCTMXLayer::removeTileAt @ 0x1800acc7f
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7d88
//
// 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 *this, int a2)
{
if ( this->m_uTotalQuads - a2 == 1 )
{
--this->m_uTotalQuads;
this->m_bDirty = 1;
}
else
{
memmove(&this->m_pQuads[a2], &this->m_pQuads[a2 + 1], 96LL * (this->m_uTotalQuads - a2 - 1));
--this->m_uTotalQuads;
this->m_bDirty = 1;
}
}