{"type": "func", "start": 6442587600, "end": 6442587745, "name": "DS_Dictionary::stepBackToRootSubDict", "pseudocode": "// \n// DS_Dictionary::stepBackToRootSubDict from 0x1800215d0 to 0x180021661 (145 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8e90\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::stepBackToRootSubDict(DS_Dictionary *this)\n{\n  __int64 v2; // rdx\n  __int64 *v3; // rax\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  char v6; // [rsp+30h] [rbp+8h] BYREF\n  char v7; // [rsp+38h] [rbp+10h] BYREF\n\n  v2 = *((_QWORD *)this + 26);\n  if ( (unsigned __int64)((*((_QWORD *)this + 27) - v2) >> 3) > 1 )\n  {\n    if ( v2 != *((_QWORD *)this + 27) )\n      *((_QWORD *)this + 27) = v2;\n    v3 = (__int64 *)cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v6);\n    sub_18001C710((const void **)this + 26, v3);\n    v4 = *((_QWORD *)this + 27);\n    v5 = sub_180082A40(this, &v6, \"plist\");\n    *(_QWORD *)(v4 - 8) = *(_QWORD *)sub_180082A40(v5, &v7, \"dict\");\n  }\n}", "assembly": "; \n; DS_Dictionary::stepBackToRootSubDict from 0x1800215d0 to 0x180021661 (145 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8e90\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_10], rbx                                              ; +0x0, 0x1800215d0\npush    rdi                                                            ; +0x5, 0x1800215d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800215d6\nmov     r8, [rcx+0D8h]                                                 ; +0xa, 0x1800215da\nmov     rdi, rcx                                                       ; +0x11, 0x1800215e1\nmov     rdx, [rcx+0D0h]                                                ; +0x14, 0x1800215e4\nmov     rax, r8                                                        ; +0x1b, 0x1800215eb\nsub     rax, rdx                                                       ; +0x1e, 0x1800215ee\nsar     rax, 3                                                         ; +0x21, 0x1800215f1\ncmp     rax, 1                                                         ; +0x25, 0x1800215f5\njbe     short loc_180021656                                            ; +0x29, 0x1800215f9\ncmp     rdx, r8                                                        ; +0x2b, 0x1800215fb\njz      short loc_180021607                                            ; +0x2e, 0x1800215fe\nmov     [rcx+0D8h], rdx                                                ; +0x30, 0x180021600\nlea     rcx, [rsp+28h+arg_0]; this                                     ; +0x37, 0x180021607\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x3c, 0x18002160c\nmov     rdx, rax                                                       ; +0x41, 0x180021611\nlea     rcx, [rdi+0D0h]                                                ; +0x44, 0x180021614\ncall    sub_18001C710                                                  ; +0x4b, 0x18002161b\nmov     rbx, [rdi+0D8h]                                                ; +0x50, 0x180021620\nlea     r8, aPlist; \"plist\"                                            ; +0x57, 0x180021627\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x5e, 0x18002162e\nmov     rcx, rdi                                                       ; +0x63, 0x180021633\ncall    sub_180082A40                                                  ; +0x66, 0x180021636\nmov     rcx, rax                                                       ; +0x6b, 0x18002163b\nlea     r8, aDict_1; \"dict\"                                            ; +0x6e, 0x18002163e\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x75, 0x180021645\ncall    sub_180082A40                                                  ; +0x7a, 0x18002164a\nmov     rcx, [rax]                                                     ; +0x7f, 0x18002164f\nmov     [rbx-8], rcx                                                   ; +0x82, 0x180021652\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x86, 0x180021656\nadd     rsp, 20h                                                       ; +0x8b, 0x18002165b\npop     rdi                                                            ; +0x8f, 0x18002165f\nretn                                                                   ; +0x90, 0x180021660", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8e90"], "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"}