//
// X509_ATTRIBUTE_set1_object from 0x83e064 to 0x83e0a4 (64 bytes)
//
// 3 xrefs:
// > X509_ATTRIBUTE_create_by_OBJ @ 0x83e264
// > X509_ATTRIBUTE_create_by_OBJ @ 0x83e2e0
// > ??> @ 0x66c1c
//
// 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
//
bool __fastcall X509_ATTRIBUTE_set1_object(const char ***a1, const char **a2)
{
bool v2; // zf
const char **v5; // r0
v2 = a2 == nullptr;
if ( a2 )
v2 = a1 == nullptr;
if ( v2 )
return 0;
ASN1_OBJECT_free(*a1);
v5 = OBJ_dup(a2);
*a1 = v5;
return v5 != nullptr;
}