//
// X509_ATTRIBUTE_set1_object from 0xa52c64 to 0xa52ca4 (64 bytes)
//
// 3 xrefs:
// > X509_ATTRIBUTE_create_by_OBJ @ 0xa52e64
// > X509_ATTRIBUTE_create_by_OBJ @ 0xa52ee0
// > ??> @ 0x8069c
//
// 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:23 +0000
//
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;
}