//
// cocos2d::CCTextureAtlas::increaseTotalQuadsWith from 0xda4de8 to 0xda4e08 (32 bytes)
//
// 4 xrefs:
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0xd544e4
// > cocos2d::CCParticleBatchNode::insertChild @ 0xd72da4
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0xdb0ea0
// > ??> @ 0x49f00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:31 +0000
//
__int64 __fastcall cocos2d::CCTextureAtlas::increaseTotalQuadsWith(__int64 this, int a2)
{
unsigned int v2; // w3
unsigned int v3; // w1
v2 = *(_DWORD *)(this + 104);
v3 = a2 + *(_DWORD *)(this + 76);
*(_DWORD *)(this + 76) = v3;
if ( v3 > v2 )
v2 = v3;
*(_DWORD *)(this + 104) = v2;
return this;
}