; ; DS_Dictionary::addBoolValuesToMapForKeySpecial from 0x180018d60 to 0x1800190dc (892 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801ae914 ; ; 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-38h+arg_10], rbx ; +0x0, 0x180018d60 push rbp ; +0x5, 0x180018d65 push rsi ; +0x6, 0x180018d66 push rdi ; +0x7, 0x180018d67 push r12 ; +0x8, 0x180018d68 push r13 ; +0xa, 0x180018d6a push r14 ; +0xc, 0x180018d6c push r15 ; +0xe, 0x180018d6e mov rbp, rsp ; +0x10, 0x180018d70 sub rsp, 80h ; +0x13, 0x180018d73 mov rax, cs:__security_cookie ; +0x1a, 0x180018d7a xor rax, rsp ; +0x21, 0x180018d81 mov [rbp+var_8], rax ; +0x24, 0x180018d84 mov rax, r8 ; +0x28, 0x180018d88 mov [rbp+var_50], rax ; +0x2b, 0x180018d8b mov [rbp+var_58], rdx ; +0x2f, 0x180018d8f mov r12, rcx ; +0x33, 0x180018d93 test r8, r8 ; +0x36, 0x180018d96 jz short loc_180018DB0 ; +0x39, 0x180018d99 test r9b, r9b ; +0x3b, 0x180018d9b jnz short loc_180018DB0 ; +0x3e, 0x180018d9e mov rdx, rax; char * ; +0x40, 0x180018da0 call ?stepIntoSubDictWithKey@DS_Dictionary@@QEAA_NPEBD@Z; DS_Dictionary::stepIntoSubDictWithKey(char const *) ; +0x43, 0x180018da3 test al, al ; +0x48, 0x180018da8 jz loc_1800190AE ; +0x4a, 0x180018daa mov rcx, [r12+0D8h] ; +0x50, 0x180018db0 sub rcx, 8 ; +0x58, 0x180018db8 lea rdx, [rbp+var_60] ; +0x5c, 0x180018dbc call sub_180080CF0 ; +0x60, 0x180018dc0 lea rcx, [rbp+var_60] ; +0x65, 0x180018dc5 call sub_18007F4E0 ; +0x69, 0x180018dc9 test rax, rax ; +0x6e, 0x180018dce jz loc_180019084 ; +0x71, 0x180018dd1 lea rcx, [rbp+var_60] ; +0x77, 0x180018dd7 call sub_18007FB70 ; +0x7b, 0x180018ddb xorps xmm0, xmm0 ; +0x80, 0x180018de0 movups xmmword ptr [rbp+String], xmm0 ; +0x83, 0x180018de3 mov [rbp+var_18], 0 ; +0x87, 0x180018de7 mov [rbp+var_10], 0 ; +0x8f, 0x180018def mov r8, 0FFFFFFFFFFFFFFFFh ; +0x97, 0x180018df7 xchg ax, ax ; +0x9e, 0x180018dfe inc r8 ; +0xa0, 0x180018e00 cmp byte ptr [rax+r8], 0 ; +0xa3, 0x180018e03 jnz short loc_180018E00 ; +0xa8, 0x180018e08 mov rdx, rax ; +0xaa, 0x180018e0a lea rcx, [rbp+String] ; +0xad, 0x180018e0d call sub_18000CE60 ; +0xb1, 0x180018e11 nop ; +0xb6, 0x180018e16 lea rcx, [rbp+String] ; +0xb7, 0x180018e17 cmp [rbp+var_10], 0Fh ; +0xbb, 0x180018e1b cmova rcx, [rbp+String]; String ; +0xc0, 0x180018e20 call cs:atoi ; +0xc5, 0x180018e25 mov r13, [rbp+var_10] ; +0xcb, 0x180018e2b mov r15, [rbp+String] ; +0xcf, 0x180018e2f test eax, eax ; +0xd3, 0x180018e33 jg loc_18001901B ; +0xd5, 0x180018e35 lea rbx, [rbp+String] ; +0xdb, 0x180018e3b cmp r13, 0Fh ; +0xdf, 0x180018e3f setnbe sil ; +0xe3, 0x180018e43 cmova rbx, r15 ; +0xe7, 0x180018e47 mov r14, [rbp+var_18] ; +0xeb, 0x180018e4b cmp r14, 4 ; +0xef, 0x180018e4f jb loc_180018EDF ; +0xf3, 0x180018e53 lea rdi, [r14+rbx] ; +0xf9, 0x180018e59 lea r8, [rdi-3] ; +0xfd, 0x180018e5d sub r8, rbx; MaxCount ; +0x101, 0x180018e61 mov edx, 52h ; 'R'; Val ; +0x104, 0x180018e64 mov rcx, rbx; Buf ; +0x109, 0x180018e69 call memchr ; +0x10c, 0x180018e6c mov r9, rax ; +0x111, 0x180018e71 test rax, rax ; +0x114, 0x180018e74 jz short loc_180018EDF ; +0x117, 0x180018e77 nop dword ptr [rax+00000000h] ; +0x119, 0x180018e79 xor edx, edx ; +0x120, 0x180018e80 lea rax, aRate; "Rate" ; +0x122, 0x180018e82 nop dword ptr [rax+00000000h] ; +0x129, 0x180018e89 movzx ecx, byte ptr [r9+rdx] ; +0x130, 0x180018e90 inc rdx ; +0x135, 0x180018e95 cmp cl, [rax+rdx-1] ; +0x138, 0x180018e98 jnz short loc_180018EA8 ; +0x13c, 0x180018e9c cmp rdx, 4 ; +0x13e, 0x180018e9e jnz short loc_180018E90 ; +0x142, 0x180018ea2 xor eax, eax ; +0x144, 0x180018ea4 jmp short loc_180018EAD ; +0x146, 0x180018ea6 sbb eax, eax ; +0x148, 0x180018ea8 or eax, 1 ; +0x14a, 0x180018eaa test eax, eax ; +0x14d, 0x180018ead jz short loc_180018ED2 ; +0x14f, 0x180018eaf inc r9 ; +0x151, 0x180018eb1 lea r8, [rdi-3] ; +0x154, 0x180018eb4 sub r8, r9; MaxCount ; +0x158, 0x180018eb8 mov edx, 52h ; 'R'; Val ; +0x15b, 0x180018ebb mov rcx, r9; Buf ; +0x160, 0x180018ec0 call memchr ; +0x163, 0x180018ec3 mov r9, rax ; +0x168, 0x180018ec8 test rax, rax ; +0x16b, 0x180018ecb jnz short loc_180018E80 ; +0x16e, 0x180018ece jmp short loc_180018EDF ; +0x170, 0x180018ed0 sub r9, rbx ; +0x172, 0x180018ed2 cmp r9, 0FFFFFFFFFFFFFFFFh ; +0x175, 0x180018ed5 jnz loc_18001901B ; +0x179, 0x180018ed9 lea rbx, [rbp+String] ; +0x17f, 0x180018edf test sil, sil ; +0x183, 0x180018ee3 cmovnz rbx, r15 ; +0x186, 0x180018ee6 cmp r14, 4 ; +0x18a, 0x180018eea jb short loc_180018F6F ; +0x18e, 0x180018eee lea rdi, [r14+rbx] ; +0x190, 0x180018ef0 lea r8, [rdi-3] ; +0x194, 0x180018ef4 sub r8, rbx; MaxCount ; +0x198, 0x180018ef8 mov edx, 6Ch ; 'l'; Val ; +0x19b, 0x180018efb mov rcx, rbx; Buf ; +0x1a0, 0x180018f00 call memchr ; +0x1a3, 0x180018f03 mov r9, rax ; +0x1a8, 0x180018f08 test rax, rax ; +0x1ab, 0x180018f0b jz short loc_180018F6F ; +0x1ae, 0x180018f0e xor edx, edx ; +0x1b0, 0x180018f10 lea rax, aLike; "like" ; +0x1b2, 0x180018f12 nop dword ptr [rax+00000000h] ; +0x1b9, 0x180018f19 movzx ecx, byte ptr [r9+rdx] ; +0x1c0, 0x180018f20 inc rdx ; +0x1c5, 0x180018f25 cmp cl, [rax+rdx-1] ; +0x1c8, 0x180018f28 jnz short loc_180018F38 ; +0x1cc, 0x180018f2c cmp rdx, 4 ; +0x1ce, 0x180018f2e jnz short loc_180018F20 ; +0x1d2, 0x180018f32 xor eax, eax ; +0x1d4, 0x180018f34 jmp short loc_180018F3D ; +0x1d6, 0x180018f36 sbb eax, eax ; +0x1d8, 0x180018f38 or eax, 1 ; +0x1da, 0x180018f3a test eax, eax ; +0x1dd, 0x180018f3d jz short loc_180018F62 ; +0x1df, 0x180018f3f inc r9 ; +0x1e1, 0x180018f41 lea r8, [rdi-3] ; +0x1e4, 0x180018f44 sub r8, r9; MaxCount ; +0x1e8, 0x180018f48 mov edx, 6Ch ; 'l'; Val ; +0x1eb, 0x180018f4b mov rcx, r9; Buf ; +0x1f0, 0x180018f50 call memchr ; +0x1f3, 0x180018f53 mov r9, rax ; +0x1f8, 0x180018f58 test rax, rax ; +0x1fb, 0x180018f5b jnz short loc_180018F10 ; +0x1fe, 0x180018f5e jmp short loc_180018F6F ; +0x200, 0x180018f60 sub r9, rbx ; +0x202, 0x180018f62 cmp r9, 0FFFFFFFFFFFFFFFFh ; +0x205, 0x180018f65 jnz loc_18001901B ; +0x209, 0x180018f69 lea rbx, [rbp+String] ; +0x20f, 0x180018f6f cmp r13, 0Fh ; +0x213, 0x180018f73 cmova rbx, r15 ; +0x217, 0x180018f77 cmp r14, 6 ; +0x21b, 0x180018f7b jb short loc_180018FFB ; +0x21f, 0x180018f7f lea rdi, [r14+rbx] ; +0x221, 0x180018f81 lea r8, [rdi-5] ; +0x225, 0x180018f85 sub r8, rbx; MaxCount ; +0x229, 0x180018f89 mov edx, 72h ; 'r'; Val ; +0x22c, 0x180018f8c mov rcx, rbx; Buf ; +0x231, 0x180018f91 call memchr ; +0x234, 0x180018f94 mov r9, rax ; +0x239, 0x180018f99 test rax, rax ; +0x23c, 0x180018f9c jz short loc_180018FFB ; +0x23f, 0x180018f9f xor ecx, ecx ; +0x241, 0x180018fa1 lea rax, aReport; "report" ; +0x243, 0x180018fa3 nop word ptr [rax+rax+00h] ; +0x24a, 0x180018faa movzx edx, byte ptr [r9+rcx] ; +0x250, 0x180018fb0 inc rcx ; +0x255, 0x180018fb5 cmp dl, [rax+rcx-1] ; +0x258, 0x180018fb8 jnz short loc_180018FC8 ; +0x25c, 0x180018fbc cmp rcx, 6 ; +0x25e, 0x180018fbe jnz short loc_180018FB0 ; +0x262, 0x180018fc2 xor eax, eax ; +0x264, 0x180018fc4 jmp short loc_180018FCD ; +0x266, 0x180018fc6 sbb eax, eax ; +0x268, 0x180018fc8 or eax, 1 ; +0x26a, 0x180018fca test eax, eax ; +0x26d, 0x180018fcd jz short loc_180018FF2 ; +0x26f, 0x180018fcf inc r9 ; +0x271, 0x180018fd1 lea r8, [rdi-5] ; +0x274, 0x180018fd4 sub r8, r9; MaxCount ; +0x278, 0x180018fd8 mov edx, 72h ; 'r'; Val ; +0x27b, 0x180018fdb mov rcx, r9; Buf ; +0x280, 0x180018fe0 call memchr ; +0x283, 0x180018fe3 mov r9, rax ; +0x288, 0x180018fe8 test rax, rax ; +0x28b, 0x180018feb jnz short loc_180018FA1 ; +0x28e, 0x180018fee jmp short loc_180018FFB ; +0x290, 0x180018ff0 sub r9, rbx ; +0x292, 0x180018ff2 cmp r9, 0FFFFFFFFFFFFFFFFh ; +0x295, 0x180018ff5 jnz short loc_18001901B ; +0x299, 0x180018ff9 lea r8, [rbp+String] ; +0x29b, 0x180018ffb lea rdx, [rbp+var_38] ; +0x29f, 0x180018fff mov rcx, [rbp+var_58] ; +0x2a3, 0x180019003 call sub_1800166E0 ; +0x2a7, 0x180019007 mov rcx, [rax] ; +0x2ac, 0x18001900c mov byte ptr [rcx+40h], 1 ; +0x2af, 0x18001900f mov r13, [rbp+var_10] ; +0x2b3, 0x180019013 mov r15, [rbp+String] ; +0x2b7, 0x180019017 cmp r13, 0Fh ; +0x2bb, 0x18001901b jbe short loc_180019052 ; +0x2bf, 0x18001901f lea rdx, [r13+1] ; +0x2c1, 0x180019021 mov rax, r15 ; +0x2c5, 0x180019025 cmp rdx, 1000h ; +0x2c8, 0x180019028 jb short loc_18001904A ; +0x2cf, 0x18001902f add rdx, 27h ; ''' ; +0x2d1, 0x180019031 mov r15, [r15-8] ; +0x2d5, 0x180019035 sub rax, r15 ; +0x2d9, 0x180019039 add rax, 0FFFFFFFFFFFFFFF8h ; +0x2dc, 0x18001903c cmp rax, 1Fh ; +0x2e0, 0x180019040 ja loc_1800190D5 ; +0x2e4, 0x180019044 mov rcx, r15; Block ; +0x2ea, 0x18001904a call j_j_free_0 ; +0x2ed, 0x18001904d lea rdx, [rbp+var_48] ; +0x2f2, 0x180019052 lea rcx, [rbp+var_60] ; +0x2f6, 0x180019056 call sub_180081AB0 ; +0x2fa, 0x18001905a mov rcx, rax ; +0x2ff, 0x18001905f lea rdx, [rbp+var_40] ; +0x302, 0x180019062 call sub_180081AB0 ; +0x306, 0x180019066 mov rcx, [rax] ; +0x30b, 0x18001906b mov [rbp+var_60], rcx ; +0x30e, 0x18001906e lea rcx, [rbp+var_60] ; +0x312, 0x180019072 call sub_18007F4E0 ; +0x316, 0x180019076 test rax, rax ; +0x31b, 0x18001907b jnz loc_180018DD7 ; +0x31e, 0x18001907e cmp [rbp+var_50], 0 ; +0x324, 0x180019084 jz short loc_1800190AE ; +0x329, 0x180019089 mov rax, [r12+0D8h] ; +0x32b, 0x18001908b sub rax, [r12+0D0h] ; +0x333, 0x180019093 sar rax, 3 ; +0x33b, 0x18001909b cmp rax, 1 ; +0x33f, 0x18001909f jbe short loc_1800190AE ; +0x343, 0x1800190a3 add qword ptr [r12+0D8h], 0FFFFFFFFFFFFFFF8h ; +0x345, 0x1800190a5 mov rcx, [rbp+var_8] ; +0x34e, 0x1800190ae xor rcx, rsp; StackCookie ; +0x352, 0x1800190b2 call __security_check_cookie ; +0x355, 0x1800190b5 mov rbx, [rsp+80h+arg_10] ; +0x35a, 0x1800190ba add rsp, 80h ; +0x362, 0x1800190c2 pop r15 ; +0x369, 0x1800190c9 pop r14 ; +0x36b, 0x1800190cb pop r13 ; +0x36d, 0x1800190cd pop r12 ; +0x36f, 0x1800190cf pop rdi ; +0x371, 0x1800190d1 pop rsi ; +0x372, 0x1800190d2 pop rbp ; +0x373, 0x1800190d3 retn ; +0x374, 0x1800190d4 call cs:_invalid_parameter_noinfo_noreturn ; +0x375, 0x1800190d5 db 0CCh ; +0x37b, 0x1800190db