//
// X509_ATTRIBUTE_set1_object from 0xde5eb0 to 0xde5f04 (84 bytes)
//
// 3 xrefs:
// > X509_ATTRIBUTE_create_by_OBJ @ 0xde60e0
// > X509_ATTRIBUTE_create_by_OBJ @ 0xde6150
// > ??> @ 0x345c0
//
// 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(__int64 *a1, __int64 a2)
{
__int64 v4; // x0
if ( !a1 || !a2 )
return 0;
ASN1_OBJECT_free(*a1);
v4 = OBJ_dup(a2);
*a1 = v4;
return v4 != 0;
}