//
// X509_NAME_ENTRY_create_by_OBJ from 0xa5c72c to 0xa5c808 (220 bytes)
//
// 4 xrefs:
// > X509_NAME_add_entry_by_OBJ @ 0xa5c820
// > X509_NAME_ENTRY_create_by_txt @ 0xa5c8a0
// > X509_NAME_ENTRY_create_by_NID @ 0xa5c990
// > ??> @ 0x8162c
//
// 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:30 +0000
//
const char ***__fastcall X509_NAME_ENTRY_create_by_OBJ(
const char ****a1,
const char **a2,
int a3,
char *a4,
signed int a5)
{
const char ***v9; // r4
const char ***v11; // r0
if ( a1 )
{
v9 = *a1;
if ( *a1 )
{
if ( X509_NAME_ENTRY_set_object(*a1, a2) && X509_NAME_ENTRY_set_data((int)v9, a3, a4, a5) )
goto LABEL_8;
LABEL_4:
if ( *a1 == v9 )
return nullptr;
LABEL_5:
X509_NAME_ENTRY_free(v9);
return nullptr;
}
}
v11 = (const char ***)X509_NAME_ENTRY_new();
v9 = v11;
if ( !v11 )
return nullptr;
if ( !X509_NAME_ENTRY_set_object(v11, a2) || !X509_NAME_ENTRY_set_data((int)v9, a3, a4, a5) )
{
if ( !a1 )
goto LABEL_5;
goto LABEL_4;
}
if ( !a1 )
return v9;
LABEL_8:
if ( *a1 )
return v9;
*a1 = v9;
return v9;
}