//
// ASN1_TIME_print from 0xd67bd8 to 0xd67c20 (72 bytes)
//
// 7 xrefs:
// > sub_BB5664 @ 0xbb5b78
// > sub_BB5664 @ 0xbb5bd4
// > sub_BB678C @ 0xbb6938
// > sub_BB678C @ 0xbb698c
// > X509_print_ex @ 0xde58b0
// > X509_print_ex @ 0xde58e4
// > ??> @ 0xb78a0
//
// 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_print(__int64 a1, __int64 a2)
{
int v2; // w2
v2 = *(_DWORD *)(a2 + 4);
if ( v2 == 23 )
return ASN1_UTCTIME_print();
if ( v2 == 24 )
return ASN1_GENERALIZEDTIME_print();
BIO_write(a1, "Bad time value", 14);
return 0;
}