//
// X509_NAME_ENTRY_set_object from 0x106d978 to 0x106d9ec (116 bytes)
//
// 3 xrefs:
// > X509_NAME_ENTRY_create_by_OBJ @ 0x106db28
// > X509_NAME_ENTRY_create_by_OBJ @ 0x106db98
// > ??> @ 0xe4130
//
// 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
//
bool __fastcall X509_NAME_ENTRY_set_object(__int64 *a1, __int64 a2)
{
__int64 v3; // x0
if ( a1 && a2 )
{
ASN1_OBJECT_free(*a1);
v3 = OBJ_dup(a2);
*a1 = v3;
return v3 != 0;
}
else
{
ERR_put_error(11, 115, 67, (__int64)"crypto/x509/x509name.c", 308);
return 0;
}
}