//
// std::__ndk1::vector>::allocate from 0x70d40c to 0x70d45c (80 bytes)
//
// 3 xrefs:
// > std::__ndk1::vector>::assign @ 0x70d648
// > std::__ndk1::__tree,std::__ndk1::vector>>,std::__ndk1::__map_value_compare,std::__ndk1::__value_type,std::__ndk1::vector>>,std::__ndk1::less>,true>,std::__ndk1::allocator,std::__ndk1::vector>>>>::__assign_multi,std::__ndk1::vector>>,std::__ndk1::__tree_node,std::__ndk1::vector>>,void *> *,long>> @ 0x70d948
// > ??> @ 0x4a308
//
// 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:52:09 +0000
//
__int64 __fastcall std::vector::allocate(__int64 *a1, unsigned __int64 a2)
{
__int64 v3; // x19
__int64 result; // x0
if ( a2 > 0x666666666666666LL )
sub_62BDC4();
v3 = 40 * a2;
result = operator new(40 * a2);
a1[1] = result;
*a1 = result;
a1[2] = result + v3;
return result;
}