//
// DS_Dictionary::stepOutOfSubDict from 0x10015c410 to 0x10015c438 (40 bytes)
//
// 13 xrefs:
// > GameLevelManager::writePlatformerSaveJournal @ 0x10054c90e
// > GameLevelManager::replayPlatformerSaveJournal @ 0x10054d263
// > GameLevelManager::replayPlatformerSaveJournal @ 0x10054d5f6
// > sub_10054D820 @ 0x10054d8f6
// > sub_10054DBF0 @ 0x10054dcde
// > sub_10054DDE0 @ 0x10054df2d
// > CCAnimateFrameCache::addDict_1 @ 0x100599669
// > CCAnimateFrameCache::addDict_1 @ 0x1005996f4
// > CCAnimateFrameCache::addDict_1 @ 0x100599926
// > EditorSFXManager::encodeDataTo @ 0x1008ec546
// > EditorSFXManager::encodeDataTo @ 0x1008ec6d9
// > EditorSFXManager::dataLoaded @ 0x1008eca4b
// > EditorSFXManager::dataLoaded @ 0x1008ecb9a
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:25:06 +0000
//
__int64 __fastcall DS_Dictionary::stepOutOfSubDict(__int64 a1)
{
__int64 result; // rax
result = *(_QWORD *)(a1 + 216);
if ( (unsigned __int64)(result - *(_QWORD *)(a1 + 208)) >= 9 )
{
result -= 8;
*(_QWORD *)(a1 + 216) = result;
}
return result;
}