// // std::vector>::_M_erase from 0x49b6f8 to 0x49b776 (126 bytes) // // 2 xrefs: // > GJEffectManager::controlActionsForControlID @ 0x4a29ea // > GJEffectManager::controlActionsForTrigger @ 0x4a2e4c // // 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 + 44); v3 = *(_DWORD *)(a1 + 4); if ( a2 + 44 != v3 ) { v6 = a2 + 32; v7 = -1171354717 * ((v3 - (int)v2) >> 2); while ( v7 > 0 ) { v8 = *(_BYTE *)(v6 + 12); v9 = (void **)v6; v6 += 44; --v7; *(_BYTE *)(v6 - 76) = v8; *(_DWORD *)(v6 - 72) = *(_DWORD *)(v6 - 28); *(_DWORD *)(v6 - 68) = *(_DWORD *)(v6 - 24); *(_DWORD *)(v6 - 64) = *(_DWORD *)(v6 - 20); *(_DWORD *)(v6 - 60) = *(_DWORD *)(v6 - 16); *(_BYTE *)(v6 - 56) = *(_BYTE *)(v6 - 12); *(_DWORD *)(v6 - 52) = *(_DWORD *)(v6 - 8); v10 = *(_DWORD *)(v6 - 4); *(_DWORD *)(v6 - 48) = v10; sub_49B1A0(v9, (void **)v6, v2, v10); } } v11 = *(_DWORD *)(a1 + 4); *(_DWORD *)(a1 + 4) = v11 - 44; std::_Vector_base::~_Vector_base((void **)(v11 - 12)); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source