//
// sub_180081A50 from 0x180081a50 to 0x180081aa5 (85 bytes)
//
// 28 xrefs:
// > DS_Dictionary::getBoolForKey @ 0x180019ef5
// > DS_Dictionary::getFloatForKey @ 0x18001a462
// > DS_Dictionary::getFloatForKey @ 0x18001a4a4
// > DS_Dictionary::getIndexOfKey @ 0x18001a5a5
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a752
// > DS_Dictionary::getIntegerForKey @ 0x18001a885
// > DS_Dictionary::getObjectForKey @ 0x18001aae4
// > DS_Dictionary::getRectForKey @ 0x18001af52
// > DS_Dictionary::getRectForKey @ 0x18001af94
// > DS_Dictionary::getStringArrayForKey @ 0x18001b3d1
// > DS_Dictionary::getStringArrayForKey @ 0x18001b40f
// > DS_Dictionary::getStringForKey @ 0x18001b646
// > DS_Dictionary::getStringForKey @ 0x18001b688
// > DS_Dictionary::getVec2ForKey @ 0x18001b913
// > DS_Dictionary::getVec2ForKey @ 0x18001b955
// > DS_Dictionary::removeKey @ 0x18001d042
// > DS_Dictionary::removeKey @ 0x18001d153
// > DS_Dictionary::setBoolForKey @ 0x18001e905
// > DS_Dictionary::setFloatForKey @ 0x18001ef15
// > DS_Dictionary::setIntegerForKey @ 0x18001f1a7
// > DS_Dictionary::setRectArrayForKey @ 0x18001f5db
// > DS_Dictionary::setRectForKey @ 0x18001fbf7
// > DS_Dictionary::setStringArrayForKey @ 0x18001fe55
// > DS_Dictionary::setStringForKey @ 0x180020097
// > DS_Dictionary::setSubDictForKey @ 0x180020305
// > DS_Dictionary::setVec2ArrayForKey @ 0x1800204fb
// > DS_Dictionary::setVec2ForKey @ 0x180020a85
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x180021395
//
// 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_180081A50(__int64 a1, _QWORD *a2, const char *a3)
{
__int64 v4; // r10
const char *v5; // r9
if ( *(_QWORD *)a1 && (v4 = *(_QWORD *)(*(_QWORD *)a1 + 48LL)) != 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;
}
}