// // std::vector>::_M_erase from 0x49b77c to 0x49b7de (98 bytes) // // 2 xrefs: // > GJEffectManager::controlActionsForControlID @ 0x4a2a2a // > GJEffectManager::controlActionsForTrigger @ 0x4a2e90 // // 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::_M_erase(int a1, int a2) { void *v2; // r2 int v3; // r3 int v6; // r4 int v7; // r5 char v8; // r3 void **v9; // r0 int v10; // r3 int v11; // r0 v2 = (void *)(a2 + 32); v3 = *(_DWORD *)(a1 + 4); if ( a2 + 32 != v3 ) { v6 = a2 + 20; v7 = (v3 - (int)v2) >> 5; while ( v7 > 0 ) { v8 = *(_BYTE *)(v6 + 12); v9 = (void **)v6; v6 += 32; --v7; *(_BYTE *)(v6 - 52) = v8; *(_DWORD *)(v6 - 48) = *(_DWORD *)(v6 - 16); *(_BYTE *)(v6 - 44) = *(_BYTE *)(v6 - 12); *(_DWORD *)(v6 - 40) = *(_DWORD *)(v6 - 8); v10 = *(_DWORD *)(v6 - 4); *(_DWORD *)(v6 - 36) = v10; sub_49B1A0(v9, (void **)v6, v2, v10); } } v11 = *(_DWORD *)(a1 + 4); *(_DWORD *)(a1 + 4) = v11 - 32; std::_Vector_base::~_Vector_base((void **)(v11 - 12)); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source