//
// std::__ndk1::vector>::reserve from 0x5c5374 to 0x5c53c0 (76 bytes)
//
// 3 xrefs:
// > GJEffectManager::updateTimers @ 0x5c7910
// > GJEffectManager::getPersistentStateString @ 0x5cfcd0
// > GJEffectManager::getPersistentStateString @ 0x5cfdb0
//
// 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:53:52 +0000
//
_DWORD *__fastcall std::vector::reserve(_DWORD *result, unsigned int a2)
{
int v2; // r6
_DWORD v3[5]; // [sp+0h] [bp-18h] BYREF
v2 = (int)result;
if ( a2 > (result[2] - *result) >> 2 )
{
std::__split_buffer::__split_buffer(v3, a2, (result[1] - *result) >> 2, (int)(result + 2));
std::vector::__swap_out_circular_buffer(v2, v3);
return (_DWORD *)std::__split_buffer::~__split_buffer((int)v3);
}
return result;
}