//
// X509_NAME_add_entry_by_txt from 0x106dce0 to 0x106dd4c (108 bytes)
//
// 3 xrefs:
// > X509V3_NAME_from_section @ 0x1082f48
// > X509V3_NAME_from_section @ 0x1082fb0
// > ??> @ 0xe4fd0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:58 +0000
//
__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;
}