//
// sub_DE8BE8 from 0xde8be8 to 0xde8c3c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x12392a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_DE8BE8(__int64 a1, __int64 a2, char a3)
{
__int64 result; // x0
X509_check_purpose(a2, 0xFFFFFFFFLL, 0);
result = 3;
if ( (a3 & 4) == 0 )
{
if ( (*(_DWORD *)(a2 + 208) & 0x2000) != 0 )
return 1;
else
return 3;
}
return result;
}