; ; DS_Dictionary::setSubDictForKey from 0x180020250 to 0x18002040f (447 bytes) ; ; 4 xrefs: ; > DS_Dictionary::setArrayForKey @ 0x18001e730 ; > DS_Dictionary::setObjectForKey @ 0x18001f49f ; > @ 0x1801438a8 ; > @ 0x1801aed58 ; ; 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, 0x180020250 mov [rsp+arg_10], rbp ; +0x5, 0x180020255 mov [rsp+arg_18], rsi ; +0xa, 0x18002025a push rdi ; +0xf, 0x18002025f push r14 ; +0x10, 0x180020260 push r15 ; +0x12, 0x180020262 sub rsp, 40h ; +0x14, 0x180020264 mov rdi, rcx ; +0x18, 0x180020268 movzx r14d, r9b ; +0x1b, 0x18002026b lea rcx, [rsp+58h+var_38]; this ; +0x1f, 0x18002026f movzx ebx, r8b ; +0x24, 0x180020274 mov rbp, rdx ; +0x28, 0x180020278 call pugi__xml_node__xml_node ; +0x2b, 0x18002027b lea r15, aKey; "key" ; +0x30, 0x180020280 lea rsi, aK; "k" ; +0x37, 0x180020287 test bl, bl ; +0x3e, 0x18002028e jz loc_180020321 ; +0x40, 0x180020290 cmp byte ptr [rdi+0E8h], 0 ; +0x46, 0x180020296 lea rdx, [rsp+58h+arg_0] ; +0x4d, 0x18002029d mov rcx, [rdi+0D8h] ; +0x52, 0x1800202a2 mov r8, rsi ; +0x59, 0x1800202a9 cmovnz r8, r15 ; +0x5c, 0x1800202ac sub rcx, 8 ; +0x60, 0x1800202b0 call sub_18007FB10 ; +0x64, 0x1800202b4 lea rcx, [rsp+58h+arg_0] ; +0x69, 0x1800202b9 call sub_18007F4E0 ; +0x6e, 0x1800202be test rax, rax ; +0x73, 0x1800202c3 jz short loc_180020321 ; +0x76, 0x1800202c6 nop dword ptr [rax+rax+00000000h] ; +0x78, 0x1800202c8 lea rcx, [rsp+58h+arg_0] ; +0x80, 0x1800202d0 call sub_18007FB70 ; +0x85, 0x1800202d5 mov rcx, rax; String1 ; +0x8a, 0x1800202da mov rdx, rbp; String2 ; +0x8d, 0x1800202dd call sub_1800190E0 ; +0x90, 0x1800202e0 lea rdx, [rsp+58h+var_28] ; +0x95, 0x1800202e5 test eax, eax ; +0x9a, 0x1800202ea jz loc_1800203C4 ; +0x9c, 0x1800202ec cmp byte ptr [rdi+0E8h], 0 ; +0xa2, 0x1800202f2 lea rcx, [rsp+58h+arg_0] ; +0xa9, 0x1800202f9 mov r8, rsi ; +0xae, 0x1800202fe cmovnz r8, r15 ; +0xb1, 0x180020301 call sub_180081A50 ; +0xb5, 0x180020305 mov rcx, [rax] ; +0xba, 0x18002030a mov [rsp+58h+arg_0], rcx ; +0xbd, 0x18002030d lea rcx, [rsp+58h+arg_0] ; +0xc2, 0x180020312 call sub_18007F4E0 ; +0xc7, 0x180020317 test rax, rax ; +0xcc, 0x18002031c jnz short loc_1800202D0 ; +0xcf, 0x18002031f mov rcx, [rdi+0D8h] ; +0xd1, 0x180020321 lea rdx, [rsp+58h+var_28] ; +0xd8, 0x180020328 sub rcx, 8 ; +0xdd, 0x18002032d cmp byte ptr [rdi+0E8h], 0 ; +0xe1, 0x180020331 cmovnz rsi, r15 ; +0xe8, 0x180020338 mov r8, rsi ; +0xec, 0x18002033c call sub_18007F870 ; +0xef, 0x18002033f mov rax, [rax] ; +0xf4, 0x180020344 lea rdx, [rsp+58h+arg_0] ; +0xf7, 0x180020347 mov r8d, 3 ; +0xfc, 0x18002034c mov [rsp+58h+var_38], rax ; +0x102, 0x180020352 lea rcx, [rsp+58h+var_38] ; +0x107, 0x180020357 call sub_18007F910 ; +0x10c, 0x18002035c mov rcx, rax ; +0x111, 0x180020361 mov rdx, rbp ; +0x114, 0x180020364 call sub_180085410 ; +0x117, 0x180020367 cmp byte ptr [rdi+0E8h], 0 ; +0x11c, 0x18002036c lea rax, aDict_1; "dict" ; +0x123, 0x180020373 mov rcx, [rdi+0D8h] ; +0x12a, 0x18002037a lea r8, aD; "d" ; +0x131, 0x180020381 cmovnz r8, rax ; +0x138, 0x180020388 lea r9, [rsp+58h+var_38] ; +0x13c, 0x18002038c sub rcx, 8 ; +0x141, 0x180020391 lea rdx, [rsp+58h+var_30] ; +0x145, 0x180020395 call sub_180080EE0 ; +0x14a, 0x18002039a test r14b, r14b ; +0x14f, 0x18002039f jz short loc_1800203F6 ; +0x152, 0x1800203a2 lea rcx, [rdi+0D0h] ; +0x154, 0x1800203a4 mov rdx, [rcx+8] ; +0x15b, 0x1800203ab cmp rdx, [rcx+10h] ; +0x15f, 0x1800203af jz short loc_1800203EC ; +0x163, 0x1800203b3 mov rax, [rsp+58h+var_30] ; +0x165, 0x1800203b5 mov [rdx], rax ; +0x16a, 0x1800203ba add qword ptr [rcx+8], 8 ; +0x16d, 0x1800203bd jmp short loc_1800203F6 ; +0x172, 0x1800203c2 mov rcx, [rdi+0D8h] ; +0x174, 0x1800203c4 lea r9, [rsp+58h+arg_0] ; +0x17b, 0x1800203cb sub rcx, 8 ; +0x180, 0x1800203d0 cmp byte ptr [rdi+0E8h], 0 ; +0x184, 0x1800203d4 cmovnz rsi, r15 ; +0x18b, 0x1800203db mov r8, rsi ; +0x18f, 0x1800203df call sub_180081070 ; +0x192, 0x1800203e2 jmp loc_180020344 ; +0x197, 0x1800203e7 lea r8, [rsp+58h+var_30] ; +0x19c, 0x1800203ec call sub_180015D80 ; +0x1a1, 0x1800203f1 mov rbx, [rsp+58h+arg_8] ; +0x1a6, 0x1800203f6 mov rbp, [rsp+58h+arg_10] ; +0x1ab, 0x1800203fb mov rsi, [rsp+58h+arg_18] ; +0x1b0, 0x180020400 add rsp, 40h ; +0x1b5, 0x180020405 pop r15 ; +0x1b9, 0x180020409 pop r14 ; +0x1bb, 0x18002040b pop rdi ; +0x1bd, 0x18002040d retn ; +0x1be, 0x18002040e