//
// cocos2d::CCCatmullRomTo::create from 0x1002bf330 to 0x1002bf40b (219 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:28:05 +0000
//
_OWORD *__fastcall cocos2d::CCCatmullRomTo::create(__int64 a1, float a2)
{
_OWORD *v3; // rbx
__int64 v4; // rdi
v3 = operator new(0x80u);
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
v3[3] = 0;
v3[4] = 0;
v3[5] = 0;
v3[6] = 0;
v3[7] = 0;
cocos2d::CCAction::CCAction(v3);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = off_100B0EFA8;
v3[6] = 0;
sub_1002782A0((_QWORD *)v3 + 14);
sub_1002782A0((_QWORD *)v3 + 15);
*(_QWORD *)v3 = off_100B0F110;
if ( (unsigned __int8)cocos2d::CCActionInterval::initWithDuration(v3, a2) )
{
cocos2d::CCObject::retain(a1);
v4 = *((_QWORD *)v3 + 12);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)v3 + 12) = a1;
*((_DWORD *)v3 + 27) = 1056964608;
cocos2d::CCObject::autorelease(v3);
}
else
{
cocos2d::CCObject::release(v3);
return nullptr;
}
return v3;
}