//
// X509_add1_reject_object from 0x84b3c0 to 0x84b43c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x684fc
//
// 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
//
int __fastcall X509_add1_reject_object(int a1, const char **a2)
{
const char **v3; // r6
void *v4; // r4
int *v5; // r0
v3 = OBJ_dup(a2);
if ( v3 )
{
if ( a1 )
{
v4 = *(void **)(a1 + 180);
if ( v4 || (v4 = X509_CERT_AUX_new(), (*(_DWORD *)(a1 + 180) = v4) != 0) )
{
v5 = *((int **)v4 + 1);
if ( v5 )
return OPENSSL_sk_push(v5, (int)v3);
v5 = OPENSSL_sk_new_null();
*((_DWORD *)v4 + 1) = v5;
if ( v5 )
return OPENSSL_sk_push(v5, (int)v3);
}
}
ASN1_OBJECT_free(v3);
}
return 0;
}