//
// sub_18007FB10 from 0x18007fb10 to 0x18007fb65 (85 bytes)
//
// 41 xrefs:
// > DS_Dictionary::DS_Dictionary @ 0x18001728c
// > DS_Dictionary::DS_Dictionary @ 0x1800172a0
// > DS_Dictionary::checkCompatibility @ 0x1800192b5
// > DS_Dictionary::getBoolForKey @ 0x180019e9e
// > DS_Dictionary::getFloatForKey @ 0x18001a3fa
// > DS_Dictionary::getIndexOfKey @ 0x18001a54c
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a62b
// > DS_Dictionary::getIntegerForKey @ 0x18001a7cb
// > DS_Dictionary::getObjectForKey @ 0x18001aa8f
// > DS_Dictionary::getRectForKey @ 0x18001aef1
// > DS_Dictionary::getStringArrayForKey @ 0x18001b372
// > DS_Dictionary::getStringForKey @ 0x18001b5db
// > DS_Dictionary::getVec2ForKey @ 0x18001b8b2
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc47
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc5a
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc7c
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf94
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfa7
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfc1
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c117
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c12e
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c149
// > DS_Dictionary::removeAllKeys @ 0x18001cf36
// > DS_Dictionary::removeAllKeys @ 0x18001cfa9
// > DS_Dictionary::removeKey @ 0x18001d00b
// > DS_Dictionary::removeKey @ 0x18001d0ee
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x18001d640
// > DS_Dictionary::saveRootSubDictToString @ 0x18001e241
// > DS_Dictionary::setBoolForKey @ 0x18001e8bb
// > DS_Dictionary::setFloatForKey @ 0x18001eec3
// > DS_Dictionary::setIntegerForKey @ 0x18001f15e
// > DS_Dictionary::setRectArrayForKey @ 0x18001f592
// > DS_Dictionary::setRectForKey @ 0x18001fbae
// > DS_Dictionary::setStringArrayForKey @ 0x18001fe0a
// > DS_Dictionary::setStringForKey @ 0x18002004e
// > DS_Dictionary::setSubDictForKey @ 0x1800202b4
// > DS_Dictionary::setVec2ArrayForKey @ 0x1800204b2
// > DS_Dictionary::setVec2ForKey @ 0x180020a3c
// > DS_Dictionary::stepBackToRootSubDict @ 0x18002126e
// > DS_Dictionary::stepBackToRootSubDict @ 0x180021282
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x1800212db
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_QWORD *__fastcall sub_18007FB10(__int64 a1, _QWORD *a2, const char *a3)
{
__int64 v4; // r10
const char *v5; // r9
if ( *(_QWORD *)a1 && (v4 = *(_QWORD *)(*(_QWORD *)a1 + 32LL)) != 0 )
{
while ( 1 )
{
v5 = *(const char **)(v4 + 16);
if ( v5 )
{
if ( !strcmp(a3, v5) )
break;
}
v4 = *(_QWORD *)(v4 + 48);
if ( !v4 )
goto LABEL_6;
}
*a2 = v4;
return a2;
}
else
{
LABEL_6:
*a2 = 0;
return a2;
}
}