//
// cocos2d::CCCatmullRomTo::create from 0x5b0c28 to 0x5b0c6e (70 bytes)
//
// 0 xrefs:
//
// 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::CCCatmullRomTo *cocos2d::CCCatmullRomTo::create(float a1, cocos2d::CCPointArray *a2)
{
cocos2d::CCCatmullRomTo *v4; // r4
v4 = (cocos2d::CCCatmullRomTo *)operator new(0x6Cu);
memset(v4, 0, 0x6Cu);
cocos2d::CCCardinalSplineTo::CCCardinalSplineTo(v4);
v4->__vftable = (cocos2d::CCCatmullRomTo_vtbl *)&off_A9EE68;
if ( cocos2d::CCCatmullRomTo::initWithDuration(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}