; ; DS_Dictionary::setIntegerForKey from 0x18001f0b0 to 0x18001f32d (637 bytes) ; ; 3 xrefs: ; > DS_Dictionary::setIntegerForKey @ 0x18001f0a3 ; > @ 0x1801438a8 ; > @ 0x1801aece0 ; ; 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 ; test r8d, r8d ; +0x0, 0x18001f0b0 jz locret_18001F32C ; +0x3, 0x18001f0b3 mov [rsp-8+arg_10], rbx ; +0x9, 0x18001f0b9 push rbp ; +0xe, 0x18001f0be push rsi ; +0xf, 0x18001f0bf push rdi ; +0x10, 0x18001f0c0 push r14 ; +0x11, 0x18001f0c1 push r15 ; +0x13, 0x18001f0c3 lea rbp, [rsp-160h] ; +0x15, 0x18001f0c5 sub rsp, 260h ; +0x1d, 0x18001f0cd mov rax, cs:__security_cookie ; +0x24, 0x18001f0d4 xor rax, rsp ; +0x2b, 0x18001f0db mov [rbp+180h+var_30], rax ; +0x2e, 0x18001f0de movzx r14d, r9b ; +0x35, 0x18001f0e5 mov eax, r8d ; +0x39, 0x18001f0e9 mov rsi, rdx ; +0x3c, 0x18001f0ec mov rdi, rcx ; +0x3f, 0x18001f0ef mov [rsp+280h+Size], 0 ; +0x42, 0x18001f0f2 mov [rsp+280h+var_238], 1F4h ; +0x4b, 0x18001f0fb lea rcx, [rsp+280h+var_228] ; +0x54, 0x18001f104 mov [rsp+280h+Src], rcx ; +0x59, 0x18001f109 lea r8, [rsp+280h+var_260] ; +0x5e, 0x18001f10e mov edx, eax ; +0x63, 0x18001f113 lea rcx, [rsp+280h+Size] ; +0x65, 0x18001f115 call sub_180015970 ; +0x6a, 0x18001f11a lea rcx, [rsp+280h+var_250]; this ; +0x6f, 0x18001f11f call pugi__xml_node__xml_node ; +0x74, 0x18001f124 lea r15, aKey; "key" ; +0x79, 0x18001f129 lea rbx, aK; "k" ; +0x80, 0x18001f130 test r14b, r14b ; +0x87, 0x18001f137 jz loc_18001F1C3 ; +0x8a, 0x18001f13a mov rcx, [rdi+0D8h] ; +0x90, 0x18001f140 sub rcx, 8 ; +0x97, 0x18001f147 mov r8, rbx ; +0x9b, 0x18001f14b cmp byte ptr [rdi+0E8h], 0 ; +0x9e, 0x18001f14e cmovnz r8, r15 ; +0xa5, 0x18001f155 lea rdx, [rsp+280h+var_260] ; +0xa9, 0x18001f159 call sub_18007FB10 ; +0xae, 0x18001f15e lea rcx, [rsp+280h+var_260] ; +0xb3, 0x18001f163 call sub_18007F4E0 ; +0xb8, 0x18001f168 test rax, rax ; +0xbd, 0x18001f16d jz short loc_18001F1C3 ; +0xc0, 0x18001f170 lea rcx, [rsp+280h+var_260] ; +0xc2, 0x18001f172 call sub_18007FB70 ; +0xc7, 0x18001f177 mov rcx, rax; String1 ; +0xcc, 0x18001f17c mov rdx, rsi; String2 ; +0xcf, 0x18001f17f call sub_1800190E0 ; +0xd2, 0x18001f182 lea rdx, [rsp+280h+var_258] ; +0xd7, 0x18001f187 test eax, eax ; +0xdc, 0x18001f18c jz loc_18001F26B ; +0xde, 0x18001f18e mov r8, rbx ; +0xe4, 0x18001f194 cmp byte ptr [rdi+0E8h], 0 ; +0xe7, 0x18001f197 cmovnz r8, r15 ; +0xee, 0x18001f19e lea rcx, [rsp+280h+var_260] ; +0xf2, 0x18001f1a2 call sub_180081A50 ; +0xf7, 0x18001f1a7 mov rcx, [rax] ; +0xfc, 0x18001f1ac mov [rsp+280h+var_260], rcx ; +0xff, 0x18001f1af lea rcx, [rsp+280h+var_260] ; +0x104, 0x18001f1b4 call sub_18007F4E0 ; +0x109, 0x18001f1b9 test rax, rax ; +0x10e, 0x18001f1be jnz short loc_18001F172 ; +0x111, 0x18001f1c1 mov rcx, [rdi+0D8h] ; +0x113, 0x18001f1c3 sub rcx, 8 ; +0x11a, 0x18001f1ca cmp byte ptr [rdi+0E8h], 0 ; +0x11e, 0x18001f1ce cmovnz rbx, r15 ; +0x125, 0x18001f1d5 mov r8, rbx ; +0x129, 0x18001f1d9 lea rdx, [rsp+280h+var_258] ; +0x12c, 0x18001f1dc call sub_18007F870 ; +0x131, 0x18001f1e1 mov rax, [rax] ; +0x136, 0x18001f1e6 mov [rsp+280h+var_250], rax ; +0x139, 0x18001f1e9 mov r8d, 3 ; +0x13e, 0x18001f1ee lea rdx, [rsp+280h+var_258] ; +0x144, 0x18001f1f4 lea rcx, [rsp+280h+var_250] ; +0x149, 0x18001f1f9 call sub_18007F910 ; +0x14e, 0x18001f1fe mov rcx, rax ; +0x153, 0x18001f203 mov rdx, rsi ; +0x156, 0x18001f206 call sub_180085410 ; +0x159, 0x18001f209 mov rsi, [rsp+280h+Size] ; +0x15e, 0x18001f20e lea rcx, [rsi+1] ; +0x163, 0x18001f213 mov rdx, [rsp+280h+var_238] ; +0x167, 0x18001f217 cmp rcx, rdx ; +0x16c, 0x18001f21c jbe short loc_18001F293 ; +0x16f, 0x18001f21f mov rax, rdx ; +0x171, 0x18001f221 shr rax, 1 ; +0x174, 0x18001f224 add rdx, rax ; +0x177, 0x18001f227 cmp rcx, rdx ; +0x17a, 0x18001f22a cmovb rcx, rdx; Size ; +0x17d, 0x18001f22d mov [rsp+280h+var_238], rcx ; +0x181, 0x18001f231 call j_??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x186, 0x18001f236 mov rbx, rax ; +0x18b, 0x18001f23b mov r8, [rsp+280h+Size]; Size ; +0x18e, 0x18001f23e mov rdx, [rsp+280h+Src]; Src ; +0x193, 0x18001f243 mov rcx, rax; void * ; +0x198, 0x18001f248 call memmove ; +0x19b, 0x18001f24b lea rax, [rsp+280h+var_228] ; +0x1a0, 0x18001f250 mov rcx, [rsp+280h+Src]; Block ; +0x1a5, 0x18001f255 cmp rcx, rax ; +0x1aa, 0x18001f25a jz short loc_18001F264 ; +0x1ad, 0x18001f25d call j_j_free_0 ; +0x1af, 0x18001f25f mov [rsp+280h+Src], rbx ; +0x1b4, 0x18001f264 jmp short loc_18001F298 ; +0x1b9, 0x18001f269 mov rcx, [rdi+0D8h] ; +0x1bb, 0x18001f26b sub rcx, 8 ; +0x1c2, 0x18001f272 cmp byte ptr [rdi+0E8h], 0 ; +0x1c6, 0x18001f276 cmovnz rbx, r15 ; +0x1cd, 0x18001f27d lea r9, [rsp+280h+var_260] ; +0x1d1, 0x18001f281 mov r8, rbx ; +0x1d6, 0x18001f286 call sub_180081070 ; +0x1d9, 0x18001f289 jmp loc_18001F1E6 ; +0x1de, 0x18001f28e mov rbx, [rsp+280h+Src] ; +0x1e3, 0x18001f293 mov byte ptr [rbx+rsi], 0 ; +0x1e8, 0x18001f298 mov rbx, [rsp+280h+Src] ; +0x1ec, 0x18001f29c mov rcx, [rdi+0D8h] ; +0x1f1, 0x18001f2a1 sub rcx, 8 ; +0x1f8, 0x18001f2a8 lea rax, aInteger; "integer" ; +0x1fc, 0x18001f2ac lea r8, aI; "i" ; +0x203, 0x18001f2b3 cmp byte ptr [rdi+0E8h], 0 ; +0x20a, 0x18001f2ba cmovnz r8, rax ; +0x211, 0x18001f2c1 lea r9, [rsp+280h+var_250] ; +0x215, 0x18001f2c5 lea rdx, [rsp+280h+var_258] ; +0x21a, 0x18001f2ca call sub_180080EE0 ; +0x21f, 0x18001f2cf mov rcx, rax ; +0x224, 0x18001f2d4 mov r8d, 3 ; +0x227, 0x18001f2d7 lea rdx, [rsp+280h+var_260] ; +0x22d, 0x18001f2dd call sub_18007F910 ; +0x232, 0x18001f2e2 mov rcx, rax ; +0x237, 0x18001f2e7 mov rdx, rbx ; +0x23a, 0x18001f2ea call sub_180085410 ; +0x23d, 0x18001f2ed nop ; +0x242, 0x18001f2f2 lea rax, [rsp+280h+var_228] ; +0x243, 0x18001f2f3 mov rcx, [rsp+280h+Src]; Block ; +0x248, 0x18001f2f8 cmp rcx, rax ; +0x24d, 0x18001f2fd jz short loc_18001F307 ; +0x250, 0x18001f300 call j_j_free_0 ; +0x252, 0x18001f302 mov rcx, [rbp+180h+var_30] ; +0x257, 0x18001f307 xor rcx, rsp; StackCookie ; +0x25e, 0x18001f30e call __security_check_cookie ; +0x261, 0x18001f311 mov rbx, [rsp+280h+arg_10] ; +0x266, 0x18001f316 add rsp, 260h ; +0x26e, 0x18001f31e pop r15 ; +0x275, 0x18001f325 pop r14 ; +0x277, 0x18001f327 pop rdi ; +0x279, 0x18001f329 pop rsi ; +0x27a, 0x18001f32a pop rbp ; +0x27b, 0x18001f32b retn ; +0x27c, 0x18001f32c