//
// ASN1_TIME_set_string from 0xd67a00 to 0xd67a94 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xa7f28
//
// 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_TIME_set_string(__int64 a1, char *a2)
{
__int64 result; // x0
int v5; // [xsp+38h] [xbp+38h] BYREF
int v6; // [xsp+3Ch] [xbp+3Ch]
char *v7; // [xsp+40h] [xbp+40h]
__int64 v8; // [xsp+48h] [xbp+48h]
v5 = strlen(a2);
v7 = a2;
v8 = 0;
v6 = 23;
if ( (unsigned int)ASN1_TIME_check((__int64)&v5) || (v6 = 24, result = ASN1_TIME_check((__int64)&v5), (_DWORD)result) )
{
result = 1;
if ( a1 )
return (unsigned int)ASN1_STRING_copy(a1, &v5) != 0;
}
return result;
}