// // std::vector>::_M_erase from 0x8761f0 to 0x8762cc (220 bytes) // // 3 xrefs: // > GJBaseGameLayer::controlEventLink @ 0x8763c8 // > GJBaseGameLayer::activateEventTrigger @ 0x8894dc // > @ 0x58098 // // 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; // w7 int v13; // w6 char v14; // w5 void *v15; // x0 v3 = a2 + 40; v4 = *(_QWORD *)(a1 + 8); if ( v4 != v3 ) { v6 = 0xCCCCCCCCCCCCCCCDLL * ((v4 - v3) >> 3); if ( v6 > 0 ) { v7 = a2 + 40 * (v6 + 1); do { v8 = *(void **)(v3 - 24); v3 += 40; v9 = *(_QWORD *)(v3 - 24); v10 = *(_QWORD *)(v3 - 16); v11 = *(_QWORD *)(v3 - 8); v12 = *(_DWORD *)(v3 - 36); v13 = *(_DWORD *)(v3 - 32); v14 = *(_BYTE *)(v3 - 28); *(_DWORD *)(v3 - 80) = *(_DWORD *)(v3 - 40); *(_DWORD *)(v3 - 76) = v12; *(_DWORD *)(v3 - 72) = v13; *(_BYTE *)(v3 - 68) = v14; *(_QWORD *)(v3 - 64) = v9; *(_QWORD *)(v3 - 24) = 0; *(_QWORD *)(v3 - 56) = v10; *(_QWORD *)(v3 - 16) = 0; *(_QWORD *)(v3 - 48) = v11; *(_QWORD *)(v3 - 8) = 0; if ( v8 ) operator delete(v8); } while ( v3 != v7 ); v4 = *(_QWORD *)(a1 + 8); } } v15 = *(void **)(v4 - 24); *(_QWORD *)(a1 + 8) = v4 - 40; if ( v15 ) operator delete(v15); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source