// // std::vector>::_M_erase from 0x8a950c to 0x8a9614 (264 bytes) // // 3 xrefs: // > GJEffectManager::controlActionsForControlID @ 0x8b48b4 // > GJEffectManager::controlActionsForTrigger @ 0x8c05a0 // > @ 0xc0df8 // // 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 __int64 v6; // x20 __int64 v7; // x20 void *v8; // x1 __int64 v9; // x4 __int64 v10; // x3 __int64 v11; // x2 int v12; // w11 char v13; // w10 int v14; // w9 int v15; // w8 int v16; // w7 int v17; // w6 char v18; // w5 void *v19; // x0 v3 = a2 + 56; v4 = *(_QWORD *)(a1 + 8); if ( v4 != v3 ) { v6 = 0x6DB6DB6DB6DB6DB7LL * ((v4 - v3) >> 3); if ( v6 > 0 ) { v7 = a2 + 56 * (v6 + 1); do { v8 = *(void **)(v3 - 24); v3 += 56; v9 = *(_QWORD *)(v3 - 24); v10 = *(_QWORD *)(v3 - 16); v11 = *(_QWORD *)(v3 - 8); v12 = *(_DWORD *)(v3 - 52); v13 = *(_BYTE *)(v3 - 48); v14 = *(_DWORD *)(v3 - 44); v15 = *(_DWORD *)(v3 - 40); v16 = *(_DWORD *)(v3 - 36); v17 = *(_DWORD *)(v3 - 32); v18 = *(_BYTE *)(v3 - 28); *(_BYTE *)(v3 - 112) = *(_BYTE *)(v3 - 56); *(_DWORD *)(v3 - 108) = v12; *(_BYTE *)(v3 - 104) = v13; *(_DWORD *)(v3 - 100) = v14; *(_DWORD *)(v3 - 96) = v15; *(_DWORD *)(v3 - 92) = v16; *(_DWORD *)(v3 - 88) = v17; *(_BYTE *)(v3 - 84) = v18; *(_QWORD *)(v3 - 80) = v9; *(_QWORD *)(v3 - 24) = 0; *(_QWORD *)(v3 - 72) = v10; *(_QWORD *)(v3 - 16) = 0; *(_QWORD *)(v3 - 64) = v11; *(_QWORD *)(v3 - 8) = 0; if ( v8 ) operator delete(v8); } while ( v3 != v7 ); v4 = *(_QWORD *)(a1 + 8); } } v19 = *(void **)(v4 - 24); *(_QWORD *)(a1 + 8) = v4 - 56; if ( v19 ) operator delete(v19); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source