//
// X509_CRL_set_version from 0x84743c to 0x847494 (88 bytes)
//
// 2 xrefs:
// > X509_CRL_diff @ 0x8455c0
// > ??> @ 0x6763c
//
// 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_CRL_set_version(int *a1, int a2)
{
int v3; // r0
int v5; // [sp+4h] [bp-Ch]
if ( !a1 )
return 0;
v3 = *a1;
if ( v3 )
return ASN1_INTEGER_set(v3, a2);
v5 = a2;
v3 = ASN1_INTEGER_new();
a2 = v5;
*a1 = v3;
if ( v3 )
return ASN1_INTEGER_set(v3, a2);
else
return 0;
}