//
// OCSP_archive_cutoff_new from 0x81e714 to 0x81e764 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x64c1c
//
// 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 OCSP_archive_cutoff_new(char *a1)
{
int v2; // r0
int v3; // r4
int v4; // r5
v2 = ASN1_GENERALIZEDTIME_new();
v3 = v2;
if ( v2 && ASN1_GENERALIZEDTIME_set_string(v2, a1) )
v4 = X509V3_EXT_i2d(370, 0, v3);
else
v4 = 0;
ASN1_GENERALIZEDTIME_free(v3);
return v4;
}