//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity_1 from 0x1001d7c84 to 0x1001d7cf4 (112 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteBatchNode::appendChild @ 0x1001d7484
//
// 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_1(cocos2d::CCSpriteBatchNode *a1)
{
unsigned int v2; // w20
v2 = (4
* ((unsigned int (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getCapacity)(a1->m_pobTextureAtlas)
+ 4)
/ 3;
if ( ((unsigned int (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getCapacity)(a1->m_pobTextureAtlas) < v2 )
cocos2d::CCTextureAtlas::resizeCapacity(a1->m_pobTextureAtlas, v2);
}