//
// std::__ndk1::vector>::vector from 0x53af66 to 0x53afbe (88 bytes)
//
// 6 xrefs:
// > SongInfoLayer::create @ 0x53c0da
// > SongInfoLayer::create @ 0x53c0ec
// > SongInfoLayer::create @ 0x53c2f0
// > SongInfoLayer::create @ 0x53c2fc
// > SongInfoLayer::create @ 0x53c4d6
// > SongInfoLayer::create @ 0x53c4e2
//
// 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:52:14 +0000
//
// Alternative name is '_ZNSt6__ndk16vectorI12GJLinkObjectNS_9allocatorIS1_EEEC1ERKS4_'
_DWORD *__fastcall std::vector::vector(_DWORD *a1, const GJLinkObject **a2)
{
signed int v4; // r5
int v5; // r0
const GJLinkObject *v6; // r5
const GJLinkObject *v7; // r6
GJLinkObject *v8; // r0
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v4 = a2[1] - *a2;
if ( v4 >> 5 )
{
if ( (unsigned int)(v4 >> 5) >= 0x8000000 )
sub_3884D0();
v5 = operator new(v4);
a1[1] = v5;
*a1 = v5;
a1[2] = v4 + v5;
v6 = *a2;
v7 = a2[1];
while ( v6 != v7 )
{
v8 = (GJLinkObject *)a1[1];
if ( v8 )
GJLinkObject::GJLinkObject(v8, v6);
v6 = (const GJLinkObject *)((char *)v6 + 32);
a1[1] += 32;
}
}
return a1;
}