//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity from 0x7f2688 to 0x7f26ac (36 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::insertChild @ 0x7f28d6
// > cocos2d::CCSpriteBatchNode::appendChild @ 0x7f2a90
// > cocos2d::CCSpriteBatchNode::insertQuadFromSprite @ 0x7f2db4
// > cocos2d::CCSpriteBatchNode::updateQuadFromSprite @ 0x7f2e46
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:05 +0000
//
unsigned int __fastcall cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(cocos2d::CCSpriteBatchNode *this)
{
__int64 v2; // r2
v2 = 2863311531LL
* (unsigned int)(4 * ((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 44))(*((_DWORD *)this + 67)) + 1));
return cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(this, HIDWORD(v2) >> 1);
}