// // sub_DEB0EC from 0xdeb0ec to 0xdeb1a8 (188 bytes) // // 1 xrefs: // > X509_STORE_CTX_set0_trusted_stack @ 0xded86c // // 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 sub_DEB0EC(__int64 *a1, __int64 a2, __int64 a3) { unsigned int *v3; // x22 int v7; // w19 bool v8; // cc int v9; // w1 __int64 v10; // x20 v3 = *(unsigned int **)(a2 + 40); v7 = 0; do { v8 = v7 < (int)OPENSSL_sk_num(v3); v9 = v7++; if ( !v8 ) { *a1 = 0; return 0; } v10 = OPENSSL_sk_value((__int64)v3, v9); } while ( !(*(unsigned int (__fastcall **)(__int64, __int64, __int64))(a2 + 72))(a2, a3, v10) || !x509_check_cert_time(a2, v10, 0xFFFFFFFF) ); *a1 = v10; if ( v10 ) { X509_up_ref(v10); return 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source