//
// cocos2d::CCTextureAtlas::increaseTotalQuadsWith from 0x5f494c to 0x5f495e (18 bytes)
//
// 3 xrefs:
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x5cb092
// > cocos2d::CCParticleBatchNode::insertChild @ 0x5dd636
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x5fa378
//
// 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::increaseTotalQuadsWith(cocos2d::CCTextureAtlas *a1, unsigned int a2)
{
unsigned int v2; // r1
unsigned int m_uMaxQuads; // r3
v2 = a2 + a1->m_uTotalQuads;
m_uMaxQuads = a1->m_uMaxQuads;
a1->m_uTotalQuads = v2;
if ( m_uMaxQuads < v2 )
a1->m_uMaxQuads = v2;
else
a1->m_uMaxQuads = m_uMaxQuads;
}