//
// __acrt_LCMapStringEx from 0x180135b20 to 0x180135bfc (220 bytes)
//
// 5 xrefs:
// > __acrt_LCMapStringA_stat @ 0x180140d7a
// > __acrt_LCMapStringA_stat @ 0x180140dd2
// > __acrt_LCMapStringA_stat @ 0x180140e7c
// > __crtLCMapStringW @ 0x180141235
// > ??> @ 0x180203428
//
// 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_LCMapStringEx(
__int64 a1,
DWORD a2,
const WCHAR *a3,
unsigned int a4,
WCHAR *lpDestStr,
int cchDest,
__int64 a7,
__int64 a8,
__int64 a9)
{
FARPROC function; // rax
LCID v15; // eax
function = try_get_function(0x14u, "LCMapStringEx", (unsigned int *)&unk_180174A60, (unsigned int *)"LCMapStringEx");
if ( function )
return ((__int64 (__fastcall *)(__int64, _QWORD, const WCHAR *, _QWORD, WCHAR *, int, __int64, __int64, __int64))function)(
a1,
a2,
a3,
a4,
lpDestStr,
cchDest,
a7,
a8,
a9);
v15 = _acrt_LocaleNameToLCID(a1, 0);
return LCMapStringW(v15, a2, a3, a4, lpDestStr, cchDest);
}