//
// cocos2d::CCCatmullRomTo::initWithDuration from 0x1800266d0 to 0x180026729 (89 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b94a8
//
// 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 11:21:30 +0000
//
// Alternative name is '?initWithDuration@CCCatmullRomBy@cocos2d@@QEAA_NMPEAVCCPointArray@2@@Z'
char __fastcall cocos2d::CCCatmullRomTo::initWithDuration(
cocos2d::CCObject **this,
float a2,
struct cocos2d::CCPointArray *a3)
{
cocos2d::CCObject *v5; // rcx
if ( !cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)this, a2) )
return 0;
if ( a3 )
cocos2d::CCObject::retain(a3);
v5 = *(this + 12);
if ( v5 )
cocos2d::CCObject::release(v5);
*(this + 12) = a3;
*((_DWORD *)this + 27) = 1056964608;
return 1;
}