//
// sub_840B00 from 0x840b00 to 0x840b40 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xac0f6c
//
// 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
//
int __fastcall sub_840B00(int a1, int a2, char a3)
{
X509_check_purpose(a2, -1, 0);
if ( (a3 & 4) != 0 )
return 3;
if ( (*(_DWORD *)(a2 + 112) & 0x2000) != 0 )
return 1;
return 3;
}