//
// sub_180084A40 from 0x180084a40 to 0x180084ab4 (116 bytes)
//
// 29 xrefs:
// > DS_Dictionary::getBoolForKey @ 0x180019bf7
// > DS_Dictionary::getFloatForKey @ 0x18001a234
// > DS_Dictionary::getFloatForKey @ 0x18001a276
// > DS_Dictionary::getIndexOfKey @ 0x18001a367
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a523
// > DS_Dictionary::getIntegerForKey @ 0x18001a63e
// > DS_Dictionary::getObjectForKey @ 0x18001a884
// > DS_Dictionary::getRectForKey @ 0x18001ad07
// > DS_Dictionary::getRectForKey @ 0x18001ad49
// > DS_Dictionary::getStringArrayForKey @ 0x18001b132
// > DS_Dictionary::getStringArrayForKey @ 0x18001b170
// > DS_Dictionary::getStringForKey @ 0x18001b568
// > DS_Dictionary::getStringForKey @ 0x18001b5aa
// > DS_Dictionary::getVec2ForKey @ 0x18001b835
// > DS_Dictionary::getVec2ForKey @ 0x18001b877
// > DS_Dictionary::removeKey @ 0x18001d172
// > DS_Dictionary::removeKey @ 0x18001d26b
// > DS_Dictionary::setBoolForKey @ 0x18001ead5
// > DS_Dictionary::setFloatForKey @ 0x18001f0b5
// > DS_Dictionary::setIntegerForKey @ 0x18001f347
// > DS_Dictionary::setRectArrayForKey @ 0x18001f795
// > DS_Dictionary::setRectForKey @ 0x18001fdd5
// > DS_Dictionary::setStringArrayForKey @ 0x180020055
// > DS_Dictionary::setStringForKey @ 0x180020297
// > DS_Dictionary::setSubDictForKey @ 0x180020505
// > DS_Dictionary::setVec2ArrayForKey @ 0x1800206f5
// > DS_Dictionary::setVec2ForKey @ 0x180020caa
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x18002173e
// > ??> @ 0x1801bf64c
//
// This function is hookable on this platform (idp: pc, 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:22:03 +0000
//
_QWORD *__fastcall sub_180084A40(__int64 a1, _QWORD *a2, const char *a3)
{
__int64 v5; // rbx
const char *v6; // rdx
if ( *(_QWORD *)a1 && (v5 = *(_QWORD *)(*(_QWORD *)a1 + 48LL)) != 0 )
{
while ( 1 )
{
v6 = *(const char **)(v5 + 16);
if ( v6 )
{
if ( !strcmp(a3, v6) )
break;
}
v5 = *(_QWORD *)(v5 + 48);
if ( !v5 )
goto LABEL_6;
}
*a2 = v5;
return a2;
}
else
{
LABEL_6:
*a2 = 0;
return a2;
}
}