//
// ASN1_UTCTIME_set_string from 0xd67ea4 to 0xd67f3c (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x5cfa0
//
// 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
//
__int64 __fastcall ASN1_UTCTIME_set_string(__int64 a1, char *a2)
{
_DWORD v5[2]; // [xsp+38h] [xbp+38h] BYREF
char *v6; // [xsp+40h] [xbp+40h]
v5[1] = 23;
v5[0] = strlen(a2);
v6 = a2;
if ( !ASN1_UTCTIME_check((__int64)v5) )
return 0;
if ( a1 )
{
if ( (unsigned int)ASN1_STRING_set(a1, a2) )
{
*(_DWORD *)(a1 + 4) = 23;
return 1;
}
return 0;
}
return 1;
}