//
// sub_100718310 from 0x100718310 to 0x10071835a (74 bytes)
//
// 4 xrefs:
// > DS_Dictionary::checkCompatibility @ 0x100159eb7
// > DS_Dictionary::loadRootSubDictFromFile @ 0x10015a19a
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x10015a4ec
// > DS_Dictionary::loadRootSubDictFromString @ 0x10015a7a9
//
// 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 12:36:09 +0000
//
__int64 __fastcall sub_100718310(__int64 a1, const char *a2)
{
__int64 v2; // rbx
const char *v4; // rsi
if ( !*(_QWORD *)a1 )
return 0;
v2 = *(_QWORD *)(*(_QWORD *)a1 + 56LL);
if ( !v2 )
return 0;
while ( 1 )
{
v4 = *(const char **)(v2 + 8);
if ( v4 )
{
if ( !strcmp(a2, v4) )
break;
}
v2 = *(_QWORD *)(v2 + 32);
if ( !v2 )
return 0;
}
return v2;
}