//
// X509_NAME_add_entry_by_NID from 0x847ddc to 0x847e30 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x67c0c
//
// 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
//
int __fastcall X509_NAME_add_entry_by_NID(
int *a1,
unsigned int a2,
int a3,
char *a4,
signed int a5,
signed int a6,
int a7)
{
const char ***v8; // r5
int v10; // r4
v8 = X509_NAME_ENTRY_create_by_NID(nullptr, a2, a3, a4, a5);
if ( !v8 )
return 0;
v10 = X509_NAME_add_entry(a1, (int)v8, a6, a7);
X509_NAME_ENTRY_free(v8);
return v10;
}