//
// sub_180082A40 from 0x180082a40 to 0x180082ab4 (116 bytes)
//
// 42 xrefs:
// > DS_Dictionary::DS_Dictionary @ 0x180016dcf
// > DS_Dictionary::DS_Dictionary @ 0x180016de3
// > DS_Dictionary::checkCompatibility @ 0x180018ec5
// > DS_Dictionary::getBoolForKey @ 0x180019bae
// > DS_Dictionary::getFloatForKey @ 0x18001a1da
// > DS_Dictionary::getIndexOfKey @ 0x18001a31c
// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a3fb
// > DS_Dictionary::getIntegerForKey @ 0x18001a5aa
// > DS_Dictionary::getObjectForKey @ 0x18001a83f
// > DS_Dictionary::getRectForKey @ 0x18001acb4
// > DS_Dictionary::getStringArrayForKey @ 0x18001b0e2
// > DS_Dictionary::getStringForKey @ 0x18001b50b
// > DS_Dictionary::getVec2ForKey @ 0x18001b7e2
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bb20
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bb33
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bb55
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be4d
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be60
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be7a
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001bfdd
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001bff4
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c00f
// > DS_Dictionary::removeAllKeys @ 0x18001d066
// > DS_Dictionary::removeAllKeys @ 0x18001d0d9
// > DS_Dictionary::removeKey @ 0x18001d13b
// > DS_Dictionary::removeKey @ 0x18001d21e
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x18001d6ee
// > DS_Dictionary::saveRootSubDictToString @ 0x18001e341
// > DS_Dictionary::setBoolForKey @ 0x18001ea8b
// > DS_Dictionary::setFloatForKey @ 0x18001f063
// > DS_Dictionary::setIntegerForKey @ 0x18001f2fe
// > DS_Dictionary::setRectArrayForKey @ 0x18001f748
// > DS_Dictionary::setRectForKey @ 0x18001fd83
// > DS_Dictionary::setStringArrayForKey @ 0x18002000a
// > DS_Dictionary::setStringForKey @ 0x18002024e
// > DS_Dictionary::setSubDictForKey @ 0x1800204b4
// > DS_Dictionary::setVec2ArrayForKey @ 0x1800206aa
// > DS_Dictionary::setVec2ForKey @ 0x180020c61
// > DS_Dictionary::stepBackToRootSubDict @ 0x180021636
// > DS_Dictionary::stepBackToRootSubDict @ 0x18002164a
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x1800216aa
// > ??> @ 0x1801bf334
//
// 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_180082A40(__int64 a1, _QWORD *a2, const char *a3)
{
__int64 v5; // rbx
const char *v6; // rdx
if ( *(_QWORD *)a1 && (v5 = *(_QWORD *)(*(_QWORD *)a1 + 32LL)) != 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;
}
}