//
// sub_10045242C from 0x10045242c to 0x100452480 (84 bytes)
//
// 18 xrefs:
// > DS_Dictionary::DS_Dictionary @ 0x1001e9c94
// > DS_Dictionary::DS_Dictionary @ 0x1001e9ca8
// > DS_Dictionary::checkCompatibility @ 0x1001e9d1c
// > DS_Dictionary::loadRootSubDictFromString @ 0x1001e9dfc
// > DS_Dictionary::loadRootSubDictFromString @ 0x1001e9e10
// > DS_Dictionary::saveRootSubDictToString @ 0x1001e9f1c
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x1001ea270
// > DS_Dictionary::removeKey @ 0x1001ea550
// > DS_Dictionary::getIntegerForKey @ 0x1001ea61c
// > DS_Dictionary::getBoolForKey @ 0x1001ea720
// > DS_Dictionary::getFloatForKey @ 0x1001ea800
// > DS_Dictionary::getStringForKey @ 0x1001ea924
// > DS_Dictionary::setSubDictForKey @ 0x1001eaaa4
// > DS_Dictionary::setIntegerForKey @ 0x1001eac38
// > DS_Dictionary::setBoolForKey @ 0x1001eae28
// > DS_Dictionary::setFloatForKey @ 0x1001eafb4
// > sub_1001EB14C @ 0x1001eb1bc
// > DS_Dictionary::getObjectForKey @ 0x1001eb6a8
//
// 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 11:05:21 +0000
//
__int64 __fastcall sub_10045242C(__int64 a1, char *__s1)
{
__int64 i; // x19
const char *v4; // x1
if ( !*(_QWORD *)a1 )
return 0;
for ( i = *(_QWORD *)(*(_QWORD *)a1 + 32LL); i; i = *(_QWORD *)(i + 48) )
{
v4 = *(const char **)(i + 16);
if ( v4 && !strcmp(__s1, v4) )
break;
}
return i;
}