//
// X509v3_get_ext_by_NID from 0xa563a4 to 0xa563d8 (52 bytes)
//
// 9 xrefs:
// > OCSP_REQUEST_get_ext_by_NID @ 0xa32d18
// > OCSP_ONEREQ_get_ext_by_NID @ 0xa32d70
// > OCSP_BASICRESP_get_ext_by_NID @ 0xa32dc8
// > OCSP_SINGLERESP_get_ext_by_NID @ 0xa32e20
// > X509_CRL_get_ext_by_NID @ 0xa53e50
// > X509_get_ext_by_NID @ 0xa53ea8
// > X509_REVOKED_get_ext_by_NID @ 0xa53f00
// > X509V3_add1_i2d @ 0xa6c450
// > ??> @ 0x7e38c
//
// 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:26 +0000
//
int __fastcall X509v3_get_ext_by_NID(_DWORD *a1, unsigned int a2, int a3)
{
char **v5; // r1
v5 = OBJ_nid2obj(a2);
if ( v5 )
return X509v3_get_ext_by_OBJ(a1, (int)v5, a3);
else
return -2;
}