//
// std::__ndk1::vector>::allocate from 0x76af56 to 0x76af7a (36 bytes)
//
// 1 xrefs:
// > std::__ndk1::vector>::vector @ 0x76af8e
//
// 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:59:11 +0000
//
int __fastcall std::vector::allocate(_DWORD *a1, unsigned int a2)
{
unsigned int v3; // r4
int result; // r0
if ( a2 >= 0x80000000 )
sub_38AC30();
v3 = ((a2 - 1) >> 5) + 1;
result = operator new(4 * v3);
a1[2] = v3;
a1[1] = 0;
*a1 = result;
return result;
}