//
// ASN1_TIME_print from 0x9d5fb4 to 0x9d5ff4 (64 bytes)
//
// 7 xrefs:
// > sub_85239C @ 0x852688
// > sub_85239C @ 0x8526c6
// > sub_852C2C @ 0x852d68
// > sub_852C2C @ 0x852da0
// > X509_print_ex @ 0xa5262c
// > X509_print_ex @ 0xa52664
// > ??> @ 0x67cbc
//
// 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_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;
}