//
// cocos2d::CCBezierTo::startWithTarget from 0x1003ba020 to 0x1003ba0e5 (197 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a3f8
//
// 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 __fastcall cocos2d::CCBezierTo::startWithTarget(cocos2d::CCBezierTo *a1, cocos2d::CCNode *a2)
{
double v2; // rax
double *v4; // rax
double *v5; // rax
double v6[6]; // [rsp+0h] [rbp-30h] BYREF
v6[0] = v2;
cocos2d::CCAction::startWithTarget(a1, a2);
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
v4 = (double *)((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getPosition)(a2);
sub_10028CC90(&a1[1].m_uReference, v4);
sub_10028CC90(&a1[1].m_eObjType, v5);
sub_10028CD00(v6, (unsigned __int64 *)&a1[1].m_nZOrder, (unsigned __int64 *)&a1[1].m_uReference);
sub_10028CC90((cocos2d::CCBezierTo_vtbl **)((char *)&a1[1].__vftable + 4), v6);
sub_10028CD00(v6, (unsigned __int64 *)&a1[1].m_unknown5, (unsigned __int64 *)&a1[1].m_uReference);
sub_10028CC90(&a1[1].m_nLuaID, v6);
sub_10028CD00(v6, (unsigned __int64 *)&a1[1].m_uUnknown, (unsigned __int64 *)&a1[1].m_uReference);
sub_10028CC90(&a1->m_bFirstTick + 4, v6);
}