; ; _strnicmp_l from 0x18013ba28 to 0x18013bad5 (173 bytes) ; ; 3 xrefs: ; > _strnicoll_l @ 0x1801345f5 ; > _strnicmp @ 0x18013ba22 ; > @ 0x180203968 ; ; 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, 0x18013ba28 mov [rsp+arg_8], rsi ; +0x5, 0x18013ba2d push rdi ; +0xa, 0x18013ba32 sub rsp, 40h ; +0xb, 0x18013ba33 mov rbx, r8 ; +0xf, 0x18013ba37 mov rdi, rdx ; +0x12, 0x18013ba3a mov rsi, rcx ; +0x15, 0x18013ba3d test rcx, rcx ; +0x18, 0x18013ba40 jnz short loc_18013BA5C ; +0x1b, 0x18013ba43 call _errno ; +0x1d, 0x18013ba45 mov dword ptr [rax], 16h ; +0x22, 0x18013ba4a call _invalid_parameter_noinfo ; +0x28, 0x18013ba50 mov eax, 7FFFFFFFh ; +0x2d, 0x18013ba55 jmp short loc_18013BAC5 ; +0x32, 0x18013ba5a test rdx, rdx ; +0x34, 0x18013ba5c jz short loc_18013BA45 ; +0x37, 0x18013ba5f cmp rbx, 7FFFFFFFh ; +0x39, 0x18013ba61 ja short loc_18013BA45 ; +0x40, 0x18013ba68 test rbx, rbx ; +0x42, 0x18013ba6a jnz short loc_18013BA73 ; +0x45, 0x18013ba6d xor eax, eax ; +0x47, 0x18013ba6f jmp short loc_18013BAC5 ; +0x49, 0x18013ba71 mov rdx, r9; struct __crt_locale_pointers * ; +0x4b, 0x18013ba73 lea rcx, [rsp+48h+var_28]; this ; +0x4e, 0x18013ba76 call ??0_LocaleUpdate@@QEAA@QEAU__crt_locale_pointers@@@Z ; +0x53, 0x18013ba7b mov rax, [rsp+48h+var_20] ; +0x58, 0x18013ba80 mov r8, [rax+110h] ; +0x5d, 0x18013ba85 movzx eax, byte ptr [rsi] ; +0x64, 0x18013ba8c inc rsi ; +0x67, 0x18013ba8f movzx edx, byte ptr [rax+r8] ; +0x6a, 0x18013ba92 movzx eax, byte ptr [rdi] ; +0x6f, 0x18013ba97 inc rdi ; +0x72, 0x18013ba9a movzx ecx, byte ptr [rax+r8] ; +0x75, 0x18013ba9d mov eax, edx ; +0x7a, 0x18013baa2 sub eax, ecx ; +0x7c, 0x18013baa4 jnz short loc_18013BAB2 ; +0x7e, 0x18013baa6 test edx, edx ; +0x80, 0x18013baa8 jz short loc_18013BAB2 ; +0x82, 0x18013baaa sub rbx, 1 ; +0x84, 0x18013baac jnz short loc_18013BA8C ; +0x88, 0x18013bab0 cmp [rsp+48h+var_10], 0 ; +0x8a, 0x18013bab2 jz short loc_18013BAC5 ; +0x8f, 0x18013bab7 mov rcx, [rsp+48h+var_28] ; +0x91, 0x18013bab9 and dword ptr [rcx+3A8h], 0FFFFFFFDh ; +0x96, 0x18013babe mov rbx, [rsp+48h+arg_0] ; +0x9d, 0x18013bac5 mov rsi, [rsp+48h+arg_8] ; +0xa2, 0x18013baca add rsp, 40h ; +0xa7, 0x18013bacf pop rdi ; +0xab, 0x18013bad3 retn ; +0xac, 0x18013bad4