//
// std::__ndk1::vector>::allocate from 0x5d1628 to 0x5d164c (36 bytes)
//
// 2 xrefs:
// > std::__ndk1::vector>::assign @ 0x5d1748
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::__assign_multi>>,void *> *>> @ 0x5d17ca
//
// 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:54:05 +0000
//
int __fastcall std::vector::allocate(_DWORD *a1, unsigned int a2)
{
int v3; // r4
int result; // r0
if ( a2 > 0x5555555 )
sub_388B90();
v3 = 48 * a2;
result = operator new(48 * a2);
a1[1] = result;
*a1 = result;
a1[2] = v3 + result;
return result;
}