//
// X509_NAME_add_entry_by_txt from 0xdef9a0 to 0xdefa0c (108 bytes)
//
// 3 xrefs:
// > X509V3_NAME_from_section @ 0xe04c08
// > X509V3_NAME_from_section @ 0xe04c70
// > ??> @ 0xaefc0
//
// 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
//
__int64 *__fastcall X509_NAME_add_entry_by_txt(__int64 a1, char *a2, int a3, char *a4, int a5, int a6, int a7, int a8)
{
__int64 *result; // x0
__int64 *v10; // x19
unsigned int v11; // w20
result = X509_NAME_ENTRY_create_by_txt(nullptr, a2, a3, a4, a5, a6, a7, a8);
v10 = result;
if ( result )
{
v11 = X509_NAME_add_entry(a1, (__int64)result, a6, a7);
X509_NAME_ENTRY_free(v10);
return (__int64 *)v11;
}
return result;
}