//
// sub_180135F90 from 0x180135f90 to 0x180135fc1 (49 bytes)
//
// 2 xrefs:
// > _LocaleUpdate::_LocaleUpdate @ 0x1801294bd
// > ??> @ 0x1802034ac
//
// 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_180135F90(__int64 a1, __int64 *a2)
{
__int64 result; // rax
result = (__int64)qword_1801F55D0;
if ( (struct __crt_multibyte_data *)*a2 != qword_1801F55D0 )
{
result = *(unsigned int *)(a1 + 936);
if ( ((unsigned int)result & dword_1801B1F90) == 0 )
{
result = _acrt_update_thread_multibyte_data();
*a2 = result;
}
}
return result;
}