//
// cocos2d::CCCardinalSplineTo::startWithTarget from 0xab5084 to 0xab50ec (104 bytes)
//
// 4 xrefs:
// > cocos2d::CCCardinalSplineBy::startWithTarget @ 0xab5100
// > ??> @ 0xa1a90
// > ??> @ 0x11fb6f8
// > ??> @ 0x11fb878
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCCardinalSplineTo::startWithTarget(cocos2d::CCCardinalSplineTo *a1, cocos2d::CCNode *a2)
{
unsigned int v4; // w0
const cocos2d::CCPoint *(__fastcall *getPosition)(cocos2d::CCNode *__hidden); // x1
float v6; // s0
float v7; // s1
float v8; // s0
float v9; // s1
cocos2d::CCActionInterval::startWithTarget(a1, a2);
v4 = cocos2d::CCPointArray::count((cocos2d::CCPointArray *)a1[1].__vftable);
getPosition = a2->getPosition;
*(float *)&a1[1].m_uID = 1.0 / (float)(v4 - 1);
v6 = ((float (__fastcall *)(cocos2d::CCNode *))getPosition)(a2);
cocos2d::CCPoint::operator=(
&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag,
v6,
v7);
cocos2d::CCPoint::operator=(&a1[1].m_uAutoReleaseCount, v8, v9);
}