//
// std::__ndk1::vector>::allocate from 0x6c2c30 to 0x6c2c54 (36 bytes)
//
// 2 xrefs:
// > sub_6C2D64 @ 0x6c2dbe
// > std::__ndk1::vector>::assign @ 0x6c2ee6
//
// 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:56:52 +0000
//
int __fastcall std::vector::allocate(_DWORD *a1, unsigned int a2)
{
int v3; // r4
int result; // r0
if ( a2 > 0x4EC4EC4 )
sub_389E20();
v3 = 52 * a2;
result = operator new(52 * a2);
a1[1] = result;
*a1 = result;
a1[2] = v3 + result;
return result;
}