//
// cocos2d::CCBezierTo::startWithTarget from 0x1003a3420 to 0x1003a34e5 (197 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32bb0
//
// 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:29:20 +0000
//
_QWORD *__fastcall cocos2d::CCBezierTo::startWithTarget(__int64 a1, __int64 a2)
{
double v2; // rax
_QWORD *v4; // rax
_QWORD *v5; // rax
double v7[6]; // [rsp+0h] [rbp-30h] BYREF
v7[0] = v2;
cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
v4 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
v5 = sub_100278300((_QWORD *)(a1 + 116), v4);
sub_100278300((_QWORD *)(a1 + 124), v5);
sub_100278370(v7, (unsigned __int64 *)(a1 + 140), (unsigned __int64 *)(a1 + 116));
sub_100278300((_QWORD *)(a1 + 100), v7);
sub_100278370(v7, (unsigned __int64 *)(a1 + 148), (unsigned __int64 *)(a1 + 116));
sub_100278300((_QWORD *)(a1 + 108), v7);
sub_100278370(v7, (unsigned __int64 *)(a1 + 132), (unsigned __int64 *)(a1 + 116));
return sub_100278300((_QWORD *)(a1 + 92), v7);
}