// // __acrt_CompareStringEx from 0x1801358b4 to 0x180135990 (220 bytes) // // 3 xrefs: // > __crtCompareStringW @ 0x18013b904 // > InternalCompareStringA @ 0x18013bdd0 // > @ 0x1802033e0 // // 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 _acrt_CompareStringEx( __int64 a1, DWORD a2, const WCHAR *a3, unsigned int a4, const WCHAR *lpString2, int cchCount2, __int64 a7, __int64 a8, __int64 a9) { FARPROC function; // rax LCID v15; // eax function = try_get_function(1u, "CompareStringEx", (unsigned int *)&unk_1801749A0, (unsigned int *)"CompareStringEx"); if ( function ) return ((__int64 (__fastcall *)(__int64, _QWORD, const WCHAR *, _QWORD, const WCHAR *, int, __int64, __int64, __int64))function)( a1, a2, a3, a4, lpString2, cchCount2, a7, a8, a9); v15 = _acrt_LocaleNameToLCID(a1, 0); return CompareStringW(v15, a2, a3, a4, lpString2, cchCount2); }