{"type": "func", "start": 6287636, "end": 6287692, "name": "DS_Dictionary::decodeObjectForKey", "pseudocode": "// \n// DS_Dictionary::decodeObjectForKey from 0x5ff114 to 0x5ff14c (56 bytes)\n// \n// 2 xrefs:\n// > DS_Dictionary::getDictForKey @ 0x5ff5c6\n// > DS_Dictionary::getObjectForKey @ 0x5ff756\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCObject *DS_Dictionary::decodeObjectForKey(DS_Dictionary *a1, const char *a2, bool a3, int IntegerForKey)\n{\n  cocos2d::CCObject *result; // r0\n  ObjectDecoder *v7; // r0\n  cocos2d::CCObject *DecodedObject; // r4\n\n  if ( a3 || (result = (cocos2d::CCObject *)DS_Dictionary::stepIntoSubDictWithKey(a1, a2)) != nullptr )\n  {\n    if ( IntegerForKey == -1 )\n      IntegerForKey = DS_Dictionary::getIntegerForKey(a1, \"kCEK\");\n    v7 = ObjectDecoder::sharedDecoder();\n    DecodedObject = ObjectDecoder::getDecodedObject(v7, IntegerForKey, a1);\n    DS_Dictionary::stepOutOfSubDict(a1);\n    return DecodedObject;\n  }\n  return result;\n}", "assembly": "; \n; DS_Dictionary::decodeObjectForKey from 0x5ff114 to 0x5ff14c (56 bytes)\n; \n; 2 xrefs:\n; > DS_Dictionary::getDictForKey @ 0x5ff5c6\n; > DS_Dictionary::getObjectForKey @ 0x5ff756\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x5ff114\nMOV             R5, R0                                                 ; +0x2, 0x5ff116\nMOV             R4, R3                                                 ; +0x4, 0x5ff118\nCBNZ            R2, loc_5FF124                                         ; +0x6, 0x5ff11a\nBL              _ZN13DS_Dictionary22stepIntoSubDictWithKeyEPKc; DS_Dictionary::stepIntoSubDictWithKey(char const*) ; +0x8, 0x5ff11c\nCBNZ            R0, loc_5FF124                                         ; +0xc, 0x5ff120\nPOP             {R3-R5,PC}                                             ; +0xe, 0x5ff122\nADDS            R3, R4, #1                                             ; +0x10, 0x5ff124\nBNE             loc_5FF134                                             ; +0x12, 0x5ff126\nLDR             R1, =(aKcek - 0x5FF130); \"kCEK\"                        ; +0x14, 0x5ff128\nMOV             R0, R5; this                                           ; +0x16, 0x5ff12a\nADD             R1, PC; \"kCEK\"                                         ; +0x18, 0x5ff12c\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x1a, 0x5ff12e\nMOV             R4, R0                                                 ; +0x1e, 0x5ff132\nBL              _ZN13ObjectDecoder13sharedDecoderEv; ObjectDecoder::sharedDecoder(void) ; +0x20, 0x5ff134\nMOV             R1, R4; int                                            ; +0x24, 0x5ff138\nMOV             R2, R5; DS_Dictionary *                                ; +0x26, 0x5ff13a\nBL              _ZN13ObjectDecoder16getDecodedObjectEiP13DS_Dictionary; ObjectDecoder::getDecodedObject(int,DS_Dictionary *) ; +0x28, 0x5ff13c\nMOV             R4, R0                                                 ; +0x2c, 0x5ff140\nMOV             R0, R5; this                                           ; +0x2e, 0x5ff142\nBL              _ZN13DS_Dictionary16stepOutOfSubDictEv; DS_Dictionary::stepOutOfSubDict(void) ; +0x30, 0x5ff144\nMOV             R0, R4                                                 ; +0x34, 0x5ff148\nPOP             {R3-R5,PC}                                             ; +0x36, 0x5ff14a", "xrefs": ["DS_Dictionary::getDictForKey @ 0x5ff5c6", "DS_Dictionary::getObjectForKey @ 0x5ff756"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}