{"type": "func", "start": 6443746508, "end": 6443746618, "name": "__acrt_update_thread_locale_data", "pseudocode": "// \n// __acrt_update_thread_locale_data from 0x18013c4cc to 0x18013c53a (110 bytes)\n// \n// 3 xrefs:\n// > sub_180135F5C @ 0x180135f7f\n// > <???> @ 0x1802039d4\n// > <???> @ 0x1802039e0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 _acrt_update_thread_locale_data()\n{\n  __int64 v0; // rax\n  __int64 *v1; // rdi\n  __int64 v2; // rbx\n\n  v0 = _acrt_getptd();\n  v1 = (__int64 *)(v0 + 144);\n  if ( (*(_DWORD *)(v0 + 936) & dword_1801B1F90) == 0 || (v2 = *v1) == 0 )\n  {\n    sub_1801346AC(4);\n    v2 = updatetlocinfoEx_nolock(v1, qword_1801F5158);\n    sub_180134700(4);\n    if ( !v2 )\n      abort();\n  }\n  return v2;\n}", "assembly": "; \n; __acrt_update_thread_locale_data from 0x18013c4cc to 0x18013c53a (110 bytes)\n; \n; 3 xrefs:\n; > sub_180135F5C @ 0x180135f7f\n; > <???> @ 0x1802039d4\n; > <???> @ 0x1802039e0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18013c4cc\npush    rdi                                                            ; +0x5, 0x18013c4d1\nsub     rsp, 20h                                                       ; +0x6, 0x18013c4d2\ncall    __acrt_getptd                                                  ; +0xa, 0x18013c4d6\nlea     rdi, [rax+90h]                                                 ; +0xf, 0x18013c4db\nmov     ecx, [rax+3A8h]                                                ; +0x16, 0x18013c4e2\nmov     eax, cs:dword_1801B1F90                                        ; +0x1c, 0x18013c4e8\ntest    eax, ecx                                                       ; +0x22, 0x18013c4ee\njz      short loc_18013C4FA                                            ; +0x24, 0x18013c4f0\nmov     rbx, [rdi]                                                     ; +0x26, 0x18013c4f2\ntest    rbx, rbx                                                       ; +0x29, 0x18013c4f5\njnz     short loc_18013C526                                            ; +0x2c, 0x18013c4f8\nmov     ecx, 4                                                         ; +0x2e, 0x18013c4fa\ncall    sub_1801346AC                                                  ; +0x33, 0x18013c4ff\nnop                                                                    ; +0x38, 0x18013c504\nmov     rdx, cs:qword_1801F5158                                        ; +0x39, 0x18013c505\nmov     rcx, rdi                                                       ; +0x40, 0x18013c50c\ncall    _updatetlocinfoEx_nolock                                       ; +0x43, 0x18013c50f\nmov     rbx, rax                                                       ; +0x48, 0x18013c514\nmov     ecx, 4                                                         ; +0x4b, 0x18013c517\ncall    sub_180134700                                                  ; +0x50, 0x18013c51c\ntest    rbx, rbx                                                       ; +0x55, 0x18013c521\njz      short loc_18013C534                                            ; +0x58, 0x18013c524\nmov     rax, rbx                                                       ; +0x5a, 0x18013c526\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x18013c529\nadd     rsp, 20h                                                       ; +0x62, 0x18013c52e\npop     rdi                                                            ; +0x66, 0x18013c532\nretn                                                                   ; +0x67, 0x18013c533\ncall    abort                                                          ; +0x68, 0x18013c534\nalign 2                                                                ; +0x6d, 0x18013c539", "xrefs": ["sub_180135F5C @ 0x180135f7f", "<???> @ 0x1802039d4", "<???> @ 0x1802039e0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}