// // __crtCompareStringW from 0x18013b880 to 0x18013b93d (189 bytes) // // 2 xrefs: // > _wcsnicoll_l @ 0x180134509 // > @ 0x180203950 // // 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 _crtCompareStringW(__int64 a1, DWORD a2, const wchar_t *a3, int a4, wchar_t *Source, int a6) { unsigned int v6; // ebx int v10; // eax int result; // eax int v12; // ebx v6 = a4; if ( a4 > 0 ) v6 = wcsnlen(a3, a4); v10 = a6; if ( a6 > 0 ) v10 = wcsnlen(Source, a6); if ( v6 && v10 ) return _acrt_CompareStringEx(a1, a2, a3, v6, Source, v10, 0, 0, 0); v12 = v6 - v10; result = ((v12 >> 31) & 0xFFFFFFFE) + 3; if ( !v12 ) return 2; return result; }