//
// cocos2d::CCCardinalSplineBy::startWithTarget from 0x1002bf2a0 to 0x1002bf324 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b0f090
// > ??> @ 0x100b0f210
//
// 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:28:05 +0000
//
_QWORD *__fastcall cocos2d::CCCardinalSplineBy::startWithTarget(__int64 a1, __int64 a2)
{
_QWORD *v2; // rax
_QWORD *v3; // rax
cocos2d::CCActionInterval::startWithTarget(a1);
*(float *)(a1 + 104) = 1.0
/ (float)(int)(((*(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 96) + 56LL) + 8LL)
- **(_QWORD **)(*(_QWORD *)(a1 + 96) + 56LL)) >> 3)
- 1);
v2 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
sub_100278300((_QWORD *)(a1 + 112), v2);
sub_100278300((_QWORD *)(a1 + 120), &qword_100BE2650);
v3 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
return sub_100278300((_QWORD *)(a1 + 128), v3);
}