//
// cocos2d::CCSpriteBatchNode::increaseAtlasCapacity_1 from 0x1001777c0 to 0x100177816 (86 bytes)
//
// 0 xrefs:
//
// 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 v1; // r14d
v1 = (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) < v1 )
cocos2d::CCTextureAtlas::resizeCapacity(a1->m_pobTextureAtlas, v1);
}