//
// ASN1_TIME_check from 0xd678d0 to 0xd678f4 (36 bytes)
//
// 5 xrefs:
// > ASN1_TIME_to_generalizedtime @ 0xd6790c
// > ASN1_TIME_set_string @ 0xd67a3c
// > ASN1_TIME_set_string @ 0xd67a7c
// > sub_E0D194 @ 0xe0d4a4
// > ??> @ 0x58188
//
// 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_check(__int64 a1)
{
int v1; // w1
v1 = *(_DWORD *)(a1 + 4);
if ( v1 == 24 )
return ASN1_GENERALIZEDTIME_check();
if ( v1 == 23 )
return ASN1_UTCTIME_check();
return 0;
}