// // sub_D1B00C from 0xd1b00c to 0xd1b074 (104 bytes) // // 0 xrefs: // // 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_D1B00C(const wchar_t **a1, const wchar_t **a2) { size_t v2; // x20 const wchar_t *v3; // x1 size_t v4; // x19 const wchar_t *v5; // x0 size_t v6; // x2 __int64 result; // x0 __int64 v8; // x19 v2 = *((_QWORD *)*a2 - 3); v3 = *a2; v4 = *((_QWORD *)*a1 - 3); v5 = *a1; if ( v2 > v4 ) v6 = v4; else v6 = v2; result = wmemcmp(v5, v3, v6); if ( !(_DWORD)result ) { result = 0x7FFFFFFF; v8 = v4 - v2; if ( v8 <= 0x7FFFFFFF ) { if ( v8 >= (__int64)0xFFFFFFFF80000000LL ) return (unsigned int)v8; else return 0x80000000LL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source