//
// sub_1007183D0 from 0x1007183d0 to 0x10071841c (76 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
//
_QWORD *__fastcall sub_1007183D0(__int64 a1, const char *a2)
{
_QWORD *v2; // rbx
const char *v4; // rsi
if ( !*(_QWORD *)a1 )
return nullptr;
v2 = *(_QWORD **)(*(_QWORD *)a1 + 40LL);
if ( !v2[6] )
return nullptr;
while ( 1 )
{
v4 = (const char *)v2[2];
if ( v4 )
{
if ( !strcmp(a2, v4) )
break;
}
v2 = (_QWORD *)v2[5];
if ( !v2[6] )
return nullptr;
}
return v2;
}