//
// cocos2d::ccArrayEnsureExtraCapacity from 0x7f755e to 0x7f7578 (26 bytes)
//
// 9 xrefs:
// > cocos2d::CCScheduler::scheduleSelector @ 0x7b4b6e
// > cocos2d::ccArrayAppendObjectWithResize @ 0x7f762c
// > cocos2d::ccArrayAppendObjectWithResizeNew @ 0x7f7644
// > cocos2d::ccArrayAppendObjectWithResizeBatch @ 0x7f765c
// > cocos2d::ccArrayAppendArrayWithResize @ 0x7f7694
// > cocos2d::ccArrayInsertObjectAtIndex @ 0x7f76ae
// > cocos2d::ccArrayInsertObjectAtIndexBatch @ 0x7f76e8
// > cocos2d::ccArrayAppendObjectWithResizeChild @ 0x7f7816
// > cocos2d::ccCArrayEnsureExtraCapacity @ 0x7f7a1e
//
// 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:10 +0000
//
_DWORD *__fastcall cocos2d::ccArrayEnsureExtraCapacity(_DWORD *result, int a2)
{
_DWORD *i; // r4
for ( i = result; i[1] < (unsigned int)(*i + a2); result = cocos2d::ccArrayDoubleCapacity((int)i) )
;
return result;
}