//
// X509v3_get_ext from 0xde97a0 to 0xde97ec (76 bytes)
//
// 9 xrefs:
// > OCSP_REQUEST_get_ext @ 0xdc3cc8
// > OCSP_ONEREQ_get_ext @ 0xdc3d28
// > OCSP_BASICRESP_get_ext @ 0xdc3d88
// > OCSP_SINGLERESP_get_ext @ 0xdc3de8
// > X509_CRL_get_ext @ 0xde714c
// > X509_get_ext @ 0xde71ac
// > X509_REVOKED_get_ext @ 0xde720c
// > X509V3_EXT_add_nconf_sk @ 0xdfb3cc
// > ??> @ 0x70fb0
//
// 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 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);
}