//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity from 0x180091780 to 0x1800917d6 (86 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::appendChild @ 0x1800911ea
// > cocos2d::CCSpriteBatchNode::insertChild @ 0x180091a5c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c02b8
//
// This function is hookable on this platform (idp: pc, 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:22:08 +0000
//
void __fastcall cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(cocos2d::CCSpriteBatchNode *this)
{
unsigned int v2; // ebx
v2 = (4 * (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 80LL))(*((_QWORD *)this + 41)) + 4) / 3;
if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 80LL))(*((_QWORD *)this + 41)) < v2 )
cocos2d::CCTextureAtlas::resizeCapacity(*((cocos2d::CCTextureAtlas **)this + 41), v2);
}