//
// cocos2d::CCPointArray::initWithCapacity from 0x5b08fa to 0x5b0912 (24 bytes)
//
// 2 xrefs:
// > cocos2d::CCPointArray::create @ 0x5b0948
// > cocos2d::CCPointArray::copyWithZone @ 0x5b100c
//
// 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
//
bool cocos2d::CCPointArray::initWithCapacity(cocos2d::CCPointArray *a1, unsigned int a2)
{
cocos2d::CCPointArray_vtbl *v3; // r0
v3 = (cocos2d::CCPointArray_vtbl *)operator new(0xCu);
v3->copyWithZone = nullptr;
v3->~CCPointArray = nullptr;
v3->~CCPointArray_0 = nullptr;
a1[1].__vftable = v3;
return 1;
}