//
// sub_10071C800 from 0x10071c800 to 0x10071c865 (101 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:11 +0000
//
char __fastcall sub_10071C800(__int64 *a1, char a2)
{
char result; // al
__int64 v3; // rcx
unsigned __int8 *v4; // rcx
int v5; // ecx
unsigned __int64 v6; // rdx
__int64 v7; // rsi
result = a2;
v3 = *a1;
if ( *a1 )
{
if ( (*(_DWORD *)v3 & 6) != 2 )
{
v3 = *(_QWORD *)(v3 + 32);
if ( !v3 )
return result;
while ( (*(_DWORD *)v3 & 6) != 2 )
{
v3 = *(_QWORD *)(v3 + 48);
if ( !v3 )
return result;
}
}
v4 = *(unsigned __int8 **)(v3 + 24);
if ( v4 )
{
v5 = *v4;
result = 1;
v6 = (unsigned int)(v5 - 84);
if ( (unsigned int)v6 > 0x25 || (v7 = 0x2100000021LL, !_bittest64(&v7, v6)) )
{
if ( v5 != 49 )
return 0;
}
}
}
return result;
}