//
// sub_180135F90 from 0x180135f90 to 0x180135fc1 (49 bytes)
//
// 2 xrefs:
// > _LocaleUpdate::_LocaleUpdate @ 0x1801294bd
// > ??> @ 0x1802034ac
//
// 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:00 +0000
//
__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;
}