//
// ASN1_TIME_set_string from 0xfe5d60 to 0xfe5df4 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xdc5a0
//
// 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:15:39 +0000
//
__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;
}