// // std::vector>::erase from 0x3ecd16 to 0x3ecd4c (54 bytes) // // 3 xrefs: // > SequenceTriggerGameObject::deleteTarget @ 0x3ecd72 // > SpawnTriggerGameObject::removeRemap @ 0x3ecdaa // > SpawnTriggerGameObject::changeRemap @ 0x3ed934 // // 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::erase(int a1, int a2) { int v2; // r4 int v3; // r6 int v6; // r7 int v7; // r1 int v8; // r2 int v9; // r3 _DWORD *v10; // r5 v2 = a2 + 16; v3 = *(_DWORD *)(a1 + 4); if ( a2 + 16 != v3 ) { v6 = (v3 - v2) >> 4; while ( 1 ) { v2 += 16; if ( v6 <= 0 ) break; v7 = *(_DWORD *)(v2 - 12); v8 = *(_DWORD *)(v2 - 8); v9 = *(_DWORD *)(v2 - 4); v10 = (_DWORD *)(v2 - 32); --v6; *v10 = *(_DWORD *)(v2 - 16); v10[1] = v7; v10[2] = v8; v10[3] = v9; } } *(_DWORD *)(a1 + 4) = v3 - 16; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source