//
// sub_100719DB0 from 0x100719db0 to 0x100719e4e (158 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:10 +0000
//
char __fastcall sub_100719DB0(_QWORD **a1, const char *a2)
{
_QWORD *v2; // r15
__int64 v3; // r13
_QWORD *v5; // rbx
const char *v6; // rsi
__int64 v8; // rax
__int64 v9; // rcx
_QWORD *v10; // rdx
v2 = *a1;
if ( !*a1 )
return 0;
v3 = v2[4];
if ( !v3 )
return 0;
v5 = (_QWORD *)v2[4];
while ( 1 )
{
v6 = (const char *)v5[2];
if ( v6 )
{
if ( !strcmp(a2, v6) )
break;
}
v5 = (_QWORD *)v5[6];
if ( !v5 )
return 0;
}
if ( (_QWORD *)v5[1] != v2 )
return 0;
v8 = v5[5];
v9 = v5[6];
if ( v9 )
v3 = v5[6];
*(_QWORD *)(v3 + 40) = v8;
v10 = (_QWORD *)(v8 + 48);
if ( !*(_QWORD *)(v8 + 48) )
v10 = v2 + 4;
*v10 = v9;
sub_100719EC0(v5, *(_QWORD *)(*v2 & 0xFFFFFFFFFFFFFFE0LL));
return 1;
}