; ; _updatetlocinfoEx_nolock from 0x18013c53c to 0x18013c5a1 (101 bytes) ; ; 3 xrefs: ; > __crt_seh_guarded_call::operator @ 0x1801365c5 ; > __acrt_update_thread_locale_data @ 0x18013c50f ; > @ 0x1802039ec ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18013c53c push rdi ; +0x5, 0x18013c541 sub rsp, 20h ; +0x6, 0x18013c542 mov rdi, rdx ; +0xa, 0x18013c546 test rdx, rdx ; +0xd, 0x18013c549 jz short loc_18013C594 ; +0x10, 0x18013c54c test rcx, rcx ; +0x12, 0x18013c54e jz short loc_18013C594 ; +0x15, 0x18013c551 mov rbx, [rcx] ; +0x17, 0x18013c553 cmp rbx, rdx ; +0x1a, 0x18013c556 jnz short loc_18013C560 ; +0x1d, 0x18013c559 mov rax, rdi ; +0x1f, 0x18013c55b jmp short loc_18013C596 ; +0x22, 0x18013c55e mov [rcx], rdi ; +0x24, 0x18013c560 mov rcx, rdi ; +0x27, 0x18013c563 call __acrt_add_locale_ref ; +0x2a, 0x18013c566 test rbx, rbx ; +0x2f, 0x18013c56b jz short loc_18013C55B ; +0x32, 0x18013c56e mov rcx, rbx ; +0x34, 0x18013c570 call __acrt_release_locale_ref ; +0x37, 0x18013c573 cmp dword ptr [rbx+10h], 0 ; +0x3c, 0x18013c578 jnz short loc_18013C55B ; +0x40, 0x18013c57c lea rax, off_1801B1880 ; +0x42, 0x18013c57e cmp rbx, rax ; +0x49, 0x18013c585 jz short loc_18013C55B ; +0x4c, 0x18013c588 mov rcx, rbx; Block ; +0x4e, 0x18013c58a call __acrt_free_locale ; +0x51, 0x18013c58d jmp short loc_18013C55B ; +0x56, 0x18013c592 xor eax, eax ; +0x58, 0x18013c594 mov rbx, [rsp+28h+arg_0] ; +0x5a, 0x18013c596 add rsp, 20h ; +0x5f, 0x18013c59b pop rdi ; +0x63, 0x18013c59f retn ; +0x64, 0x18013c5a0