// // sub_6AE20 from 0x6ae20 to 0x6ae88 (104 bytes) // // 1 xrefs: // > sub_6AB64 @ 0x6abc4 // // 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 sub_6AE20(__int64 a1, int a2) { int v2; // w8 int v4; // w9 if ( a2 < 0 ) return 28; v2 = *(_DWORD *)(a1 + 8); if ( v2 <= a2 ) return 28; v4 = v2 + ~a2; if ( v4 >= 1 ) { memmove((void *)(*(_QWORD *)a1 + 8LL * a2), (const void *)(*(_QWORD *)a1 + 8LL * a2 + 8), 8LL * v4); v2 = *(_DWORD *)(a1 + 8); } *(_DWORD *)(a1 + 8) = v2 - 1; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source