//
// cocos2d::CCPointArray::create from 0x5b0934 to 0x5b0966 (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCPointArray::reverse @ 0x5b10c6
//
// 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
//
cocos2d::CCPointArray *cocos2d::CCPointArray::create(unsigned int a1)
{
cocos2d::CCPointArray *v2; // r4
cocos2d::CCPointArray_vtbl *v3; // r3
cocos2d::CCPointArray *v4; // r0
v2 = (cocos2d::CCPointArray *)operator new(0x38u);
cocos2d::CCPointArray::CCPointArray(v2);
if ( cocos2d::CCPointArray::initWithCapacity(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->__vftable;
v4 = v2;
v2 = nullptr;
v3->~CCPointArray_0(v4);
}
return v2;
}