//
// X509_NAME_ENTRY_set_object from 0xa5c5c0 to 0xa5c630 (112 bytes)
//
// 3 xrefs:
// > X509_NAME_ENTRY_create_by_OBJ @ 0xa5c754
// > X509_NAME_ENTRY_create_by_OBJ @ 0xa5c7bc
// > ??> @ 0x8160c
//
// 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
//
bool __fastcall X509_NAME_ENTRY_set_object(const char ***a1, const char **a2)
{
bool v2; // zf
const char **v5; // r3
v2 = a2 == nullptr;
if ( a2 )
v2 = a1 == nullptr;
if ( v2 )
{
ERR_put_error(11, 115, 67, (int)"crypto/x509/x509name.c", 308);
return 0;
}
else
{
ASN1_OBJECT_free(*a1);
v5 = OBJ_dup(a2);
*a1 = v5;
return v5 != nullptr;
}
}