//
// X509_CRL_set_version from 0xa5c03c to 0xa5c094 (88 bytes)
//
// 2 xrefs:
// > X509_CRL_diff @ 0xa5a1c0
// > ??> @ 0x810bc
//
// 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:29 +0000
//
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;
}