// // SSL_dup_CA_list from 0xd3abb4 to 0xd3ac7c (200 bytes) // // 1 xrefs: // > @ 0xa94e8 // // 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 SSL_dup_CA_list(__int64 a1) { int v2; // w19 __int64 v3; // x22 __int64 v4; // x0 __int64 v5; // x20 bool v6; // cc __int64 v7; // x1 v2 = 0; v3 = OPENSSL_sk_new_null(); if ( v3 ) { while ( 1 ) { v6 = v2 < (int)OPENSSL_sk_num(a1); v7 = (unsigned int)v2++; if ( !v6 ) break; v4 = OPENSSL_sk_value(a1, v7); v5 = X509_NAME_dup(v4); if ( !v5 || !(unsigned int)OPENSSL_sk_push(v3, v5) ) { OPENSSL_sk_pop_free(v3, X509_NAME_free); X509_NAME_free(v5); return 0; } } } else { ERR_put_error(20, 408, 65, "ssl/ssl_cert.c", 475); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source