//
// X509_get_proxy_pathlen from 0xa70084 to 0xa700bc (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x830bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:08:41 +0000
//
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;
}