{"type": "func", "start": 8432904, "end": 8432938, "name": "DS_Dictionary::stepOutOfSubDict", "pseudocode": "// \n// DS_Dictionary::stepOutOfSubDict from 0x80ad08 to 0x80ad2a (34 bytes)\n// \n// 22 xrefs:\n// > CCAnimateFrameCache::addDict @ 0x3c4436\n// > CCAnimateFrameCache::addDict @ 0x3c4446\n// > CCAnimateFrameCache::addDict @ 0x3c45d2\n// > GameLevelManager::collectPlatformerJournalKeys @ 0x4b5c16\n// > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d5c\n// > sub_4C60B4 @ 0x4c61be\n// > GameLevelManager::writePlatformerSaveJournal @ 0x4cb006\n// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfba4\n// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfd52\n// > EditorSFXManager::dataLoaded @ 0x77fb12\n// > EditorSFXManager::dataLoaded @ 0x77fb96\n// > EditorSFXManager::encodeDataTo @ 0x781184\n// > EditorSFXManager::encodeDataTo @ 0x781222\n// > DS_Dictionary::decodeObjectForKey @ 0x80d234\n// > DS_Dictionary::setBoolMapForKey @ 0x80d408\n// > DS_Dictionary::setArrayForKey @ 0x80d47c\n// > DS_Dictionary::setObjectForKey @ 0x80d56a\n// > DS_Dictionary::setDictForKey @ 0x80d626\n// > DS_Dictionary::getDictForKey @ 0x80d7dc\n// > DS_Dictionary::getArrayForKey @ 0x80da40\n// > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80e0be\n// > DS_Dictionary::addBoolValuesToMapForKey @ 0x80e194\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:01:29 +0000\n// \n\nint __fastcall DS_Dictionary::stepOutOfSubDict(int this)\n{\n  int v1; // r2\n  int v2; // r2\n  int v3; // r3\n\n  v1 = *(_DWORD *)(this + 204);\n  if ( (unsigned int)(v1 - *(_DWORD *)(this + 200)) > 7 )\n  {\n    v2 = v1 - 4;\n    while ( 1 )\n    {\n      v3 = *(_DWORD *)(this + 204);\n      if ( v2 == v3 )\n        break;\n      *(_DWORD *)(this + 204) = v3 - 4;\n    }\n  }\n  return this;\n}", "assembly": "; \n; DS_Dictionary::stepOutOfSubDict from 0x80ad08 to 0x80ad2a (34 bytes)\n; \n; 22 xrefs:\n; > CCAnimateFrameCache::addDict @ 0x3c4436\n; > CCAnimateFrameCache::addDict @ 0x3c4446\n; > CCAnimateFrameCache::addDict @ 0x3c45d2\n; > GameLevelManager::collectPlatformerJournalKeys @ 0x4b5c16\n; > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d5c\n; > sub_4C60B4 @ 0x4c61be\n; > GameLevelManager::writePlatformerSaveJournal @ 0x4cb006\n; > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfba4\n; > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfd52\n; > EditorSFXManager::dataLoaded @ 0x77fb12\n; > EditorSFXManager::dataLoaded @ 0x77fb96\n; > EditorSFXManager::encodeDataTo @ 0x781184\n; > EditorSFXManager::encodeDataTo @ 0x781222\n; > DS_Dictionary::decodeObjectForKey @ 0x80d234\n; > DS_Dictionary::setBoolMapForKey @ 0x80d408\n; > DS_Dictionary::setArrayForKey @ 0x80d47c\n; > DS_Dictionary::setObjectForKey @ 0x80d56a\n; > DS_Dictionary::setDictForKey @ 0x80d626\n; > DS_Dictionary::getDictForKey @ 0x80d7dc\n; > DS_Dictionary::getArrayForKey @ 0x80da40\n; > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80e0be\n; > DS_Dictionary::addBoolValuesToMapForKey @ 0x80e194\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:01:29 +0000\n; \nLDR.W           R2, [R0,#0xCC]                                         ; +0x0, 0x80ad08\nLDR.W           R3, [R0,#0xC8]                                         ; +0x4, 0x80ad0c\nSUBS            R3, R2, R3                                             ; +0x8, 0x80ad10\nCMP             R3, #7                                                 ; +0xa, 0x80ad12\nBLS             locret_80AD28                                          ; +0xc, 0x80ad14\nSUBS            R2, #4                                                 ; +0xe, 0x80ad16\nLDR.W           R3, [R0,#0xCC]                                         ; +0x10, 0x80ad18\nCMP             R2, R3                                                 ; +0x14, 0x80ad1c\nBEQ             locret_80AD28                                          ; +0x16, 0x80ad1e\nSUBS            R3, #4                                                 ; +0x18, 0x80ad20\nSTR.W           R3, [R0,#0xCC]                                         ; +0x1a, 0x80ad22\nB               loc_80AD18                                             ; +0x1e, 0x80ad26\nBX              LR                                                     ; +0x20, 0x80ad28", "xrefs": ["CCAnimateFrameCache::addDict @ 0x3c4436", "CCAnimateFrameCache::addDict @ 0x3c4446", "CCAnimateFrameCache::addDict @ 0x3c45d2", "GameLevelManager::collectPlatformerJournalKeys @ 0x4b5c16", "GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d5c", "sub_4C60B4 @ 0x4c61be", "GameLevelManager::writePlatformerSaveJournal @ 0x4cb006", "GameLevelManager::replayPlatformerSaveJournal @ 0x4cfba4", "GameLevelManager::replayPlatformerSaveJournal @ 0x4cfd52", "EditorSFXManager::dataLoaded @ 0x77fb12", "EditorSFXManager::dataLoaded @ 0x77fb96", "EditorSFXManager::encodeDataTo @ 0x781184", "EditorSFXManager::encodeDataTo @ 0x781222", "DS_Dictionary::decodeObjectForKey @ 0x80d234", "DS_Dictionary::setBoolMapForKey @ 0x80d408", "DS_Dictionary::setArrayForKey @ 0x80d47c", "DS_Dictionary::setObjectForKey @ 0x80d56a", "DS_Dictionary::setDictForKey @ 0x80d626", "DS_Dictionary::getDictForKey @ 0x80d7dc", "DS_Dictionary::getArrayForKey @ 0x80da40", "DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80e0be", "DS_Dictionary::addBoolValuesToMapForKey @ 0x80e194"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}