//
// ASN1_TIME_set_string from 0x9d5e10 to 0x9d5e98 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x77f3c
//
// 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:07:14 +0000
//
int __fastcall ASN1_TIME_set_string(int a1, char *a2)
{
int result; // r0
size_t v4; // [sp+0h] [bp-10h] BYREF
int v5; // [sp+4h] [bp-Ch]
char *v6; // [sp+8h] [bp-8h]
int v7; // [sp+Ch] [bp-4h]
v6 = a2;
v7 = 0;
v4 = strlen(a2);
v5 = 23;
if ( ASN1_TIME_check((int)&v4) )
return !a1 || ASN1_STRING_copy(a1, &v4) != 0;
v5 = 24;
if ( (result = ASN1_TIME_check((int)&v4)) != 0 )
return !a1 || ASN1_STRING_copy(a1, &v4) != 0;
return result;
}