//
// std::__ndk1::vector>::vector from 0x5c4e40 to 0x5c4e80 (64 bytes)
//
// 5 xrefs:
// > tk::spline::spline @ 0x5d00a0
// > tk::spline::spline @ 0x5d00aa
// > tk::spline::spline @ 0x5d00b8
// > tk::spline::spline @ 0x5d00c6
// > tk::spline::spline @ 0x5d00d2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:52 +0000
//
// Alternative name is '_ZNSt6__ndk16vectorIdNS_9allocatorIdEEEC1ERKS3_'
int __fastcall std::vector::vector(int a1, const void **a2)
{
unsigned int v4; // r1
const void *v5; // r1
signed int v6; // r5
*(_DWORD *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_DWORD *)(a1 + 8) = 0;
v4 = ((_BYTE *)a2[1] - (_BYTE *)*a2) >> 3;
if ( v4 )
{
std::vector::allocate((_DWORD *)a1, v4);
v5 = *a2;
v6 = (_BYTE *)a2[1] - (_BYTE *)*a2;
if ( v6 > 7 )
{
memcpy(*(void **)(a1 + 4), v5, v6);
*(_DWORD *)(a1 + 4) += v6;
}
}
return a1;
}