; ; DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch from 0x18001a3b0 to 0x18001a56f (447 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b8a40 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:26 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18001a3b0 mov [rsp+arg_0], rcx ; +0x5, 0x18001a3b5 push rbp ; +0xa, 0x18001a3ba push rsi ; +0xb, 0x18001a3bb push rdi ; +0xc, 0x18001a3bc push r12 ; +0xd, 0x18001a3bd push r13 ; +0xf, 0x18001a3bf push r14 ; +0x11, 0x18001a3c1 push r15 ; +0x13, 0x18001a3c3 sub rsp, 20h ; +0x15, 0x18001a3c5 mov rsi, rcx ; +0x19, 0x18001a3c9 lea rbp, aKey; "key" ; +0x1c, 0x18001a3cc mov r12, rdx ; +0x23, 0x18001a3d3 lea r8, aK; "k" ; +0x26, 0x18001a3d6 xor r13d, r13d ; +0x2d, 0x18001a3dd lea rdx, [rsp+58h+arg_10] ; +0x30, 0x18001a3e0 cmp [rcx+0E8h], r13b ; +0x35, 0x18001a3e5 mov rcx, [rcx+0D8h] ; +0x3c, 0x18001a3ec cmovnz r8, rbp ; +0x43, 0x18001a3f3 sub rcx, 8 ; +0x47, 0x18001a3f7 call sub_180082A40 ; +0x4b, 0x18001a3fb lea rcx, [rsp+58h+arg_10] ; +0x50, 0x18001a400 call sub_1800823F0 ; +0x55, 0x18001a405 test rax, rax ; +0x5a, 0x18001a40a jz loc_18001A543 ; +0x5d, 0x18001a40d lea rcx, [rsp+58h+arg_10] ; +0x63, 0x18001a413 call sub_180082AC0 ; +0x68, 0x18001a418 mov rcx, r12 ; +0x6d, 0x18001a41d mov rbx, rax ; +0x70, 0x18001a420 mov rdi, r12 ; +0x73, 0x18001a423 call sub_18001C060 ; +0x76, 0x18001a426 mov rcx, rbx ; +0x7b, 0x18001a42b mov r15d, eax ; +0x7e, 0x18001a42e call sub_18001C060 ; +0x81, 0x18001a431 mov r14d, eax ; +0x86, 0x18001a436 test r15d, r15d ; +0x89, 0x18001a439 jnz short loc_18001A457 ; +0x8c, 0x18001a43c test eax, eax ; +0x8e, 0x18001a43e jnz loc_18001A56A ; +0x90, 0x18001a440 mov rdx, rbx; String2 ; +0x96, 0x18001a446 mov rcx, r12; String1 ; +0x99, 0x18001a449 call cs:_stricmp ; +0x9c, 0x18001a44c jmp loc_18001A4FF ; +0xa2, 0x18001a452 test r14d, r14d ; +0xa7, 0x18001a457 jz loc_18001A56A ; +0xaa, 0x18001a45a xor ebp, ebp ; +0xb0, 0x18001a460 xor esi, esi ; +0xb2, 0x18001a462 test r15d, r15d ; +0xb4, 0x18001a464 jle short loc_18001A4DE ; +0xb7, 0x18001a467 nop dword ptr [rax+00000000h] ; +0xb9, 0x18001a469 cmp esi, r14d ; +0xc0, 0x18001a470 jge loc_18001A56A ; +0xc3, 0x18001a473 movsx ecx, byte ptr [rdi]; C ; +0xc9, 0x18001a479 call cs:isdigit ; +0xcc, 0x18001a47c test eax, eax ; +0xd2, 0x18001a482 jnz short loc_18001A4A1 ; +0xd4, 0x18001a484 nop word ptr [rax+rax+00000000h] ; +0xd6, 0x18001a486 movsx ecx, byte ptr [rdi+1]; C ; +0xe0, 0x18001a490 inc rdi ; +0xe4, 0x18001a494 call cs:isdigit ; +0xe7, 0x18001a497 test eax, eax ; +0xed, 0x18001a49d jz short loc_18001A490 ; +0xef, 0x18001a49f movsx ecx, byte ptr [rbx]; C ; +0xf1, 0x18001a4a1 call cs:isdigit ; +0xf4, 0x18001a4a4 test eax, eax ; +0xfa, 0x18001a4aa jnz short loc_18001A4C1 ; +0xfc, 0x18001a4ac xchg ax, ax ; +0xfe, 0x18001a4ae movsx ecx, byte ptr [rbx+1]; C ; +0x100, 0x18001a4b0 inc rbx ; +0x104, 0x18001a4b4 call cs:isdigit ; +0x107, 0x18001a4b7 test eax, eax ; +0x10d, 0x18001a4bd jz short loc_18001A4B0 ; +0x10f, 0x18001a4bf movsx ecx, byte ptr [rdi] ; +0x111, 0x18001a4c1 movsx eax, byte ptr [rbx] ; +0x114, 0x18001a4c4 cmp cl, al ; +0x117, 0x18001a4c7 jnz loc_18001A55A ; +0x119, 0x18001a4c9 inc rdi ; +0x11f, 0x18001a4cf inc rbx ; +0x122, 0x18001a4d2 inc ebp ; +0x125, 0x18001a4d5 inc esi ; +0x127, 0x18001a4d7 cmp ebp, r15d ; +0x129, 0x18001a4d9 jl short loc_18001A470 ; +0x12c, 0x18001a4dc cmp esi, r14d ; +0x12e, 0x18001a4de jl loc_18001A56A ; +0x131, 0x18001a4e1 mov rdx, rbx; String2 ; +0x137, 0x18001a4e7 mov rcx, rdi; String1 ; +0x13a, 0x18001a4ea call cs:_stricmp ; +0x13d, 0x18001a4ed mov rsi, [rsp+58h+arg_0] ; +0x143, 0x18001a4f3 lea rbp, aKey; "key" ; +0x148, 0x18001a4f8 mov ecx, eax ; +0x14f, 0x18001a4ff test ecx, ecx ; +0x151, 0x18001a501 jnz short loc_18001A56A ; +0x153, 0x18001a503 inc r13d ; +0x155, 0x18001a505 lea r8, aK; "k" ; +0x158, 0x18001a508 cmp [rsi+0E8h], cl ; +0x15f, 0x18001a50f lea rdx, [rsp+58h+arg_18] ; +0x165, 0x18001a515 lea rcx, [rsp+58h+arg_10] ; +0x16a, 0x18001a51a cmovnz r8, rbp ; +0x16f, 0x18001a51f call sub_180084A40 ; +0x173, 0x18001a523 mov rcx, [rax] ; +0x178, 0x18001a528 mov [rsp+58h+arg_10], rcx ; +0x17b, 0x18001a52b lea rcx, [rsp+58h+arg_10] ; +0x180, 0x18001a530 call sub_1800823F0 ; +0x185, 0x18001a535 test rax, rax ; +0x18a, 0x18001a53a jnz loc_18001A413 ; +0x18d, 0x18001a53d xor eax, eax ; +0x193, 0x18001a543 mov rbx, [rsp+58h+arg_8] ; +0x195, 0x18001a545 add rsp, 20h ; +0x19a, 0x18001a54a pop r15 ; +0x19e, 0x18001a54e pop r14 ; +0x1a0, 0x18001a550 pop r13 ; +0x1a2, 0x18001a552 pop r12 ; +0x1a4, 0x18001a554 pop rdi ; +0x1a6, 0x18001a556 pop rsi ; +0x1a7, 0x18001a557 pop rbp ; +0x1a8, 0x18001a558 retn ; +0x1a9, 0x18001a559 mov rsi, [rsp+58h+arg_0] ; +0x1aa, 0x18001a55a lea rbp, aKey; "key" ; +0x1af, 0x18001a55f sub ecx, eax ; +0x1b6, 0x18001a566 jmp short loc_18001A501 ; +0x1b8, 0x18001a568 mov eax, r13d ; +0x1ba, 0x18001a56a jmp short loc_18001A545 ; +0x1bd, 0x18001a56d