//
// X509_EXTENSION_create_by_NID from 0xa56798 to 0xa5681c (132 bytes)
//
// 3 xrefs:
// > sub_A685DC @ 0xa686d8
// > X509V3_EXT_i2d @ 0xa68d68
// > ??> @ 0x80efc
//
// 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
//
const char ***__fastcall X509_EXTENSION_create_by_NID(const char ****a1, unsigned int a2, int a3, _DWORD *a4)
{
char **v7; // r5
const char ***result; // r0
v7 = OBJ_nid2obj(a2);
if ( v7 )
{
result = X509_EXTENSION_create_by_OBJ(a1, (const char **)v7, a3, a4);
if ( !result )
{
ASN1_OBJECT_free(v7);
return nullptr;
}
}
else
{
ERR_put_error(11, 108, 109, (int)"crypto/x509/x509_v3.c", 144);
return nullptr;
}
return result;
}