//
// cocos2d::CCArray::initWithCapacity from 0x180006f90 to 0x180006fbf (47 bytes)
//
// 6 xrefs:
// > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180061270
// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180061770
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e726
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e756
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad990
//
// 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
//
char __fastcall cocos2d::CCArray::initWithCapacity(cocos2d::CCArray *this, unsigned int a2)
{
cocos2d::ccArray **p_data; // rdi
p_data = &this->data;
sub_18009DA50(&this->data);
*p_data = (cocos2d::ccArray *)sub_18009DC90(a2);
return 1;
}