; ; replace_current_thread_locale_nolock from 0x18013520c to 0x180135273 (103 bytes) ; ; 3 xrefs: ; > __crt_seh_guarded_call::operator @ 0x180134f61 ; > __crt_seh_guarded_call::operator @ 0x180134fa9 ; > @ 0x180203344 ; ; 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, 0x18013520c push rdi ; +0x5, 0x180135211 sub rsp, 20h ; +0x6, 0x180135212 mov rdi, rcx ; +0xa, 0x180135216 mov rbx, rdx ; +0xd, 0x180135219 mov rcx, [rcx+90h] ; +0x10, 0x18013521c test rcx, rcx ; +0x17, 0x180135223 jz short loc_180135254 ; +0x1a, 0x180135226 call __acrt_release_locale_ref ; +0x1c, 0x180135228 mov rcx, [rdi+90h]; Block ; +0x21, 0x18013522d cmp rcx, cs:qword_1801F5158 ; +0x28, 0x180135234 jz short loc_180135254 ; +0x2f, 0x18013523b lea rax, off_1801B1880 ; +0x31, 0x18013523d cmp rcx, rax ; +0x38, 0x180135244 jz short loc_180135254 ; +0x3b, 0x180135247 cmp dword ptr [rcx+10h], 0 ; +0x3d, 0x180135249 jnz short loc_180135254 ; +0x41, 0x18013524d call __acrt_free_locale ; +0x43, 0x18013524f mov [rdi+90h], rbx ; +0x48, 0x180135254 test rbx, rbx ; +0x4f, 0x18013525b jz short loc_180135268 ; +0x52, 0x18013525e mov rcx, rbx ; +0x54, 0x180135260 call __acrt_add_locale_ref ; +0x57, 0x180135263 mov rbx, [rsp+28h+arg_0] ; +0x5c, 0x180135268 add rsp, 20h ; +0x61, 0x18013526d pop rdi ; +0x65, 0x180135271 retn ; +0x66, 0x180135272