// // BIO_new_ssl from 0x7865bc to 0x786630 (116 bytes) // // 2 xrefs: // > BIO_new_ssl_connect @ 0x786650 // > @ 0x59f3c // // 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 BIO_new_ssl(int a1, int a2) { void *v4; // r0 int v5; // r4 int v6; // r0 int v7; // r5 v4 = BIO_f_ssl(); v5 = BIO_new(v4); if ( !v5 ) return 0; v6 = SSL_new(a1); v7 = v6; if ( v6 ) { if ( a2 ) SSL_set_connect_state(v6); else SSL_set_accept_state(v6); BIO_ctrl(v5, 109, 1, v7); return v5; } else { BIO_free(v5); return 0; } }