//
// sub_1406763B0 from 0x1406763b0 to 0x14067643e (142 bytes)
//
// 2 xrefs:
// > sub_140675A00 @ 0x140675a53
// > sub_140675C40 @ 0x140675c89
//
// 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 11:35:59 +0000
//
char __fastcall sub_1406763B0(unsigned __int64 a1, unsigned __int64 a2, char a3)
{
char result; // al
if ( a3 && a1 > 0x30 )
{
if ( a2 > 0x10 )
{
if ( a2 > 0x30 )
return 2;
else
return 2 * (a1 > 0x50);
}
else
{
return 2 * (a1 > 0x3E8);
}
}
else
{
result = 0;
if ( a2 > 0x20 )
{
if ( a2 > 0x30 )
{
if ( a2 > 0x40 )
{
if ( a2 > 0x50 )
{
if ( a2 > 0x21C )
return a1 > 0x20;
else
return a1 > 0x30;
}
else
{
return a1 > 0x80;
}
}
else
{
return a1 > 0xE0;
}
}
else
{
return a1 > 0x1A0;
}
}
}
return result;
}