//
// ASN1_GENERALIZEDTIME_set_string from 0xa75aec to 0xa75b64 (120 bytes)
//
// 4 xrefs:
// > OCSP_crlID_new @ 0xa33234
// > OCSP_archive_cutoff_new @ 0xa3332c
// > SCT_print @ 0xae4e88
// > ??> @ 0x7e66c
//
// 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:44 +0000
//
int __fastcall ASN1_GENERALIZEDTIME_set_string(signed int *a1, char *a2)
{
int v5[4]; // [sp+0h] [bp-10h] BYREF
v5[1] = 24;
v5[2] = (int)a2;
v5[0] = strlen(a2);
if ( !ASN1_GENERALIZEDTIME_check(v5) )
return 0;
if ( !a1 )
return 1;
if ( !ASN1_STRING_set(a1, a2, v5[0]) )
return 0;
a1[1] = 24;
return 1;
}