//
// X509_REVOKED_set_revocationDate from 0x8475bc to 0x847608 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x67afc
//
// 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_REVOKED_set_revocationDate(int a1, int a2)
{
int v3; // r4
int result; // r0
if ( !a1 )
return 0;
v3 = a2;
if ( *(_DWORD *)(a1 + 16) != a2 )
{
v3 = ASN1_STRING_dup(a2);
if ( v3 )
{
ASN1_TIME_free(*(_DWORD *)(a1 + 16));
*(_DWORD *)(a1 + 16) = v3;
}
}
result = v3;
if ( v3 )
return 1;
return result;
}