//
// cocos2d::CCCatmullRomBy::create from 0x1002bf490 to 0x1002bf592 (258 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
//
void *__fastcall cocos2d::CCCatmullRomBy::create(__int64 a1, float a2)
{
void *v3; // rbx
__int64 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_100B0EFA8;
*((_OWORD *)v3 + 6) = 0;
sub_1002782A0((_QWORD *)v3 + 14);
sub_1002782A0((_QWORD *)v3 + 15);
*(_QWORD *)v3 = off_100B0F038;
sub_100278250((float *)v3 + 32, 0.0, 0.0);
*(_QWORD *)v3 = off_100B0F1B8;
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;
}