//
// cocos2d::CCPointArray::initWithCapacity from 0x180026620 to 0x18002665d (61 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9490
//
// 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:30 +0000
//
char __fastcall cocos2d::CCPointArray::initWithCapacity(cocos2d::CCPointArray *this)
{
_QWORD *v2; // rax
v2 = (_QWORD *)sub_1800E4AC0(0x18u);
if ( v2 )
{
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
*((_QWORD *)this + 7) = v2;
}
else
{
*((_QWORD *)this + 7) = 0;
}
return 1;
}