//
// X509_ATTRIBUTE_create_by_txt from 0xa5307c to 0xa53118 (156 bytes)
//
// 2 xrefs:
// > X509at_add1_attr_by_txt @ 0xa53138
// > ??> @ 0x8070c
//
// 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:24 +0000
//
const char ***__fastcall X509_ATTRIBUTE_create_by_txt(const char ****a1, char *a2, int a3, const char *a4, int a5)
{
char **v9; // r0
char **v10; // r5
const char ***v11; // r4
v9 = OBJ_txt2obj(a2, 0);
v10 = v9;
if ( v9 )
{
v11 = X509_ATTRIBUTE_create_by_OBJ(a1, (const char **)v9, a3, a4, a5);
ASN1_OBJECT_free(v10);
return v11;
}
else
{
ERR_put_error(11, 140, 119, (int)"crypto/x509/x509_att.c", 227);
ERR_add_error_data(2, "name=", a2);
return nullptr;
}
}