//
// ASN1_TIME_print from 0x7c13b4 to 0x7c13f4 (64 bytes)
//
// 7 xrefs:
// > sub_64231C @ 0x642608
// > sub_64231C @ 0x642646
// > sub_642BAC @ 0x642ce8
// > sub_642BAC @ 0x642d20
// > X509_print_ex @ 0x83da2c
// > X509_print_ex @ 0x83da64
// > ??> @ 0x54d8c
//
// 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_TIME_print(int a1, int a2, int a3, int a4)
{
int v4; // r3
v4 = *(_DWORD *)(a2 + 4);
if ( v4 == 23 )
return ASN1_UTCTIME_print(a1, a2, a3, a4);
if ( v4 == 24 )
return ASN1_GENERALIZEDTIME_print(a1, a2, a3, a4);
BIO_write(a1, "Bad time value", 14, v4);
return 0;
}