//
// cocos2d::CCCatmullRomBy::create from 0x1002d27c0 to 0x1002d28c2 (258 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::CCCatmullRomBy *__fastcall cocos2d::CCCatmullRomBy::create(float a1, cocos2d::CCPointArray *a2)
{
void *v3; // rbx
cocos2d::CCObject *v4; // rdi
v3 = operator new(0x88u);
*(_OWORD *)v3 = 0;
*((_OWORD *)v3 + 1) = 0;
*((_OWORD *)v3 + 2) = 0;
*((_OWORD *)v3 + 3) = 0;
*((_OWORD *)v3 + 4) = 0;
*((_OWORD *)v3 + 5) = 0;
*((_OWORD *)v3 + 6) = 0;
*((_OWORD *)v3 + 7) = 0;
*((_QWORD *)v3 + 16) = 0;
cocos2d::CCAction::CCAction(v3);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = off_1009078C8;
*((_OWORD *)v3 + 6) = 0;
sub_10028CC30((_QWORD *)v3 + 14);
sub_10028CC30((_QWORD *)v3 + 15);
*(_QWORD *)v3 = off_100907958;
sub_10028CBE0((float *)v3 + 32, 0.0, 0.0);
*(_QWORD *)v3 = off_100907AD8;
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v3, a1) )
{
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)v3 + 12);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)v3 + 12) = a2;
*((_DWORD *)v3 + 27) = 1056964608;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v3);
return nullptr;
}
return (cocos2d::CCCatmullRomBy *)v3;
}