{"type": "func", "start": 6442554928, "end": 6442555060, "name": "DS_Dictionary::decodeObjectForKey", "pseudocode": "// \n// DS_Dictionary::decodeObjectForKey from 0x180019630 to 0x1800196b4 (132 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b89ec\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:25 +0000\n// \n\nstruct cocos2d::CCObject *__fastcall DS_Dictionary::decodeObjectForKey(\n        DS_Dictionary *this,\n        const char *a2,\n        char a3,\n        int IntegerForKey)\n{\n  struct cocos2d::CCObject *result; // rax\n  ObjectDecoder *v7; // rax\n\n  if ( !a3 && !DS_Dictionary::stepIntoSubDictWithKey(this, a2) )\n    return nullptr;\n  if ( IntegerForKey == -1 )\n    IntegerForKey = DS_Dictionary::getIntegerForKey(this, \"kCEK\");\n  v7 = ObjectDecoder::sharedDecoder();\n  result = ObjectDecoder::getDecodedObject(v7, IntegerForKey, this);\n  if ( (unsigned __int64)((__int64)(*((_QWORD *)this + 27) - *((_QWORD *)this + 26)) >> 3) > 1 )\n    *((_QWORD *)this + 27) -= 8LL;\n  return result;\n}", "assembly": "; \n; DS_Dictionary::decodeObjectForKey from 0x180019630 to 0x1800196b4 (132 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b89ec\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:25 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180019630\npush    rdi                                                            ; +0x5, 0x180019635\nsub     rsp, 20h                                                       ; +0x6, 0x180019636\nmov     edi, r9d                                                       ; +0xa, 0x18001963a\nmov     rbx, rcx                                                       ; +0xd, 0x18001963d\ntest    r8b, r8b                                                       ; +0x10, 0x180019640\njnz     short loc_18001965B                                            ; +0x13, 0x180019643\ncall    ?stepIntoSubDictWithKey@DS_Dictionary@@QEAA_NPEBD@Z; DS_Dictionary::stepIntoSubDictWithKey(char const *) ; +0x15, 0x180019645\ntest    al, al                                                         ; +0x1a, 0x18001964a\njnz     short loc_18001965B                                            ; +0x1c, 0x18001964c\nxor     eax, eax                                                       ; +0x1e, 0x18001964e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x20, 0x180019650\nadd     rsp, 20h                                                       ; +0x25, 0x180019655\npop     rdi                                                            ; +0x29, 0x180019659\nretn                                                                   ; +0x2a, 0x18001965a\ncmp     edi, 0FFFFFFFFh                                                ; +0x2b, 0x18001965b\njnz     short loc_180019671                                            ; +0x2e, 0x18001965e\nlea     rdx, aKcek; \"kCEK\"                                             ; +0x30, 0x180019660\nmov     rcx, rbx; this                                                 ; +0x37, 0x180019667\ncall    ?getIntegerForKey@DS_Dictionary@@QEAAHPEBD@Z; DS_Dictionary::getIntegerForKey(char const *) ; +0x3a, 0x18001966a\nmov     edi, eax                                                       ; +0x3f, 0x18001966f\ncall    ?sharedDecoder@ObjectDecoder@@SAPEAV1@XZ; ObjectDecoder::sharedDecoder(void) ; +0x41, 0x180019671\nmov     rcx, rax; this                                                 ; +0x46, 0x180019676\nmov     r8, rbx; struct DS_Dictionary *                                ; +0x49, 0x180019679\nmov     edx, edi; int                                                  ; +0x4c, 0x18001967c\ncall    ?getDecodedObject@ObjectDecoder@@QEAAPEAVCCObject@cocos2d@@HPEAVDS_Dictionary@@@Z; ObjectDecoder::getDecodedObject(int,DS_Dictionary *) ; +0x4e, 0x18001967e\nmov     rdx, [rbx+0D8h]                                                ; +0x53, 0x180019683\nmov     rcx, rdx                                                       ; +0x5a, 0x18001968a\nsub     rcx, [rbx+0D0h]                                                ; +0x5d, 0x18001968d\nsar     rcx, 3                                                         ; +0x64, 0x180019694\ncmp     rcx, 1                                                         ; +0x68, 0x180019698\njbe     short loc_1800196A9                                            ; +0x6c, 0x18001969c\nlea     rcx, [rdx-8]                                                   ; +0x6e, 0x18001969e\nmov     [rbx+0D8h], rcx                                                ; +0x72, 0x1800196a2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x79, 0x1800196a9\nadd     rsp, 20h                                                       ; +0x7e, 0x1800196ae\npop     rdi                                                            ; +0x82, 0x1800196b2\nretn                                                                   ; +0x83, 0x1800196b3", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b89ec"], "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"}