//
// X509_CRL_add0_revoked from 0xdf0eb8 to 0xdf0f38 (128 bytes)
//
// 2 xrefs:
// > X509_CRL_diff @ 0xded46c
// > ??> @ 0x4f680
//
// 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
//
__int64 __fastcall X509_CRL_add0_revoked(__int64 a1, __int64 a2)
{
int *v3; // x0
__int64 v5; // [xsp+28h] [xbp+28h]
v3 = *(int **)(a1 + 48);
if ( (v3 || (v5 = a2, v3 = (int *)OPENSSL_sk_new((__int64)sub_DF06FC), *(_QWORD *)(a1 + 48) = v3, a2 = v5, v3))
&& (unsigned int)OPENSSL_sk_push(v3, a2) )
{
*(_DWORD *)(a1 + 80) = 1;
return 1;
}
else
{
ERR_put_error(13, 169, 65, (__int64)"crypto/x509/x_crl.c", 314);
return 0;
}
}