//
// tzset_os_copy_to_tzname from 0x18013d250 to 0x18013d2cf (127 bytes)
//
// 4 xrefs:
// > tzset_from_system_nolock @ 0x18013d0ec
// > tzset_from_system_nolock @ 0x18013d103
// > ??> @ 0x180203a64
// > ??> @ 0x180203a70
//
// 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
//
void __fastcall tzset_os_copy_to_tzname(const wchar_t *Source, wchar_t *const Destination, char *const a3, UINT a4)
{
if ( wcsncpy_s(Destination, 0x40u, Source, 0x20u) )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
_acrt_WideCharToMultiByte(a4, 0, Source, -1, a3, 64, nullptr, nullptr);
}