//
// X509_ATTRIBUTE_create_by_NID from 0x83e39c to 0x83e428 (140 bytes)
//
// 2 xrefs:
// > X509at_add1_attr_by_NID @ 0x83e444
// > ??> @ 0x66c7c
//
// 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
//
const char ***__fastcall X509_ATTRIBUTE_create_by_NID(
const char ****a1,
unsigned int a2,
int a3,
const char *a4,
int a5)
{
char **v8; // r5
const char ***result; // r0
v8 = OBJ_nid2obj(a2);
if ( v8 )
{
result = X509_ATTRIBUTE_create_by_OBJ(a1, (const char **)v8, a3, a4, a5);
if ( !result )
{
ASN1_OBJECT_free(v8);
return nullptr;
}
}
else
{
ERR_put_error(11, 136, 109, (int)"crypto/x509/x509_att.c", 177);
return nullptr;
}
return result;
}