//
// sub_18007FAB0 from 0x18007fab0 to 0x18007fb05 (85 bytes)
//
// 4 xrefs:
// > DS_Dictionary::checkCompatibility @ 0x1800192c9
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc8f
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfd4
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c160
//
// 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_18007FAB0(__int64 a1, _QWORD *a2, const char *a3)
{
__int64 v4; // r10
const char *v5; // r9
if ( *(_QWORD *)a1 && (v4 = *(_QWORD *)(*(_QWORD *)a1 + 56LL)) != 0 )
{
while ( 1 )
{
v5 = *(const char **)(v4 + 8);
if ( v5 )
{
if ( !strcmp(a3, v5) )
break;
}
v4 = *(_QWORD *)(v4 + 32);
if ( !v4 )
goto LABEL_6;
}
*a2 = v4;
return a2;
}
else
{
LABEL_6:
*a2 = 0;
return a2;
}
}