//
// OCSP_archive_cutoff_new from 0x1042640 to 0x10426b0 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x99be0
//
// 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:31 +0000
//
__int64 __fastcall OCSP_archive_cutoff_new(char *a1)
{
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x20
v2 = ASN1_GENERALIZEDTIME_new();
v3 = v2;
if ( v2 && (unsigned int)ASN1_GENERALIZEDTIME_set_string(v2, a1) )
{
v4 = X509V3_EXT_i2d(370, 0, v3);
ASN1_GENERALIZEDTIME_free(v3);
return v4;
}
else
{
ASN1_GENERALIZEDTIME_free(v3);
return 0;
}
}