//
// std::vector>::vector from 0x584d08 to 0x584d4e (70 bytes)
//
// 6 xrefs:
// > KeyframeObject::setupSpline @ 0x584ec2
// > KeyframeObject::setupSpline @ 0x584ecc
// > KeyframeObject::setupSpline @ 0x584ed8
// > internal::band_matrix::l_solve @ 0x594ce4
// > internal::band_matrix::r_solve @ 0x594dd8
// > tk::spline::set_points @ 0x595960
//
// 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 '_ZNSt6vectorIdSaIdEEC1EjRKS0_'
_DWORD *__fastcall std::vector::vector(_DWORD *a1, unsigned int a2)
{
unsigned int v2; // r5
int v4; // r6
_QWORD *v5; // r0
_QWORD *v6; // r6
v2 = a2;
*a1 = 0;
v4 = a2;
a1[1] = 0;
a1[2] = 0;
if ( a2 )
{
if ( a2 >= 0x20000000 )
sub_772FB4(a1);
v5 = (_QWORD *)operator new(8 * a2);
}
else
{
v5 = nullptr;
}
v6 = &v5[v4];
*a1 = v5;
a1[1] = v5;
a1[2] = v6;
while ( v2 )
{
*v5++ = 0;
--v2;
}
a1[1] = v6;
return a1;
}