//
// std::vector>::erase from 0x4a2880 to 0x4a28a8 (40 bytes)
//
// 2 xrefs:
// > GJEffectManager::controlActionsForControlID @ 0x4a2a74
// > GJEffectManager::controlActionsForTrigger @ 0x4a2ede
//
// 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
//
int __fastcall std::vector::erase(int a1, int a2)
{
int v4; // r0
int v5; // r1
int v6; // r0
v4 = a2 + 56;
v5 = *(_DWORD *)(a1 + 4);
if ( v4 != v5 )
std::__copy_move::__copy_m(
v4,
v5,
a2);
v6 = *(_DWORD *)(a1 + 4);
*(_DWORD *)(a1 + 4) = v6 - 56;
std::_Vector_base::~_Vector_base((void **)(v6 - 12));
return a2;
}