//
// DS_Dictionary::stepOutOfSubDict from 0x80ad08 to 0x80ad2a (34 bytes)
//
// 22 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
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:29 +0000
//
int __fastcall DS_Dictionary::stepOutOfSubDict(int this)
{
int v1; // r2
int v2; // r2
int v3; // r3
v1 = *(_DWORD *)(this + 204);
if ( (unsigned int)(v1 - *(_DWORD *)(this + 200)) > 7 )
{
v2 = v1 - 4;
while ( 1 )
{
v3 = *(_DWORD *)(this + 204);
if ( v2 == v3 )
break;
*(_DWORD *)(this + 204) = v3 - 4;
}
}
return this;
}