{"type": "func", "start": 6443720540, "end": 6443720589, "name": "sub_180135F5C", "pseudocode": "// \n// sub_180135F5C from 0x180135f5c to 0x180135f8d (49 bytes)\n// \n// 4 xrefs:\n// > _LocaleUpdate::_LocaleUpdate @ 0x1801294b1\n// > __pctype_func @ 0x180136b11\n// > ___lc_codepage_func @ 0x18013d35d\n// > <???> @ 0x1802034a0\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:00 +0000\n// \n\n__int64 __fastcall sub_180135F5C(__int64 a1, __int64 *a2)\n{\n  __int64 result; // rax\n\n  result = qword_1801F5158;\n  if ( *a2 != qword_1801F5158 )\n  {\n    result = *(unsigned int *)(a1 + 936);\n    if ( ((unsigned int)result & dword_1801B1F90) == 0 )\n    {\n      result = _acrt_update_thread_locale_data();\n      *a2 = result;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_180135F5C from 0x180135f5c to 0x180135f8d (49 bytes)\n; \n; 4 xrefs:\n; > _LocaleUpdate::_LocaleUpdate @ 0x1801294b1\n; > __pctype_func @ 0x180136b11\n; > ___lc_codepage_func @ 0x18013d35d\n; > <???> @ 0x1802034a0\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:00 +0000\n; \npush    rbx                                                            ; +0x0, 0x180135f5c\nsub     rsp, 20h                                                       ; +0x2, 0x180135f5e\nmov     rax, cs:qword_1801F5158                                        ; +0x6, 0x180135f62\nmov     rbx, rdx                                                       ; +0xd, 0x180135f69\ncmp     [rdx], rax                                                     ; +0x10, 0x180135f6c\njz      short loc_180135F87                                            ; +0x13, 0x180135f6f\nmov     eax, [rcx+3A8h]                                                ; +0x15, 0x180135f71\ntest    cs:dword_1801B1F90, eax                                        ; +0x1b, 0x180135f77\njnz     short loc_180135F87                                            ; +0x21, 0x180135f7d\ncall    __acrt_update_thread_locale_data                               ; +0x23, 0x180135f7f\nmov     [rbx], rax                                                     ; +0x28, 0x180135f84\nadd     rsp, 20h                                                       ; +0x2b, 0x180135f87\npop     rbx                                                            ; +0x2f, 0x180135f8b\nretn                                                                   ; +0x30, 0x180135f8c", "xrefs": ["_LocaleUpdate::_LocaleUpdate @ 0x1801294b1", "__pctype_func @ 0x180136b11", "___lc_codepage_func @ 0x18013d35d", "<???> @ 0x1802034a0"], "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"}