//
// cocos2d::CCArray::initWithCapacity from 0x1800070e0 to 0x18000710f (47 bytes)
//
// 6 xrefs:
// > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180063680
// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180063b80
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091957
// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091987
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b79b4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:18 +0000
//
char __fastcall cocos2d::CCArray::initWithCapacity(cocos2d::CCArray *this, unsigned int a2)
{
_QWORD *v2; // rdi
v2 = (_QWORD *)((char *)this + 56);
sub_1800A16E0((char *)this + 56);
*v2 = sub_1800A1920(a2);
return 1;
}