//
// X509_REVOKED_set_revocationDate from 0xdef1d8 to 0xdef23c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x7cc38
//
// 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
//
bool __fastcall X509_REVOKED_set_revocationDate(_BOOL8 result, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x0
__int64 v4; // [xsp+28h] [xbp+28h]
v2 = result;
if ( result )
{
if ( *(_QWORD *)(result + 24) != a2 )
{
v3 = ASN1_STRING_dup(a2);
a2 = v3;
if ( v3 )
{
v4 = v3;
ASN1_TIME_free(*(_QWORD *)(v2 + 24));
a2 = v4;
*(_QWORD *)(v2 + 24) = v4;
}
}
return a2 != 0;
}
return result;
}