// // std::vector>::_M_erase from 0x8a971c to 0x8a9800 (228 bytes) // // 3 xrefs: // > GJEffectManager::controlActionsForControlID @ 0x8b4884 // > GJEffectManager::controlActionsForTrigger @ 0x8c0628 // > @ 0x9cc18 // // 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 // __int64 __fastcall std::vector::_M_erase(__int64 a1, __int64 a2) { __int64 v3; // x19 __int64 v4; // x1 signed __int64 v6; // x20 __int64 v7; // x20 void *v8; // x1 __int64 v9; // x4 __int64 v10; // x3 __int64 v11; // x2 int v12; // w8 char v13; // w7 int v14; // w6 int v15; // w5 void *v16; // x0 v3 = a2 + 48; v4 = *(_QWORD *)(a1 + 8); if ( v4 != v3 ) { v6 = 0xAAAAAAAAAAAAAAABLL * ((v4 - v3) >> 4); if ( v6 > 0 ) { v7 = a2 + 48 * (v6 + 1); do { v8 = *(void **)(v3 - 24); v3 += 48; v9 = *(_QWORD *)(v3 - 24); v10 = *(_QWORD *)(v3 - 16); v11 = *(_QWORD *)(v3 - 8); v12 = *(_DWORD *)(v3 - 44); v13 = *(_BYTE *)(v3 - 40); v14 = *(_DWORD *)(v3 - 36); v15 = *(_DWORD *)(v3 - 32); *(_BYTE *)(v3 - 96) = *(_BYTE *)(v3 - 48); *(_DWORD *)(v3 - 92) = v12; *(_BYTE *)(v3 - 88) = v13; *(_DWORD *)(v3 - 84) = v14; *(_DWORD *)(v3 - 80) = v15; *(_QWORD *)(v3 - 72) = v9; *(_QWORD *)(v3 - 24) = 0; *(_QWORD *)(v3 - 64) = v10; *(_QWORD *)(v3 - 16) = 0; *(_QWORD *)(v3 - 56) = v11; *(_QWORD *)(v3 - 8) = 0; if ( v8 ) operator delete(v8); } while ( v3 != v7 ); v4 = *(_QWORD *)(a1 + 8); } } v16 = *(void **)(v4 - 24); *(_QWORD *)(a1 + 8) = v4 - 48; if ( v16 ) operator delete(v16); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source