//
// cocos2d::CCPointArray::create from 0xd269c8 to 0xd26a3c (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCPointArray::reverse @ 0xd27868
// > ??> @ 0xe2198
//
// This function is hookable on this platform (idp: arm, 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 13:07:14 +0000
//
cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::create(cocos2d::CCPointArray *this)
{
cocos2d::CCPointArray *v1; // x19
v1 = (cocos2d::CCPointArray *)operator new(0x40u);
cocos2d::CCPointArray::CCPointArray(v1);
if ( (unsigned __int8)cocos2d::CCPointArray::initWithCapacity(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCPointArray *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}