//
// X509v3_get_ext from 0x1067ae0 to 0x1067b2c (76 bytes)
//
// 9 xrefs:
// > OCSP_REQUEST_get_ext @ 0x1042028
// > OCSP_ONEREQ_get_ext @ 0x1042088
// > OCSP_BASICRESP_get_ext @ 0x10420e8
// > OCSP_SINGLERESP_get_ext @ 0x1042148
// > X509_CRL_get_ext @ 0x106548c
// > X509_get_ext @ 0x10654ec
// > X509_REVOKED_get_ext @ 0x106554c
// > X509V3_EXT_add_nconf_sk @ 0x107970c
// > ??> @ 0x98188
//
// This function is hookable on this platform (idp: arm, 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 13:16:54 +0000
//
__int64 __fastcall X509v3_get_ext(unsigned int *a1, int a2)
{
if ( !a1 || a2 >= (int)OPENSSL_sk_num(a1) || a2 < 0 )
return 0;
else
return OPENSSL_sk_value((__int64)a1, a2);
}