//
// sub_100718500 from 0x100718500 to 0x10071858c (140 bytes)
//
// 0 xrefs:
//
// 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
//
const char *__fastcall sub_100718500(__int64 a1, const char *a2)
{
_QWORD *v2; // r15
const char *v4; // rsi
__int64 i; // rcx
const char *result; // rax
if ( *(_QWORD *)a1 )
{
v2 = *(_QWORD **)(*(_QWORD *)a1 + 32LL);
if ( v2 )
{
while ( 1 )
{
v4 = (const char *)v2[2];
if ( v4 )
{
if ( !strcmp(a2, v4) )
break;
}
v2 = (_QWORD *)v2[6];
if ( !v2 )
return "";
}
for ( i = v2[4]; i; i = *(_QWORD *)(i + 48) )
{
result = *(const char **)(i + 24);
if ( result && (*(_DWORD *)i & 6) == 2 )
return result;
}
}
}
return "";
}