//
// std::vector>::_M_erase from 0x3d65de to 0x3d65fc (30 bytes)
//
// 2 xrefs:
// > GJLevelList::removeLevelFromList @ 0x3d662a
// > GJLevelList::reorderLevel @ 0x3d7dba
//
// 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
//
char *__fastcall std::vector::_M_erase(int a1, char *a2)
{
char *v4; // r0
int v5; // r1
v4 = a2 + 4;
v5 = *(_DWORD *)(a1 + 4);
if ( v4 != (char *)v5 )
std::__copy_move::__copy_m(v4, v5, a2);
*(_DWORD *)(a1 + 4) -= 4;
return a2;
}