; ; DS_Dictionary::getIndexOfKey from 0x18001a510 to 0x18001a5df (207 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801ae9e0 ; ; 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_8], rbx ; +0x0, 0x18001a510 push rbp ; +0x5, 0x18001a515 push rsi ; +0x6, 0x18001a516 push rdi ; +0x7, 0x18001a517 sub rsp, 20h ; +0x8, 0x18001a518 mov rsi, rcx ; +0xc, 0x18001a51c lea rbp, aKey; "key" ; +0xf, 0x18001a51f mov rdi, rdx ; +0x16, 0x18001a526 lea r8, aK; "k" ; +0x19, 0x18001a529 xor ebx, ebx ; +0x20, 0x18001a530 lea rdx, [rsp+38h+arg_0] ; +0x22, 0x18001a532 cmp [rcx+0E8h], bl ; +0x27, 0x18001a537 mov rcx, [rcx+0D8h] ; +0x2d, 0x18001a53d cmovnz r8, rbp ; +0x34, 0x18001a544 sub rcx, 8 ; +0x38, 0x18001a548 call sub_18007FB10 ; +0x3c, 0x18001a54c lea rcx, [rsp+38h+arg_0] ; +0x41, 0x18001a551 call sub_18007F4E0 ; +0x46, 0x18001a556 test rax, rax ; +0x4b, 0x18001a55b jz short loc_18001A5C1 ; +0x4e, 0x18001a55e lea rcx, [rsp+38h+arg_0] ; +0x50, 0x18001a560 call sub_18007FB70 ; +0x55, 0x18001a565 mov r8, rdi ; +0x5a, 0x18001a56a sub r8, rax ; +0x5d, 0x18001a56d movzx edx, byte ptr [rax] ; +0x60, 0x18001a570 movzx ecx, byte ptr [rax+r8] ; +0x63, 0x18001a573 sub edx, ecx ; +0x68, 0x18001a578 jnz short loc_18001A583 ; +0x6a, 0x18001a57a inc rax ; +0x6c, 0x18001a57c test ecx, ecx ; +0x6f, 0x18001a57f jnz short loc_18001A570 ; +0x71, 0x18001a581 test edx, edx ; +0x73, 0x18001a583 jz short loc_18001A5D0 ; +0x75, 0x18001a585 inc ebx ; +0x77, 0x18001a587 lea r8, aK; "k" ; +0x79, 0x18001a589 cmp byte ptr [rsi+0E8h], 0 ; +0x80, 0x18001a590 lea rdx, [rsp+38h+arg_10] ; +0x87, 0x18001a597 lea rcx, [rsp+38h+arg_0] ; +0x8c, 0x18001a59c cmovnz r8, rbp ; +0x91, 0x18001a5a1 call sub_180081A50 ; +0x95, 0x18001a5a5 mov rcx, [rax] ; +0x9a, 0x18001a5aa mov [rsp+38h+arg_0], rcx ; +0x9d, 0x18001a5ad lea rcx, [rsp+38h+arg_0] ; +0xa2, 0x18001a5b2 call sub_18007F4E0 ; +0xa7, 0x18001a5b7 test rax, rax ; +0xac, 0x18001a5bc jnz short loc_18001A560 ; +0xaf, 0x18001a5bf xor eax, eax ; +0xb1, 0x18001a5c1 mov rbx, [rsp+38h+arg_8] ; +0xb3, 0x18001a5c3 add rsp, 20h ; +0xb8, 0x18001a5c8 pop rdi ; +0xbc, 0x18001a5cc pop rsi ; +0xbd, 0x18001a5cd pop rbp ; +0xbe, 0x18001a5ce retn ; +0xbf, 0x18001a5cf mov eax, ebx ; +0xc0, 0x18001a5d0 mov rbx, [rsp+38h+arg_8] ; +0xc2, 0x18001a5d2 add rsp, 20h ; +0xc7, 0x18001a5d7 pop rdi ; +0xcb, 0x18001a5db pop rsi ; +0xcc, 0x18001a5dc pop rbp ; +0xcd, 0x18001a5dd retn ; +0xce, 0x18001a5de