//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity_1 from 0x1002701e8 to 0x100270258 (112 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteBatchNode::appendChild @ 0x10026f9e8
//
// 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 11:01:46 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::increaseAtlasCapacity_1(__int64 a1)
{
unsigned __int64 v2; // x20
__int64 result; // x0
v2 = (4 * (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)) + 4) / 3uLL;
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328));
if ( (unsigned int)result < (unsigned int)v2 )
return cocos2d::CCTextureAtlas::resizeCapacity(*(_QWORD *)(a1 + 328), v2);
return result;
}