//
// X509v3_get_ext from 0x84186c to 0x8418b0 (68 bytes)
//
// 9 xrefs:
// > OCSP_REQUEST_get_ext @ 0x81e130
// > OCSP_ONEREQ_get_ext @ 0x81e188
// > OCSP_BASICRESP_get_ext @ 0x81e1e0
// > OCSP_SINGLERESP_get_ext @ 0x81e238
// > X509_CRL_get_ext @ 0x83f268
// > X509_get_ext @ 0x83f2c0
// > X509_REVOKED_get_ext @ 0x83f318
// > X509V3_EXT_add_nconf_sk @ 0x8542fc
// > ??> @ 0x6496c
//
// 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 X509v3_get_ext(_DWORD *a1, unsigned int a2)
{
if ( !a1 || ((int)a2 >= OPENSSL_sk_num((int)a1)) | (a2 >> 31) )
return 0;
else
return OPENSSL_sk_value(a1, a2);
}