//
// X509_REVOKED_set_revocationDate from 0xa5c1bc to 0xa5c208 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x8157c
//
// 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:30 +0000
//
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;
}