//
// ASN1_UTCTIME_cmp_time_t from 0x9d6488 to 0x9d6530 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x77ffc
//
// 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_UTCTIME_cmp_time_t(int *a1, int a2)
{
int v3; // [sp+4h] [bp-68h] BYREF
int v4; // [sp+8h] [bp-64h] BYREF
int v5; // [sp+Ch] [bp-60h] BYREF
int v6[11]; // [sp+10h] [bp-5Ch] BYREF
_BYTE v7[48]; // [sp+3Ch] [bp-30h] BYREF
v3 = a2;
if ( !asn1_utctime_to_tm(v6, a1) || !OPENSSL_gmtime(&v3, v7) || !OPENSSL_gmtime_diff(&v4, &v5, v7, v6) )
return -2;
if ( v4 > 0 )
return 1;
if ( v4 )
return -1;
if ( v5 > 0 )
return 1;
if ( v5 )
return -1;
return 0;
}