//
// DS_Dictionary::getStringForKey from 0xdb7090 to 0xdb7228 (408 bytes)
//
// 89 xrefs:
// > SpriteDescription::initDescription @ 0x68db30
// > SpriteDescription::initDescription @ 0x68db68
// > SpriteDescription::initDescription @ 0x68db9c
// > SpriteDescription::initDescription @ 0x68dbd0
// > SpriteDescription::initDescription @ 0x68dc5c
// > CCAnimateFrameCache::addDict @ 0x68e13c
// > CCAnimateFrameCache::addDict @ 0x68e19c
// > CCAnimateFrameCache::addDict @ 0x68e1fc
// > GameManager::dataLoaded @ 0x7273f4
// > GameManager::dataLoaded @ 0x72743c
// > GameManager::dataLoaded @ 0x7286cc
// > GameManager::dataLoaded @ 0x7286f8
// > GameManager::dataLoaded @ 0x728724
// > GameManager::dataLoaded @ 0x728750
// > GameManager::dataLoaded @ 0x72877c
// > GameManager::dataLoaded @ 0x7287ac
// > GameManager::dataLoaded @ 0x7287f0
// > GameManager::dataLoaded @ 0x728838
// > GameManager::dataLoaded @ 0x728880
// > GameManager::dataLoaded @ 0x7288c8
// > GameManager::dataLoaded @ 0x728910
// > GameManager::dataLoaded @ 0x728958
// > GJGameLevel::dataLoaded @ 0x83d2dc
// > GJGameLevel::dataLoaded @ 0x83d4b4
// > GJGameLevel::dataLoaded @ 0x83d550
// > GJGameLevel::dataLoaded @ 0x83d5d8
// > GJGameLevel::dataLoaded @ 0x83d624
// > GJGameLevel::dataLoaded @ 0x83d68c
// > GJGameLevel::dataLoaded @ 0x83d6d8
// > GJGameLevel::dataLoaded @ 0x83d724
// > GJGameLevel::dataLoaded @ 0x83d770
// > GJGameLevel::dataLoaded @ 0x83d820
// > GJGameLevel::dataLoaded @ 0x83d86c
// > GJGameLevel::dataLoaded @ 0x83d8f4
// > GJGameLevel::dataLoaded @ 0x83da08
// > GJGameLevel::dataLoaded @ 0x83da68
// > GJGameLevel::dataLoaded @ 0x83db04
// > GJGameLevel::dataLoaded @ 0x83db50
// > GJGameLevel::dataLoaded @ 0x83de44
// > GJGameLevel::dataLoaded @ 0x83de8c
// > GJGameLevel::dataLoaded @ 0x83ded8
// > GJGameLevel::dataLoaded @ 0x83df24
// > GJGameLevel::dataLoaded @ 0x83dfac
// > GJGameLevel::dataLoaded @ 0x83dff8
// > GJGameLevel::dataLoaded @ 0x83e3e0
// > GJGameLevel::dataLoaded @ 0x83e490
// > GJGameLevel::dataLoaded @ 0x83e50c
// > GJGameLevel::dataLoaded @ 0x83e55c
// > GJGameLevel::dataLoaded @ 0x83e778
// > GJGameLevel::dataLoaded @ 0x83e7c4
// > GJLevelList::dataLoaded @ 0x842c40
// > GJLevelList::dataLoaded @ 0x842c88
// > GJLevelList::dataLoaded @ 0x842cd0
// > GJLevelList::dataLoaded @ 0x842ee4
// > GameLevelManager::replayPlatformerSaveJournal @ 0x84523c
// > GameLevelManager::replayPlatformerSaveJournal @ 0x8452fc
// > GameLevelManager::replayPlatformerSaveJournal @ 0x84538c
// > GJChallengeItem::dataLoaded @ 0x8cd5f0
// > SongInfoObject::createWithCoder @ 0x976230
// > SongInfoObject::createWithCoder @ 0x976244
// > SongInfoObject::createWithCoder @ 0x976298
// > SongInfoObject::createWithCoder @ 0x9762c4
// > SongInfoObject::createWithCoder @ 0x976404
// > SongInfoObject::createWithCoder @ 0x976444
// > SongInfoObject::createWithCoder @ 0x976470
// > SongInfoObject::createWithCoder @ 0x976538
// > SongInfoObject::createWithCoder @ 0x97654c
// > SongInfoObject::createWithCoder @ 0x976560
// > MusicDownloadManager::dataLoaded @ 0x9795a8
// > MusicDownloadManager::dataLoaded @ 0x979738
// > MusicDownloadManager::dataLoaded @ 0x9798c8
// > MusicDownloadManager::dataLoaded @ 0x979a64
// > MusicDownloadManager::dataLoaded @ 0x979a90
// > MusicDownloadManager::dataLoaded @ 0x979e24
// > MusicDownloadManager::dataLoaded @ 0x979f30
// > MusicDownloadManager::dataLoaded @ 0x97a208
// > GJAccountManager::dataLoaded @ 0x98a70c
// > GJAccountManager::dataLoaded @ 0x98a768
// > GJAccountManager::dataLoaded @ 0x98a7b0
// > GJSmartTemplate::dataLoaded @ 0xb11684
// > GJSmartPrefab::dataLoaded @ 0xb11998
// > GJKeybindManager::dataLoaded @ 0xc0e928
// > EditorSFXManager::dataLoaded @ 0xcc4034
// > GJEditorSoundConfig::dataLoaded @ 0xcdb898
// > GJEditorSoundConfig::dataLoaded @ 0xcdb8e0
// > GJEditorSoundConfig::dataLoaded @ 0xcdb978
// > GJEditorSoundConfig::dataLoaded @ 0xcdb9c0
// > GJEditorSoundConfig::dataLoaded @ 0xcdbad0
// > ??> @ 0xc6190
//
// This function is hookable on this platform (idp: arm, 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 13:08:42 +0000
//
__int64 *__usercall DS_Dictionary::getStringForKey@(
__int64 *__return_ptr a1@,
DS_Dictionary *this@,
const char *a3@)
{
int v6; // w1
pugi::xml_node *v7; // x0
const char *v8; // x1
const char *v9; // x1
const char *v10; // x0
const char *v11; // x1
const char *v12; // x0
size_t v13; // x0
char *v15; // [xsp+68h] [xbp+68h]
__int64 i; // [xsp+70h] [xbp+70h] BYREF
__int64 sibling; // [xsp+78h] [xbp+78h] BYREF
__int64 v18; // [xsp+80h] [xbp+80h] BYREF
v6 = *((unsigned __int8 *)this + 232);
v7 = (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL);
if ( v6 )
v8 = "key";
else
v8 = "k";
for ( i = pugi::xml_node::child(v7, v8);
pugi::xml_node::operator void (*)(pugi::xml_node***)(&i);
i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v9) )
{
v10 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i);
if ( !strcmp(v10, a3) )
{
sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i);
v11 = *((_BYTE *)this + 232) ? "string" : "s";
v18 = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v11);
if ( (unsigned __int8)pugi::xml_node::operator==(&sibling, &v18) )
{
v18 = pugi::xml_node::next_sibling((pugi::xml_node *)&i);
v12 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&v18);
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v15 = (char *)v12;
v13 = strlen(v12);
std::string::__init(a1, v15, v13);
return a1;
}
}
if ( *((_BYTE *)this + 232) )
v9 = "key";
else
v9 = "k";
}
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, &byte_11B8890, 0);
return a1;
}