//
// cocos2d::CCPointArray::create from 0x180026530 to 0x1800265ab (123 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9478
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::create()
{
cocos2d::CCObject *v0; // rax
cocos2d::CCObject *v1; // rbx
_QWORD *v2; // rax
v0 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);
v1 = v0;
if ( v0 )
{
cocos2d::CCObject::CCObject(v0);
*(_QWORD *)v1 = &cocos2d::CCPointArray::`vftable';
*((_QWORD *)v1 + 7) = 0;
}
else
{
v1 = nullptr;
}
if ( v1 )
{
v2 = (_QWORD *)sub_1800E4AC0(0x18u);
if ( v2 )
{
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
}
*((_QWORD *)v1 + 7) = v2;
cocos2d::CCObject::autorelease(v1);
}
return v1;
}