// // ASN1_TIME_adj from 0x7c101c to 0x7c10e0 (196 bytes) // // 3 xrefs: // > ASN1_TIME_set @ 0x7c10ec // > X509_time_adj_ex @ 0x8429a8 // > @ 0x5e3dc // // 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_adj(int a1, int a2, int a3, int a4) { int v7; // r6 bool v8; // zf int result; // r0 int v10; // [sp+Ch] [bp-38h] BYREF _BYTE v11[44]; // [sp+14h] [bp-30h] BYREF v10 = a2; v7 = OPENSSL_gmtime(&v10, v11); if ( v7 ) { v8 = a4 == 0; if ( !a4 ) v8 = a3 == 0; if ( v8 || (result = OPENSSL_gmtime_adj()) != 0 ) { if ( (unsigned int)(*(_DWORD *)(v7 + 20) - 50) <= 0x63 ) return ASN1_UTCTIME_adj(a1, v10, a3, a4); else return ASN1_GENERALIZEDTIME_adj(a1, v10, a3, a4); } } else { ERR_put_error(13, 217, 173, "crypto/asn1/a_time.c", 40); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source