//
// sub_10095EC40 from 0x10095ec40 to 0x10095ecbb (123 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:38:44 +0000
//
unsigned __int8 __fastcall sub_10095EC40(__int64 a1)
{
__int64 v2; // rcx
unsigned int v3; // eax
__int64 v4; // rax
unsigned __int8 result; // al
__int64 v6; // rdi
unsigned int v7; // r14d
v2 = *(_QWORD *)(a1 + 1048);
if ( v2 )
{
v3 = *(unsigned __int8 *)(v2 + 1784);
if ( (v3 & 1) != 0 )
v4 = *(_QWORD *)(v2 + 1792);
else
v4 = v3 >> 1;
result = v4 != 0;
v6 = *(_QWORD *)(a1 + 1168);
if ( v6 )
goto LABEL_8;
}
else
{
result = 0;
v6 = *(_QWORD *)(a1 + 1168);
if ( v6 )
{
LABEL_8:
v7 = result;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, result);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1168) + 1056LL))(*(_QWORD *)(a1 + 1168), v7);
}
}
return result;
}