//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity from 0x18008e550 to 0x18008e5a6 (86 bytes)
//
// 4 xrefs:
// > cocos2d::CCSpriteBatchNode::appendChild @ 0x18008dfc7
// > cocos2d::CCSpriteBatchNode::insertChild @ 0x18008e82c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6000
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(cocos2d::CCSpriteBatchNode *this)
{
unsigned int v2; // ebx
v2 = (4
* ((unsigned int (__fastcall *)(cocos2d::CCTextureAtlas *))this->m_pobTextureAtlas->getCapacity)(this->m_pobTextureAtlas)
+ 4)
/ 3;
if ( ((unsigned int (__fastcall *)(cocos2d::CCTextureAtlas *))this->m_pobTextureAtlas->getCapacity)(this->m_pobTextureAtlas) < v2 )
cocos2d::CCTextureAtlas::resizeCapacity(this->m_pobTextureAtlas, v2);
}