//
// cocos2d::CCCardinalSplineBy::create from 0x1002becf0 to 0x1002bedbf (207 bytes)
//
// 1 xrefs:
// > cocos2d::CCCardinalSplineBy::reverse @ 0x1002bf267
//
// 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
//
float *__fastcall cocos2d::CCCardinalSplineBy::create(__int64 a1, float a2, float a3)
{
float *v4; // rbx
__int64 v5; // rdi
v4 = (float *)operator new(0x88u);
cocos2d::CCAction::CCAction(v4);
v4[20] = 0.0;
*(_QWORD *)v4 = off_100B0EFA8;
*((_OWORD *)v4 + 6) = 0;
sub_1002782A0((_QWORD *)v4 + 14);
sub_1002782A0((_QWORD *)v4 + 15);
*(_QWORD *)v4 = off_100B0F038;
sub_100278250(v4 + 32, 0.0, 0.0);
if ( (unsigned __int8)cocos2d::CCActionInterval::initWithDuration(v4, a2) )
{
cocos2d::CCObject::retain(a1);
v5 = *((_QWORD *)v4 + 12);
if ( v5 )
cocos2d::CCObject::release(v5);
*((_QWORD *)v4 + 12) = a1;
v4[27] = a3;
cocos2d::CCObject::autorelease(v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}