//
// X509_add1_reject_object from 0xa5ffc0 to 0xa6003c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x81f7c
//
// 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:33 +0000
//
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;
}