//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity from 0x100270258 to 0x1002702a4 (76 bytes)
//
// 68 xrefs:
// > GJBaseGameLayer::increaseBatchNodeCapacity @ 0x100278fa8
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279004
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279010
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x10027901c
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279028
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279034
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279040
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x10027904c
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279058
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279064
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279070
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279080
// > GJBaseGameLayer::updateLegacyLayerCapacity @ 0x100279098
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027921c
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279374
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027939c
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002793c4
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002793ec
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279414
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027943c
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279464
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027948c
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002794b4
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002794dc
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279504
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027952c
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279554
// > GJBaseGameLayer::updateLayerCapacity @ 0x10027957c
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002795a4
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002795e0
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279608
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279630
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279658
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279680
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002796a8
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002796d0
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002796f8
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279720
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279748
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279770
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279798
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002797c0
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002797e8
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279810
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279838
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279860
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279888
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002798b0
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002798d8
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279900
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279928
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279950
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279978
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002799a0
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002799c8
// > GJBaseGameLayer::updateLayerCapacity @ 0x1002799f0
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279a18
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279a40
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279a68
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279a90
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279ab8
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279ae0
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279b08
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279b30
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279b58
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279b80
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279ba8
// > GJBaseGameLayer::updateLayerCapacity @ 0x100279bf0
//
// 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(__int64 a1, __int64 a2)
{
__int64 result; // x0
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328));
if ( (unsigned int)result < (unsigned int)a2 )
return cocos2d::CCTextureAtlas::resizeCapacity(*(_QWORD *)(a1 + 328), a2);
return result;
}