//
// std::__ndk1::vector>::allocate from 0x7b8554 to 0x7b859c (72 bytes)
//
// 6 xrefs:
// > sub_7B859C @ 0x7b8644
// > std::__ndk1::vector>::assign @ 0x7b8c80
// > std::__ndk1::vector>::__push_back_slow_path @ 0x7b8ec4
// > processTraceOutSource @ 0x7b9ee0
// > processTrace @ 0x7be408
// > ??> @ 0xe91d0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:55 +0000
//
__int64 __fastcall std::vector::allocate(__int64 *a1, unsigned __int64 a2)
{
__int64 v3; // x19
__int64 result; // x0
if ( a2 > 0xFFFFFFFFFFFFFFFLL )
sub_62C35C();
v3 = 16 * a2;
result = operator new(16 * a2);
a1[1] = result;
*a1 = result;
a1[2] = result + v3;
return result;
}