{"type": "func", "start": 6442582944, "end": 6442583118, "name": "DS_Dictionary::setSubDictForKey", "pseudocode": "// \n// DS_Dictionary::setSubDictForKey from 0x1800203a0 to 0x18002044e (174 bytes)\n// \n// 4 xrefs:\n// > DS_Dictionary::setBoolMapForKey @ 0x18001ebfc\n// > DS_Dictionary::setDictForKey @ 0x18001ee36\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8e24\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:28 +0000\n// \n\nvoid __fastcall DS_Dictionary::setSubDictForKey(DS_Dictionary *this, const char *a2)\n{\n  const char *v4; // r8\n  __int64 v5; // rax\n  const char *v6; // r8\n  __int64 v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+40h] [rbp+18h] BYREF\n  char v9; // [rsp+48h] [rbp+20h] BYREF\n\n  cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v7);\n  v4 = \"k\";\n  if ( *((_BYTE *)this + 232) )\n    v4 = \"key\";\n  v7 = *(_QWORD *)sub_180082790(*((_QWORD *)this + 27) - 8LL, &v8, v4);\n  v5 = sub_180082820(&v7, &v8, 3);\n  sub_180088520(v5, a2);\n  v6 = \"d\";\n  if ( *((_BYTE *)this + 232) )\n    v6 = \"dict\";\n  sub_180083ED0(*((_QWORD *)this + 27) - 8LL, &v9, v6, &v7);\n}", "assembly": "; \n; DS_Dictionary::setSubDictForKey from 0x1800203a0 to 0x18002044e (174 bytes)\n; \n; 4 xrefs:\n; > DS_Dictionary::setBoolMapForKey @ 0x18001ebfc\n; > DS_Dictionary::setDictForKey @ 0x18001ee36\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8e24\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:28 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800203a0\npush    rdi                                                            ; +0x5, 0x1800203a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800203a6\nmov     rdi, rcx                                                       ; +0xa, 0x1800203aa\nmov     rbx, rdx                                                       ; +0xd, 0x1800203ad\nlea     rcx, [rsp+28h+arg_0]; this                                     ; +0x10, 0x1800203b0\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x15, 0x1800203b5\ncmp     byte ptr [rdi+0E8h], 0                                         ; +0x1a, 0x1800203ba\nlea     rax, aKey; \"key\"                                               ; +0x21, 0x1800203c1\nmov     rcx, [rdi+0D8h]                                                ; +0x28, 0x1800203c8\nlea     r8, aK; \"k\"                                                    ; +0x2f, 0x1800203cf\ncmovnz  r8, rax                                                        ; +0x36, 0x1800203d6\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x3a, 0x1800203da\nsub     rcx, 8                                                         ; +0x3f, 0x1800203df\ncall    sub_180082790                                                  ; +0x43, 0x1800203e3\nmov     r8d, 3                                                         ; +0x48, 0x1800203e8\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x4e, 0x1800203ee\nmov     rcx, [rax]                                                     ; +0x53, 0x1800203f3\nmov     [rsp+28h+arg_0], rcx                                           ; +0x56, 0x1800203f6\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x5b, 0x1800203fb\ncall    sub_180082820                                                  ; +0x60, 0x180020400\nmov     rcx, rax                                                       ; +0x65, 0x180020405\nmov     rdx, rbx                                                       ; +0x68, 0x180020408\ncall    sub_180088520                                                  ; +0x6b, 0x18002040b\ncmp     byte ptr [rdi+0E8h], 0                                         ; +0x70, 0x180020410\nlea     rax, aDict_1; \"dict\"                                           ; +0x77, 0x180020417\nmov     rcx, [rdi+0D8h]                                                ; +0x7e, 0x18002041e\nlea     r8, aD; \"d\"                                                    ; +0x85, 0x180020425\ncmovnz  r8, rax                                                        ; +0x8c, 0x18002042c\nlea     r9, [rsp+28h+arg_0]                                            ; +0x90, 0x180020430\nsub     rcx, 8                                                         ; +0x95, 0x180020435\nlea     rdx, [rsp+28h+arg_18]                                          ; +0x99, 0x180020439\ncall    sub_180083ED0                                                  ; +0x9e, 0x18002043e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa3, 0x180020443\nadd     rsp, 20h                                                       ; +0xa8, 0x180020448\npop     rdi                                                            ; +0xac, 0x18002044c\nretn                                                                   ; +0xad, 0x18002044d", "xrefs": ["DS_Dictionary::setBoolMapForKey @ 0x18001ebfc", "DS_Dictionary::setDictForKey @ 0x18001ee36", "<???> @ 0x18014cf68", "<???> @ 0x1801b8e24"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}