//
// cocos2d::CCArray::initWithCapacity from 0x7c8f26 to 0x7c8f3e (24 bytes)
//
// 10 xrefs:
// > cocos2d::CCArray::CCArray @ 0x7c8f5c
// > cocos2d::CCArray::init @ 0x7c8f6a
// > cocos2d::CCArray::createWithCapacity @ 0x7c8fd6
// > cocos2d::CCArray::initWithObject @ 0x7c9130
// > cocos2d::CCArray::copyWithZone @ 0x7c91e8
// > cocos2d::CCArray::initWithArray @ 0x7c9242
// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x7e59b0
// > cocos2d::CCParticleBatchNode::addChildHelper @ 0x7e5b56
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x7f2c8a
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x7f2ca2
//
// 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:00:28 +0000
//
int __fastcall cocos2d::CCArray::initWithCapacity(cocos2d::CCArray *this, cocos2d *a2)
{
unsigned int v4; // r1
cocos2d::ccArrayFree((char *)this + 52);
*((_DWORD *)this + 13) = cocos2d::ccArrayNew(a2, v4);
return 1;
}