; ; __acrt_CompareStringEx from 0x1801358b4 to 0x180135990 (220 bytes) ; ; 3 xrefs: ; > __crtCompareStringW @ 0x18013b904 ; > InternalCompareStringA @ 0x18013bdd0 ; > @ 0x1802033e0 ; ; 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, 0x1801358b4 mov [rsp+arg_8], rbp ; +0x5, 0x1801358b9 mov [rsp+arg_10], rsi ; +0xa, 0x1801358be push rdi ; +0xf, 0x1801358c3 sub rsp, 50h ; +0x10, 0x1801358c4 mov ebx, r9d ; +0x14, 0x1801358c8 mov rdi, r8 ; +0x17, 0x1801358cb mov esi, edx ; +0x1a, 0x1801358ce lea r9, aComparestringe ; +0x1c, 0x1801358d0 mov rbp, rcx ; +0x23, 0x1801358d7 lea r8, unk_1801749A0 ; +0x26, 0x1801358da lea rdx, aComparestringe ; +0x2d, 0x1801358e1 mov ecx, 1 ; +0x34, 0x1801358e8 call ?try_get_function@@YAPEAXW4function_id@?A0x37284e77@@QEBDQEBW4module_id@2@2@Z ; +0x39, 0x1801358ed test rax, rax ; +0x3e, 0x1801358f2 jz short loc_180135949 ; +0x41, 0x1801358f5 mov r8, [rsp+58h+arg_40] ; +0x43, 0x1801358f7 mov r9d, ebx ; +0x4b, 0x1801358ff mov rcx, [rsp+58h+arg_38] ; +0x4e, 0x180135902 mov edx, esi ; +0x56, 0x18013590a mov [rsp+58h+var_18], r8 ; +0x58, 0x18013590c mov r8, rdi ; +0x5d, 0x180135911 mov [rsp+58h+var_20], rcx ; +0x60, 0x180135914 mov rcx, [rsp+58h+arg_30] ; +0x65, 0x180135919 mov [rsp+58h+var_28], rcx ; +0x6d, 0x180135921 mov ecx, [rsp+58h+arg_28] ; +0x72, 0x180135926 mov [rsp+58h+cchCount2], ecx ; +0x79, 0x18013592d mov rcx, [rsp+58h+arg_20] ; +0x7d, 0x180135931 mov [rsp+58h+lpString2], rcx ; +0x85, 0x180135939 mov rcx, rbp ; +0x8a, 0x18013593e call cs:__guard_dispatch_icall_fptr ; +0x8d, 0x180135941 jmp short loc_18013597B ; +0x93, 0x180135947 xor edx, edx ; +0x95, 0x180135949 mov rcx, rbp ; +0x97, 0x18013594b call __acrt_LocaleNameToLCID ; +0x9a, 0x18013594e mov ecx, eax; Locale ; +0x9f, 0x180135953 mov r9d, ebx; cchCount1 ; +0xa1, 0x180135955 mov eax, [rsp+58h+arg_28] ; +0xa4, 0x180135958 mov r8, rdi; lpString1 ; +0xab, 0x18013595f mov [rsp+58h+cchCount2], eax; cchCount2 ; +0xae, 0x180135962 mov edx, esi; dwCmpFlags ; +0xb2, 0x180135966 mov rax, [rsp+58h+arg_20] ; +0xb4, 0x180135968 mov [rsp+58h+lpString2], rax; lpString2 ; +0xbc, 0x180135970 call cs:CompareStringW ; +0xc1, 0x180135975 mov rbx, [rsp+58h+arg_0] ; +0xc7, 0x18013597b mov rbp, [rsp+58h+arg_8] ; +0xcc, 0x180135980 mov rsi, [rsp+58h+arg_10] ; +0xd1, 0x180135985 add rsp, 50h ; +0xd6, 0x18013598a pop rdi ; +0xda, 0x18013598e retn ; +0xdb, 0x18013598f