//
// DS_Dictionary::getStringForKey from 0x80b898 to 0x80b988 (240 bytes)
//
// 88 xrefs:
// > SpriteDescription::initDescription @ 0x3c41a2
// > SpriteDescription::initDescription @ 0x3c41d2
// > SpriteDescription::initDescription @ 0x3c41f8
// > SpriteDescription::initDescription @ 0x3c421e
// > SpriteDescription::initDescription @ 0x3c4254
// > CCAnimateFrameCache::addDict @ 0x3c4510
// > CCAnimateFrameCache::addDict @ 0x3c4552
// > CCAnimateFrameCache::addDict @ 0x3c4594
// > GameManager::dataLoaded @ 0x41c1e6
// > GameManager::dataLoaded @ 0x41c238
// > GameManager::dataLoaded @ 0x41c984
// > GameManager::dataLoaded @ 0x41c9a4
// > GameManager::dataLoaded @ 0x41c9c4
// > GameManager::dataLoaded @ 0x41c9e4
// > GameManager::dataLoaded @ 0x41ca04
// > GameManager::dataLoaded @ 0x41ca2c
// > GameManager::dataLoaded @ 0x41ca80
// > GameManager::dataLoaded @ 0x41cad8
// > GameManager::dataLoaded @ 0x41cb30
// > GameManager::dataLoaded @ 0x41cb88
// > GameManager::dataLoaded @ 0x41cbe0
// > GameManager::dataLoaded @ 0x41cc38
// > GJGameLevel::dataLoaded @ 0x4cb1aa
// > GJGameLevel::dataLoaded @ 0x4cb2d0
// > GJGameLevel::dataLoaded @ 0x4cb35c
// > GJGameLevel::dataLoaded @ 0x4cb3d8
// > GJGameLevel::dataLoaded @ 0x4cb424
// > GJGameLevel::dataLoaded @ 0x4cb484
// > GJGameLevel::dataLoaded @ 0x4cb4d0
// > GJGameLevel::dataLoaded @ 0x4cb51c
// > GJGameLevel::dataLoaded @ 0x4cb568
// > GJGameLevel::dataLoaded @ 0x4cb5fa
// > GJGameLevel::dataLoaded @ 0x4cb646
// > GJGameLevel::dataLoaded @ 0x4cb6d6
// > GJGameLevel::dataLoaded @ 0x4cb8d4
// > GJGameLevel::dataLoaded @ 0x4cb93e
// > GJGameLevel::dataLoaded @ 0x4cb9d2
// > GJGameLevel::dataLoaded @ 0x4cba26
// > GJGameLevel::dataLoaded @ 0x4cbab4
// > GJGameLevel::dataLoaded @ 0x4cbb08
// > GJGameLevel::dataLoaded @ 0x4cbb5c
// > GJGameLevel::dataLoaded @ 0x4cbbb0
// > GJGameLevel::dataLoaded @ 0x4cbc34
// > GJGameLevel::dataLoaded @ 0x4cbc88
// > GJGameLevel::dataLoaded @ 0x4cbf1c
// > GJGameLevel::dataLoaded @ 0x4cbfb4
// > GJGameLevel::dataLoaded @ 0x4cc00e
// > GJGameLevel::dataLoaded @ 0x4cc060
// > GJGameLevel::dataLoaded @ 0x4cc360
// > GJGameLevel::dataLoaded @ 0x4cc3b2
// > GJLevelList::dataLoaded @ 0x4ce80e
// > GJLevelList::dataLoaded @ 0x4ce860
// > GJLevelList::dataLoaded @ 0x4ce8b6
// > GJLevelList::dataLoaded @ 0x4cea4a
// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfbda
// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfbea
// > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfcfe
// > GJChallengeItem::dataLoaded @ 0x516a20
// > SongInfoObject::createWithCoder @ 0x578378
// > SongInfoObject::createWithCoder @ 0x578386
// > SongInfoObject::createWithCoder @ 0x5783b6
// > SongInfoObject::createWithCoder @ 0x5783ce
// > SongInfoObject::createWithCoder @ 0x578466
// > SongInfoObject::createWithCoder @ 0x578486
// > SongInfoObject::createWithCoder @ 0x5784a2
// > SongInfoObject::createWithCoder @ 0x5784e4
// > SongInfoObject::createWithCoder @ 0x5784f0
// > SongInfoObject::createWithCoder @ 0x5784fc
// > MusicDownloadManager::dataLoaded @ 0x579bc4
// > MusicDownloadManager::dataLoaded @ 0x579d40
// > MusicDownloadManager::dataLoaded @ 0x579eb8
// > MusicDownloadManager::dataLoaded @ 0x57a05c
// > MusicDownloadManager::dataLoaded @ 0x57a1c4
// > MusicDownloadManager::dataLoaded @ 0x57a1e8
// > MusicDownloadManager::dataLoaded @ 0x57a20c
// > MusicDownloadManager::dataLoaded @ 0x57a22a
// > GJAccountManager::dataLoaded @ 0x582da8
// > GJAccountManager::dataLoaded @ 0x582e06
// > GJAccountManager::dataLoaded @ 0x582e56
// > GJSmartTemplate::dataLoaded @ 0x6713d8
// > GJSmartPrefab::dataLoaded @ 0x6715a0
// > GJKeybindManager::dataLoaded @ 0x716c52
// > EditorSFXManager::dataLoaded @ 0x77f9ac
// > GJEditorSoundConfig::dataLoaded @ 0x78dfca
// > GJEditorSoundConfig::dataLoaded @ 0x78e01c
// > GJEditorSoundConfig::dataLoaded @ 0x78e0aa
// > GJEditorSoundConfig::dataLoaded @ 0x78e100
// > GJEditorSoundConfig::dataLoaded @ 0x78e1e2
//
// 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:31 +0000
//
DS_Dictionary *__fastcall DS_Dictionary::getStringForKey(DS_Dictionary *this, const char *a2, const char *a3)
{
pugi::xml_node *v5; // r0
const char *v6; // r1
size_t v7; // r2
const char *v8; // r0
int sibling; // r0
const char *v10; // r1
const char *v11; // r0
const char *v12; // r5
size_t v13; // r0
const char *v14; // r1
int *v15; // r0
const char *v16; // r1
int i; // [sp+8h] [bp-14h] BYREF
int v20; // [sp+Ch] [bp-10h] BYREF
int v21; // [sp+10h] [bp-Ch] BYREF
v5 = (pugi::xml_node *)(*((_DWORD *)a2 + 51) - 4);
if ( a2[212] )
v6 = "key";
else
v6 = "k";
for ( i = pugi::xml_node::child(v5, v6); ; i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v16) )
{
v7 = pugi::xml_node::operator void (*)(pugi::xml_node***)(&i);
if ( !v7 )
break;
v8 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i);
if ( !strcmp(v8, a3) )
{
sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i);
v10 = a2[212] ? "string" : (const char *)&a1i2r3e45s789g[8];
v20 = sibling;
v21 = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v10);
if ( pugi::xml_node::operator==(&v20, &v21) )
{
v21 = pugi::xml_node::next_sibling((pugi::xml_node *)&i);
v11 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&v21);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v12 = v11;
v13 = strlen(v11);
v14 = v12;
v7 = v13;
v15 = (int *)this;
goto LABEL_17;
}
}
if ( a2[212] )
v16 = "key";
else
v16 = "k";
}
*(_DWORD *)this = 0;
v14 = (const char *)&unk_B6B226;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v15 = (int *)this;
LABEL_17:
std::string::__init(v15, v14, v7);
return this;
}