// // SSL_dup_CA_list from 0xfb8f08 to 0xfb8fd0 (200 bytes) // // 1 xrefs: // > @ 0xddf98 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:15:16 +0000 // __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