//
// __acrt_LCMapStringA from 0x180140f2c to 0x180140fc2 (150 bytes)
//
// 3 xrefs:
// > setSBUpLow @ 0x18013a4ad
// > setSBUpLow @ 0x18013a4e6
// > ??> @ 0x180203c5c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:55:05 +0000
//
int __fastcall _acrt_LCMapStringA(
struct __crt_locale_pointers *a1,
wchar_t *a2,
DWORD a3,
char *a4,
int a5,
char *a6,
int a7,
UINT a8,
int a9)
{
int result; // eax
__int64 v13; // [rsp+50h] [rbp-28h] BYREF
struct __crt_locale_pointers v14; // [rsp+58h] [rbp-20h] BYREF
char v15; // [rsp+68h] [rbp-10h]
_LocaleUpdate::_LocaleUpdate((_LocaleUpdate *)&v13, a1);
result = __acrt_LCMapStringA_stat(&v14, a2, a3, a4, a5, a6, a7, a8, a9);
if ( v15 )
*(_DWORD *)(v13 + 936) &= ~2u;
return result;
}