//
// X509_CRL_add0_revoked from 0xa5e040 to 0xa5e0c4 (132 bytes)
//
// 2 xrefs:
// > X509_CRL_diff @ 0xa5a2ec
// > ??> @ 0x8112c
//
// 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:31 +0000
//
int __fastcall X509_CRL_add0_revoked(int a1, int a2)
{
int *v3; // r0
int v5; // [sp+Ch] [bp-4h]
v3 = *(int **)(a1 + 24);
if ( (v3 || (v5 = a2, v3 = OPENSSL_sk_new((int)sub_A5D8CC), a2 = v5, (*(_DWORD *)(a1 + 24) = v3) != 0))
&& OPENSSL_sk_push(v3, a2) )
{
*(_DWORD *)(a1 + 40) = 1;
return 1;
}
else
{
ERR_put_error(13, 169, 65, (int)"crypto/x509/x_crl.c", 314);
return 0;
}
}