//
// tk::spline::spline from 0x584d4e to 0x584dd0 (130 bytes)
//
// 2 xrefs:
// > KeyframeObject::setupSpline @ 0x584fb8
// > KeyframeObject::setupSpline @ 0x584fee
//
// 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
//
// Alternative name is '_ZN2tk6splineC1ERKSt6vectorIdSaIdEES5_NS0_11spline_typeEbNS0_7bd_typeEdS7_d'
int __fastcall tk::spline::spline(int a1, int a2, int a3, int a4, char a5, int a6, __int64 a7, int a8, __int64 a9)
{
*(_DWORD *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_DWORD *)(a1 + 76) = a6;
*(_DWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 12) = 0;
*(_DWORD *)(a1 + 80) = a8;
*(_DWORD *)(a1 + 16) = 0;
*(_DWORD *)(a1 + 20) = 0;
*(_QWORD *)(a1 + 88) = a7;
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(_DWORD *)(a1 + 32) = 0;
*(_DWORD *)(a1 + 36) = 0;
*(_DWORD *)(a1 + 40) = 0;
*(_DWORD *)(a1 + 44) = 0;
*(_DWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 52) = 0;
*(_DWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 72) = a4;
*(_QWORD *)(a1 + 96) = a9;
*(_BYTE *)(a1 + 104) = 0;
tk::spline::set_points();
if ( a5 )
tk::spline::make_monotonic((tk::spline *)a1);
return a1;
}