//
// ASN1_UTCTIME_set_string from 0x7c1650 to 0x7c16c8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x5e53c
//
// 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 ASN1_UTCTIME_set_string(int a1, char *a2)
{
int v5[4]; // [sp+0h] [bp-10h] BYREF
v5[1] = 23;
v5[2] = (int)a2;
v5[0] = strlen(a2);
if ( !ASN1_UTCTIME_check(v5) )
return 0;
if ( !a1 )
return 1;
if ( !ASN1_STRING_set(a1, a2) )
return 0;
*(_DWORD *)(a1 + 4) = 23;
return 1;
}