; ; DS_Dictionary::getIntegerForKey from 0x18001a790 to 0x18001a8da (330 bytes) ; ; 7 xrefs: ; > DS_Dictionary::decodeObjectForKey @ 0x180019b4a ; > DS_Dictionary::getDictForKey @ 0x18001a0c4 ; > DS_Dictionary::getDictForKey @ 0x18001a0de ; > DS_Dictionary::getObjectForKey @ 0x18001abb5 ; > DS_Dictionary::getObjectForKey @ 0x18001abcf ; > @ 0x1801438a8 ; > @ 0x1801ae9f8 ; ; 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, 0x18001a790 push rbp ; +0x5, 0x18001a795 push rsi ; +0x6, 0x18001a796 push rdi ; +0x7, 0x18001a797 sub rsp, 20h ; +0x8, 0x18001a798 cmp byte ptr [rcx+0E8h], 0 ; +0xc, 0x18001a79c lea rbp, aKey; "key" ; +0x13, 0x18001a7a3 mov rbx, rcx ; +0x1a, 0x18001a7aa lea r8, aK; "k" ; +0x1d, 0x18001a7ad mov rcx, [rcx+0D8h] ; +0x24, 0x18001a7b4 cmovnz r8, rbp ; +0x2b, 0x18001a7bb mov rdi, rdx ; +0x2f, 0x18001a7bf sub rcx, 8 ; +0x32, 0x18001a7c2 lea rdx, [rsp+38h+arg_0] ; +0x36, 0x18001a7c6 call sub_18007FB10 ; +0x3b, 0x18001a7cb lea rcx, [rsp+38h+arg_0] ; +0x40, 0x18001a7d0 call sub_18007F4E0 ; +0x45, 0x18001a7d5 test rax, rax ; +0x4a, 0x18001a7da jz loc_18001A8A5 ; +0x4d, 0x18001a7dd lea rsi, aInteger; "integer" ; +0x53, 0x18001a7e3 nop word ptr [rax+rax+00h] ; +0x5a, 0x18001a7ea lea rcx, [rsp+38h+arg_0] ; +0x60, 0x18001a7f0 call sub_18007FB70 ; +0x65, 0x18001a7f5 mov rcx, rdi ; +0x6a, 0x18001a7fa sub rax, rdi ; +0x6d, 0x18001a7fd movzx r8d, byte ptr [rcx] ; +0x70, 0x18001a800 movzx edx, byte ptr [rcx+rax] ; +0x74, 0x18001a804 sub r8d, edx ; +0x78, 0x18001a808 jnz short loc_18001A814 ; +0x7b, 0x18001a80b inc rcx ; +0x7d, 0x18001a80d test edx, edx ; +0x80, 0x18001a810 jnz short loc_18001A800 ; +0x82, 0x18001a812 test r8d, r8d ; +0x84, 0x18001a814 jnz short loc_18001A869 ; +0x87, 0x18001a817 lea rdx, [rsp+38h+arg_10] ; +0x89, 0x18001a819 lea rcx, [rsp+38h+arg_0] ; +0x8e, 0x18001a81e call sub_180081AB0 ; +0x93, 0x18001a823 lea rcx, [rsp+38h+arg_10] ; +0x98, 0x18001a828 call sub_180081A30 ; +0x9d, 0x18001a82d cmp byte ptr [rbx+0E8h], 0 ; +0xa2, 0x18001a832 lea rcx, aI; "i" ; +0xa9, 0x18001a839 cmovnz rcx, rsi ; +0xb0, 0x18001a840 sub rax, rcx ; +0xb4, 0x18001a844 nop word ptr [rax+rax+00000000h] ; +0xb7, 0x18001a847 movzx r8d, byte ptr [rcx] ; +0xc0, 0x18001a850 movzx edx, byte ptr [rcx+rax] ; +0xc4, 0x18001a854 sub r8d, edx ; +0xc8, 0x18001a858 jnz short loc_18001A864 ; +0xcb, 0x18001a85b inc rcx ; +0xcd, 0x18001a85d test edx, edx ; +0xd0, 0x18001a860 jnz short loc_18001A850 ; +0xd2, 0x18001a862 test r8d, r8d ; +0xd4, 0x18001a864 jz short loc_18001A8B4 ; +0xd7, 0x18001a867 cmp byte ptr [rbx+0E8h], 0 ; +0xd9, 0x18001a869 lea r8, aK; "k" ; +0xe0, 0x18001a870 lea rdx, [rsp+38h+arg_18] ; +0xe7, 0x18001a877 cmovnz r8, rbp ; +0xec, 0x18001a87c lea rcx, [rsp+38h+arg_0] ; +0xf0, 0x18001a880 call sub_180081A50 ; +0xf5, 0x18001a885 mov rcx, [rax] ; +0xfa, 0x18001a88a mov [rsp+38h+arg_0], rcx ; +0xfd, 0x18001a88d lea rcx, [rsp+38h+arg_0] ; +0x102, 0x18001a892 call sub_18007F4E0 ; +0x107, 0x18001a897 test rax, rax ; +0x10c, 0x18001a89c jnz loc_18001A7F0 ; +0x10f, 0x18001a89f xor eax, eax ; +0x115, 0x18001a8a5 mov rbx, [rsp+38h+arg_8] ; +0x117, 0x18001a8a7 add rsp, 20h ; +0x11c, 0x18001a8ac pop rdi ; +0x120, 0x18001a8b0 pop rsi ; +0x121, 0x18001a8b1 pop rbp ; +0x122, 0x18001a8b2 retn ; +0x123, 0x18001a8b3 lea rcx, [rsp+38h+arg_10] ; +0x124, 0x18001a8b4 call sub_18007FB70 ; +0x129, 0x18001a8b9 xor edx, edx; EndPtr ; +0x12e, 0x18001a8be mov rcx, rax; String ; +0x130, 0x18001a8c0 lea r8d, [rdx+0Ah]; Radix ; +0x133, 0x18001a8c3 call cs:strtol ; +0x137, 0x18001a8c7 mov rbx, [rsp+38h+arg_8] ; +0x13d, 0x18001a8cd add rsp, 20h ; +0x142, 0x18001a8d2 pop rdi ; +0x146, 0x18001a8d6 pop rsi ; +0x147, 0x18001a8d7 pop rbp ; +0x148, 0x18001a8d8 retn ; +0x149, 0x18001a8d9