; ; DS_Dictionary::setSubDictForKey from 0x180020450 to 0x1800205f6 (422 bytes) ; ; 3 xrefs: ; > DS_Dictionary::setObjectForKey @ 0x18001f65b ; > @ 0x18014cf68 ; > @ 0x1801b8e30 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:28 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180020450 mov [rsp+arg_10], rbp ; +0x5, 0x180020455 mov [rsp+arg_18], rsi ; +0xa, 0x18002045a push rdi ; +0xf, 0x18002045f push r14 ; +0x10, 0x180020460 push r15 ; +0x12, 0x180020462 sub rsp, 40h ; +0x14, 0x180020464 mov rdi, rcx ; +0x18, 0x180020468 movzx r14d, r9b ; +0x1b, 0x18002046b lea rcx, [rsp+58h+var_38]; this ; +0x1f, 0x18002046f movzx ebx, r8b ; +0x24, 0x180020474 mov rbp, rdx ; +0x28, 0x180020478 call ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x2b, 0x18002047b lea r15, aKey; "key" ; +0x30, 0x180020480 lea rsi, aK; "k" ; +0x37, 0x180020487 test bl, bl ; +0x3e, 0x18002048e jz loc_180020521 ; +0x40, 0x180020490 cmp byte ptr [rdi+0E8h], 0 ; +0x46, 0x180020496 lea rdx, [rsp+58h+arg_0] ; +0x4d, 0x18002049d mov rcx, [rdi+0D8h] ; +0x52, 0x1800204a2 mov r8, rsi ; +0x59, 0x1800204a9 cmovnz r8, r15 ; +0x5c, 0x1800204ac sub rcx, 8 ; +0x60, 0x1800204b0 call sub_180082A40 ; +0x64, 0x1800204b4 lea rcx, [rsp+58h+arg_0] ; +0x69, 0x1800204b9 call sub_1800823F0 ; +0x6e, 0x1800204be test rax, rax ; +0x73, 0x1800204c3 jz short loc_180020521 ; +0x76, 0x1800204c6 nop dword ptr [rax+rax+00000000h] ; +0x78, 0x1800204c8 lea rcx, [rsp+58h+arg_0] ; +0x80, 0x1800204d0 call sub_180082AC0 ; +0x85, 0x1800204d5 mov rcx, rax; String1 ; +0x8a, 0x1800204da mov rdx, rbp; String2 ; +0x8d, 0x1800204dd call sub_180018D00 ; +0x90, 0x1800204e0 lea rdx, [rsp+58h+var_28] ; +0x95, 0x1800204e5 test eax, eax ; +0x9a, 0x1800204ea jz loc_1800205CE ; +0x9c, 0x1800204ec cmp byte ptr [rdi+0E8h], 0 ; +0xa2, 0x1800204f2 lea rcx, [rsp+58h+arg_0] ; +0xa9, 0x1800204f9 mov r8, rsi ; +0xae, 0x1800204fe cmovnz r8, r15 ; +0xb1, 0x180020501 call sub_180084A40 ; +0xb5, 0x180020505 mov rcx, [rax] ; +0xba, 0x18002050a mov [rsp+58h+arg_0], rcx ; +0xbd, 0x18002050d lea rcx, [rsp+58h+arg_0] ; +0xc2, 0x180020512 call sub_1800823F0 ; +0xc7, 0x180020517 test rax, rax ; +0xcc, 0x18002051c jnz short loc_1800204D0 ; +0xcf, 0x18002051f cmp byte ptr [rdi+0E8h], 0 ; +0xd1, 0x180020521 lea rdx, [rsp+58h+var_28] ; +0xd8, 0x180020528 mov rcx, [rdi+0D8h] ; +0xdd, 0x18002052d cmovnz rsi, r15 ; +0xe4, 0x180020534 sub rcx, 8 ; +0xe8, 0x180020538 mov r8, rsi ; +0xec, 0x18002053c call sub_180082790 ; +0xef, 0x18002053f mov rax, [rax] ; +0xf4, 0x180020544 lea rdx, [rsp+58h+arg_0] ; +0xf7, 0x180020547 mov r8d, 3 ; +0xfc, 0x18002054c mov [rsp+58h+var_38], rax ; +0x102, 0x180020552 lea rcx, [rsp+58h+var_38] ; +0x107, 0x180020557 call sub_180082820 ; +0x10c, 0x18002055c mov rcx, rax ; +0x111, 0x180020561 mov rdx, rbp ; +0x114, 0x180020564 call sub_180088520 ; +0x117, 0x180020567 cmp byte ptr [rdi+0E8h], 0 ; +0x11c, 0x18002056c lea rax, aDict_1; "dict" ; +0x123, 0x180020573 mov rcx, [rdi+0D8h] ; +0x12a, 0x18002057a lea r8, aD; "d" ; +0x131, 0x180020581 cmovnz r8, rax ; +0x138, 0x180020588 lea r9, [rsp+58h+var_38] ; +0x13c, 0x18002058c sub rcx, 8 ; +0x141, 0x180020591 lea rdx, [rsp+58h+var_30] ; +0x145, 0x180020595 call sub_180083ED0 ; +0x14a, 0x18002059a test r14b, r14b ; +0x14f, 0x18002059f jz short loc_1800205B5 ; +0x152, 0x1800205a2 lea rdx, [rsp+58h+var_30] ; +0x154, 0x1800205a4 lea rcx, [rdi+0D0h] ; +0x159, 0x1800205a9 call sub_18001C710 ; +0x160, 0x1800205b0 mov rbx, [rsp+58h+arg_8] ; +0x165, 0x1800205b5 mov rbp, [rsp+58h+arg_10] ; +0x16a, 0x1800205ba mov rsi, [rsp+58h+arg_18] ; +0x16f, 0x1800205bf add rsp, 40h ; +0x174, 0x1800205c4 pop r15 ; +0x178, 0x1800205c8 pop r14 ; +0x17a, 0x1800205ca pop rdi ; +0x17c, 0x1800205cc retn ; +0x17d, 0x1800205cd cmp byte ptr [rdi+0E8h], 0 ; +0x17e, 0x1800205ce lea r9, [rsp+58h+arg_0] ; +0x185, 0x1800205d5 mov rcx, [rdi+0D8h] ; +0x18a, 0x1800205da cmovnz rsi, r15 ; +0x191, 0x1800205e1 sub rcx, 8 ; +0x195, 0x1800205e5 mov r8, rsi ; +0x199, 0x1800205e9 call sub_180084060 ; +0x19c, 0x1800205ec jmp loc_180020544 ; +0x1a1, 0x1800205f1