//
// cocos2d::CCCardinalSplineTo::initWithDuration from 0x7b72f0 to 0x7b7324 (52 bytes)
//
// 5 xrefs:
// > cocos2d::CCCardinalSplineTo::create @ 0x7b7378
// > cocos2d::CCCardinalSplineTo::copyWithZone @ 0x7b73ce
// > cocos2d::CCCardinalSplineBy::create @ 0x7b7424
// > cocos2d::CCCatmullRomTo::initWithDuration @ 0x7b7442
// > cocos2d::CCCatmullRomBy::initWithDuration @ 0x7b7498
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:12 +0000
//
int __fastcall cocos2d::CCCardinalSplineTo::initWithDuration(
cocos2d::CCObject **this,
float a2,
cocos2d::CCPointArray *a3,
float a4)
{
int v8; // r6
cocos2d::CCObject *v9; // r0
cocos2d::CCPointArray::count(a3);
v8 = cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)this, a2);
if ( v8 )
{
if ( a3 )
cocos2d::CCObject::retain(a3);
v9 = *(this + 20);
if ( v9 )
cocos2d::CCObject::release(v9);
*(this + 20) = a3;
*((float *)this + 22) = a4;
}
return v8;
}