//
// X509_get_proxy_pathlen from 0x85b484 to 0x85b4bc (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x6963c
//
// 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 X509_get_proxy_pathlen(int a1)
{
if ( X509_check_purpose(a1, -1, -1) == 1 && (*(_DWORD *)(a1 + 112) & 0x400) != 0 )
return *(_DWORD *)(a1 + 108);
else
return -1;
}