//
// std::vector
>::erase from 0x47e268 to 0x47e292 (42 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::removeReleasedButtons @ 0x47e2ea
// > GJBaseGameLayer::removeReleasedButtons @ 0x47e2f4
// > GJBaseGameLayer::processQueuedButtons @ 0x492f04
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall std::vector::erase(int a1, char *a2)
{
char *v2; // r2
void *v3; // r3
char *v4; // r1
signed int v6; // r2
v2 = *(char **)(a1 + 4);
v3 = a2;
v4 = a2 + 24;
if ( v4 != v2 )
{
v6 = v2 - v4;
if ( -1431655765 * (v6 >> 3) )
v3 = memmove(v3, v4, v6);
}
*(_DWORD *)(a1 + 4) -= 24;
return v3;
}