// // X509_time_adj_ex from 0xdea954 to 0xdea9f4 (160 bytes) // // 2 xrefs: // > X509_time_adj @ 0xdeaa04 // > @ 0x360c0 // // 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 X509_time_adj_ex(__int64 a1, unsigned int a2, __int64 a3, time_t *a4) { __int64 v7; // x1 int v8; // w0 time_t timer; // [xsp+38h] [xbp+38h] BYREF if ( a4 ) { v7 = *a4; timer = *a4; } else { time(&timer); v7 = timer; } if ( a1 && (*(_QWORD *)(a1 + 16) & 0x40) == 0 ) { v8 = *(_DWORD *)(a1 + 4); if ( v8 == 23 ) return ASN1_UTCTIME_adj((int *)a1, v7, a2, a3); if ( v8 == 24 ) return (int *)ASN1_GENERALIZEDTIME_adj(a1, v7, a2); } return (int *)ASN1_TIME_adj(a1, v7, a2, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source