{"type": "func", "start": 4296982744, "end": 4296982868, "name": "DS_Dictionary::decodeObjectForKey", "pseudocode": "// \n// DS_Dictionary::decodeObjectForKey from 0x1001ec0d8 to 0x1001ec154 (124 bytes)\n// \n// 2 xrefs:\n// > DS_Dictionary::getObjectForKey @ 0x1001eb7e0\n// > DS_Dictionary::getDictForKey @ 0x1001ebfa0\n// \n// This function is hookable on this platform (idp: arm, 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:00:35 +0000\n// \n\n__int64 __fastcall DS_Dictionary::decodeObjectForKey(__int64 a1, const char *a2, char a3, __int64 IntegerForKey)\n{\n  __int64 v6; // x0\n  __int64 result; // x0\n  __int64 v8; // x8\n\n  if ( (a3 & 1) == 0 && !(unsigned int)DS_Dictionary::stepIntoSubDictWithKey(a1, a2) )\n    return 0;\n  if ( (_DWORD)IntegerForKey == -1 )\n    IntegerForKey = DS_Dictionary::getIntegerForKey(a1, \"kCEK\");\n  v6 = ObjectDecoder::sharedDecoder();\n  result = ObjectDecoder::getDecodedObject(v6, IntegerForKey, a1);\n  v8 = *(_QWORD *)(a1 + 216);\n  if ( (unsigned __int64)(v8 - *(_QWORD *)(a1 + 208)) >= 9 )\n    *(_QWORD *)(a1 + 216) = v8 - 8;\n  return result;\n}", "assembly": "; \n; DS_Dictionary::decodeObjectForKey from 0x1001ec0d8 to 0x1001ec154 (124 bytes)\n; \n; 2 xrefs:\n; > DS_Dictionary::getObjectForKey @ 0x1001eb7e0\n; > DS_Dictionary::getDictForKey @ 0x1001ebfa0\n; \n; This function is hookable on this platform (idp: arm, 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:00:35 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001ec0d8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001ec0dc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001ec0e0\nMOV             X20, X3                                                ; +0xc, 0x1001ec0e4\nMOV             X19, X0                                                ; +0x10, 0x1001ec0e8\nTBNZ            W2, #0, loc_1001EC0FC                                  ; +0x14, 0x1001ec0ec\nMOV             X0, X19                                                ; +0x18, 0x1001ec0f0\nBL              DS_Dictionary__stepIntoSubDictWithKey                  ; +0x1c, 0x1001ec0f4\nCBZ             W0, loc_1001EC144                                      ; +0x20, 0x1001ec0f8\nCMN             W20, #1                                                ; +0x24, 0x1001ec0fc\nB.NE            loc_1001EC118                                          ; +0x28, 0x1001ec100\nADRL            X1, aKcek; \"kCEK\"                                      ; +0x2c, 0x1001ec104\nMOV             X0, X19                                                ; +0x34, 0x1001ec10c\nBL              DS_Dictionary__getIntegerForKey                        ; +0x38, 0x1001ec110\nMOV             X20, X0                                                ; +0x3c, 0x1001ec114\nBL              ObjectDecoder__sharedDecoder                           ; +0x40, 0x1001ec118\nMOV             X1, X20                                                ; +0x44, 0x1001ec11c\nMOV             X2, X19                                                ; +0x48, 0x1001ec120\nBL              ObjectDecoder__getDecodedObject                        ; +0x4c, 0x1001ec124\nLDP             X9, X8, [X19,#0xD0]                                    ; +0x50, 0x1001ec128\nSUB             X9, X8, X9                                             ; +0x54, 0x1001ec12c\nCMP             X9, #9                                                 ; +0x58, 0x1001ec130\nB.CC            loc_1001EC148                                          ; +0x5c, 0x1001ec134\nSUB             X8, X8, #8                                             ; +0x60, 0x1001ec138\nSTR             X8, [X19,#0xD8]                                        ; +0x64, 0x1001ec13c\nB               loc_1001EC148                                          ; +0x68, 0x1001ec140\nMOV             X0, #0                                                 ; +0x6c, 0x1001ec144\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x1001ec148\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x1001ec14c\nRET                                                                    ; +0x78, 0x1001ec150", "xrefs": ["DS_Dictionary::getObjectForKey @ 0x1001eb7e0", "DS_Dictionary::getDictForKey @ 0x1001ebfa0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}