//
// cocos2d::CCPointArray::create from 0x180025e30 to 0x180025eab (123 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af364
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::create()
{
cocos2d::CCObject *v0; // rax
cocos2d::CCObject *v1; // rbx
cocos2d::CCObject_vtbl *v2; // rax
v0 = (cocos2d::CCObject *)operator new(0x40u);
v1 = v0;
if ( v0 )
{
cocos2d::CCObject::CCObject(v0);
v1->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCPointArray::`vftable';
v1[1].__vftable = nullptr;
}
else
{
v1 = nullptr;
}
if ( v1 )
{
v2 = (cocos2d::CCObject_vtbl *)operator new(0x18u);
if ( v2 )
{
v2->copyWithZone = nullptr;
v2->~CCObject = nullptr;
v2->isEqual = nullptr;
}
v1[1].__vftable = v2;
cocos2d::CCObject::autorelease(v1);
}
return (struct cocos2d::CCPointArray *)v1;
}