//
// X509_REVOKED_set_revocationDate from 0x106d518 to 0x106d57c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0xa67c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:58 +0000
//
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;
}