//
// cocos2d::CCTextureAtlas::increaseTotalQuadsWith from 0x1800a6540 to 0x1800a6559 (25 bytes)
//
// 4 xrefs:
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x180046a1b
// > cocos2d::CCParticleBatchNode::insertChild @ 0x1800618e9
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab888
// > ??> @ 0x1801438a8
//
// 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::increaseTotalQuadsWith(cocos2d::CCTextureAtlas *this, int a2)
{
unsigned int m_uMaxQuads; // eax
unsigned int v3; // r8d
m_uMaxQuads = this->m_uMaxQuads;
v3 = a2 + this->m_uTotalQuads;
this->m_uTotalQuads = v3;
if ( m_uMaxQuads <= v3 )
m_uMaxQuads = v3;
this->m_uMaxQuads = m_uMaxQuads;
}