//
// std::__ndk1::vector>::deallocate from 0x46b592 to 0x46b5c0 (46 bytes)
//
// 2 xrefs:
// > std::__ndk1::vector>::assign @ 0x47cc24
// > processTrace @ 0x47ecbe
//
// 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:49:00 +0000
//
void __fastcall std::vector::deallocate(int a1)
{
char **v2; // r5
char **v3; // r0
v2 = *(char ***)a1;
if ( *(_DWORD *)a1 )
{
while ( 1 )
{
v3 = *(char ***)(a1 + 4);
if ( v2 == v3 )
break;
*(_DWORD *)(a1 + 4) = v3 - 12;
std::__vector_base::~__vector_base(v3 - 11);
}
operator delete(*(void **)a1);
*(_DWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_DWORD *)a1 = 0;
}
}