// // DS_Dictionary::stepIntoSubDictWithKey from 0x80d104 to 0x80d1e8 (228 bytes) // // 18 xrefs: // > CCAnimateFrameCache::addDict @ 0x3c4390 // > CCAnimateFrameCache::addDict @ 0x3c43c2 // > CCAnimateFrameCache::addDict @ 0x3c4422 // > CCAnimateFrameCache::addDict @ 0x3c4462 // > CCAnimateFrameCache::addDict @ 0x3c4502 // > GameLevelManager::collectPlatformerJournalKeys @ 0x4b5bfa // > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d4a // > sub_4C60B4 @ 0x4c61ac // > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfb5e // > EditorSFXManager::dataLoaded @ 0x77faf2 // > EditorSFXManager::dataLoaded @ 0x77fb76 // > DS_Dictionary::decodeObjectForKey @ 0x80d20c // > DS_Dictionary::setBoolMapForKey @ 0x80d3b4 // > DS_Dictionary::setDictForKey @ 0x80d5be // > DS_Dictionary::getDictForKey @ 0x80d65a // > DS_Dictionary::getArrayForKey @ 0x80d9d6 // > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x80df34 // > DS_Dictionary::addBoolValuesToMapForKey @ 0x80e126 // // 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:33 +0000 // int __fastcall DS_Dictionary::stepIntoSubDictWithKey(DS_Dictionary *this, const char *a2) { pugi::xml_node *v4; // r0 const char *v5; // r1 int result; // r0 const char *v7; // r0 int sibling; // r0 char *v9; // r3 const char *v10; // r0 _DWORD *v11; // r3 const char *v12; // r1 char *v13; // [sp+4h] [bp-18h] int i; // [sp+Ch] [bp-10h] BYREF int v15; // [sp+10h] [bp-Ch] BYREF v4 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); if ( *((_BYTE *)this + 212) ) v5 = "key"; else v5 = "k"; for ( i = pugi::xml_node::child(v4, v5); ; i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v12) ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)(&i); if ( !result ) break; v7 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i); if ( !strcmp(v7, a2) ) { sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i); v9 = *((_BYTE *)this + 212) ? "dict" : "d"; v13 = v9; v15 = sibling; v10 = (const char *)pugi::xml_node::name((pugi::xml_node *)&v15); if ( !strcmp(v13, v10) ) { v11 = *((_DWORD **)this + 51); if ( v11 == *((_DWORD **)this + 52) ) { std::vector::__push_back_slow_path((int *)this + 50, &v15); } else { if ( v11 ) *v11 = v15; *((_DWORD *)this + 51) += 4; } return 1; } } if ( *((_BYTE *)this + 212) ) v12 = "key"; else v12 = "k"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source