{"type": "func", "start": 6443749968, "end": 6443750095, "name": "tzset_os_copy_to_tzname", "pseudocode": "// \n// tzset_os_copy_to_tzname from 0x18013d250 to 0x18013d2cf (127 bytes)\n// \n// 4 xrefs:\n// > tzset_from_system_nolock @ 0x18013d0ec\n// > tzset_from_system_nolock @ 0x18013d103\n// > <???> @ 0x180203a64\n// > <???> @ 0x180203a70\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:55:03 +0000\n// \n\nvoid __fastcall tzset_os_copy_to_tzname(const wchar_t *Source, wchar_t *const Destination, char *const a3, UINT a4)\n{\n  if ( wcsncpy_s(Destination, 0x40u, Source, 0x20u) )\n    invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n  _acrt_WideCharToMultiByte(a4, 0, Source, -1, a3, 64, nullptr, nullptr);\n}", "assembly": "; \n; tzset_os_copy_to_tzname from 0x18013d250 to 0x18013d2cf (127 bytes)\n; \n; 4 xrefs:\n; > tzset_from_system_nolock @ 0x18013d0ec\n; > tzset_from_system_nolock @ 0x18013d103\n; > <???> @ 0x180203a64\n; > <???> @ 0x180203a70\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:55:03 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18013d250\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18013d255\npush    rdi                                                            ; +0xa, 0x18013d25a\nsub     rsp, 40h                                                       ; +0xb, 0x18013d25b\nmov     rax, rdx                                                       ; +0xf, 0x18013d25f\nmov     edi, r9d                                                       ; +0x12, 0x18013d262\nmov     r9d, 20h ; ' '; MaxCount                                       ; +0x15, 0x18013d265\nmov     rsi, r8                                                        ; +0x1b, 0x18013d26b\nmov     rbx, rcx                                                       ; +0x1e, 0x18013d26e\nmov     r8, rcx; Source                                                ; +0x21, 0x18013d271\nmov     rcx, rax; Destination                                          ; +0x24, 0x18013d274\nlea     edx, [r9+20h]; SizeInWords                                     ; +0x27, 0x18013d277\ncall    wcsncpy_s                                                      ; +0x2b, 0x18013d27b\nxor     ecx, ecx; Expression                                           ; +0x30, 0x18013d280\ntest    eax, eax                                                       ; +0x32, 0x18013d282\njnz     short loc_18013D2BD                                            ; +0x34, 0x18013d284\nmov     [rsp+48h+var_10], rcx                                          ; +0x36, 0x18013d286\nor      r9d, 0FFFFFFFFh                                                ; +0x3b, 0x18013d28b\nmov     [rsp+48h+var_18], rcx                                          ; +0x3f, 0x18013d28f\nmov     r8, rbx                                                        ; +0x44, 0x18013d294\nmov     [rsp+48h+var_20], 40h ; '@'                                    ; +0x47, 0x18013d297\nmov     ecx, edi                                                       ; +0x4f, 0x18013d29f\nxor     edx, edx                                                       ; +0x51, 0x18013d2a1\nmov     [rsp+48h+Reserved], rsi                                        ; +0x53, 0x18013d2a3\ncall    __acrt_WideCharToMultiByte                                     ; +0x58, 0x18013d2a8\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x5d, 0x18013d2ad\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x62, 0x18013d2b2\nadd     rsp, 40h                                                       ; +0x67, 0x18013d2b7\npop     rdi                                                            ; +0x6b, 0x18013d2bb\nretn                                                                   ; +0x6c, 0x18013d2bc\nxor     r9d, r9d; LineNo                                               ; +0x6d, 0x18013d2bd\nmov     [rsp+48h+Reserved], rcx; Reserved                              ; +0x70, 0x18013d2c0\nxor     r8d, r8d; FileName                                             ; +0x75, 0x18013d2c5\nxor     edx, edx; FunctionName                                         ; +0x78, 0x18013d2c8\ncall    _invoke_watson                                                 ; +0x7a, 0x18013d2ca", "xrefs": ["tzset_from_system_nolock @ 0x18013d0ec", "tzset_from_system_nolock @ 0x18013d103", "<???> @ 0x180203a64", "<???> @ 0x180203a70"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}