//
// sub_100717540 from 0x100717540 to 0x10071757d (61 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:08 +0000
//
char __fastcall sub_100717540(__int64 a1, char a2)
{
char result; // al
unsigned __int8 *v3; // rcx
int v4; // ecx
unsigned __int64 v5; // rdx
__int64 v6; // rsi
result = a2;
if ( *(_QWORD *)a1 )
{
v3 = *(unsigned __int8 **)(*(_QWORD *)a1 + 16LL);
if ( v3 )
{
v4 = *v3;
result = 1;
v5 = (unsigned int)(v4 - 84);
if ( (unsigned int)v5 > 0x25 || (v6 = 0x2100000021LL, !_bittest64(&v6, v5)) )
{
if ( v4 != 49 )
return 0;
}
}
}
return result;
}