//
// ASN1_TIME_check from 0x7c10f0 to 0x7c1114 (36 bytes)
//
// 5 xrefs:
// > ASN1_TIME_to_generalizedtime @ 0x7c1120
// > ASN1_TIME_set_string @ 0x7c1244
// > ASN1_TIME_set_string @ 0x7c1284
// > sub_864F7C @ 0x865424
// > ??> @ 0x5e43c
//
// 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_check(int a1)
{
int v1; // r3
v1 = *(_DWORD *)(a1 + 4);
if ( v1 == 24 )
return ASN1_GENERALIZEDTIME_check();
if ( v1 == 23 )
return ASN1_UTCTIME_check();
return 0;
}