//
// sub_18007FB70 from 0x18007fb70 to 0x18007fbac (60 bytes)
//
// 35 xrefs:
// > DS_Dictionary::addBoolValuesToMapForKey @ 0x180018c55
// > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x180018ddb
// > DS_Dictionary::getAllKeys @ 0x180019c17
// > DS_Dictionary::getBoolForKey @ 0x180019eb7
// > DS_Dictionary::getDictForKey @ 0x18001a034
// > DS_Dictionary::getDictForKey @ 0x18001a216
// > DS_Dictionary::getFloatForKey @ 0x18001a425
// > DS_Dictionary::getFloatForKey @ 0x18001a4e4
// > DS_Dictionary::getIndexOfKey @ 0x18001a565
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a648
// > DS_Dictionary::getIntegerForKey @ 0x18001a7f5
// > DS_Dictionary::getIntegerForKey @ 0x18001a8b9
// > DS_Dictionary::getKey @ 0x18001a97e
// > DS_Dictionary::getObjectForKey @ 0x18001aaa6
// > DS_Dictionary::getObjectForKey @ 0x18001acdd
// > DS_Dictionary::getRectForKey @ 0x18001af15
// > DS_Dictionary::getRectForKey @ 0x18001b003
// > DS_Dictionary::getStringArrayForKey @ 0x18001b394
// > DS_Dictionary::getStringArrayForKey @ 0x18001b4a4
// > DS_Dictionary::getStringForKey @ 0x18001b605
// > DS_Dictionary::getStringForKey @ 0x18001b6ef
// > DS_Dictionary::getVec2ForKey @ 0x18001b8d6
// > DS_Dictionary::getVec2ForKey @ 0x18001b9b7
// > DS_Dictionary::removeKey @ 0x18001d10b
// > DS_Dictionary::setBoolForKey @ 0x18001e8d5
// > DS_Dictionary::setFloatForKey @ 0x18001eee5
// > DS_Dictionary::setIntegerForKey @ 0x18001f177
// > DS_Dictionary::setRectArrayForKey @ 0x18001f5ab
// > DS_Dictionary::setRectForKey @ 0x18001fbc7
// > DS_Dictionary::setStringArrayForKey @ 0x18001fe25
// > DS_Dictionary::setStringForKey @ 0x180020067
// > DS_Dictionary::setSubDictForKey @ 0x1800202d5
// > DS_Dictionary::setVec2ArrayForKey @ 0x1800204cb
// > DS_Dictionary::setVec2ForKey @ 0x180020a55
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x180021305
//
// 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
//
const CHAR *__fastcall sub_18007FB70(__int64 a1)
{
__int64 v1; // rax
if ( !*(_QWORD *)a1 )
return Buf2;
v1 = *(_QWORD *)(*(_QWORD *)a1 + 32LL);
if ( !v1 )
return Buf2;
while ( !*(_QWORD *)(v1 + 24) || (*(_DWORD *)v1 & 7u) - 2 > 1 )
{
v1 = *(_QWORD *)(v1 + 48);
if ( !v1 )
return Buf2;
}
return *(const CHAR **)(v1 + 24);
}