; ; __crtLCMapStringW from 0x1801411c8 to 0x18014124f (135 bytes) ; ; 2 xrefs: ; > sub_18013C0DC @ 0x18013c169 ; > @ 0x180203c8c ; ; 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, 0x1801411c8 mov [rsp+arg_8], rbp ; +0x5, 0x1801411cd mov [rsp+arg_10], rsi ; +0xa, 0x1801411d2 push rdi ; +0xf, 0x1801411d7 sub rsp, 50h ; +0x10, 0x1801411d8 movsxd rbx, r9d ; +0x14, 0x1801411dc mov rdi, r8 ; +0x17, 0x1801411df mov esi, edx ; +0x1a, 0x1801411e2 mov rbp, rcx ; +0x1c, 0x1801411e4 test r9d, r9d ; +0x1f, 0x1801411e7 jle short loc_180141200 ; +0x22, 0x1801411ea mov rdx, rbx; MaxCount ; +0x24, 0x1801411ec mov rcx, r8; Source ; +0x27, 0x1801411ef call wcsnlen ; +0x2a, 0x1801411f2 cmp eax, ebx ; +0x2f, 0x1801411f7 lea ebx, [rax+1] ; +0x31, 0x1801411f9 jl short loc_180141200 ; +0x34, 0x1801411fc mov ebx, eax ; +0x36, 0x1801411fe and [rsp+58h+var_18], 0 ; +0x38, 0x180141200 mov r9d, ebx ; +0x3e, 0x180141206 and [rsp+58h+var_20], 0 ; +0x41, 0x180141209 mov r8, rdi ; +0x47, 0x18014120f and [rsp+58h+var_28], 0 ; +0x4a, 0x180141212 mov edx, esi ; +0x50, 0x180141218 mov eax, [rsp+58h+arg_28] ; +0x52, 0x18014121a mov rcx, rbp ; +0x59, 0x180141221 mov [rsp+58h+var_30], eax ; +0x5c, 0x180141224 mov rax, [rsp+58h+arg_20] ; +0x60, 0x180141228 mov [rsp+58h+var_38], rax ; +0x68, 0x180141230 call __acrt_LCMapStringEx ; +0x6d, 0x180141235 mov rbx, [rsp+58h+arg_0] ; +0x72, 0x18014123a mov rbp, [rsp+58h+arg_8] ; +0x77, 0x18014123f mov rsi, [rsp+58h+arg_10] ; +0x7c, 0x180141244 add rsp, 50h ; +0x81, 0x180141249 pop rdi ; +0x85, 0x18014124d retn ; +0x86, 0x18014124e