// // BIO_new_ssl from 0xd2fedc to 0xd2ff5c (128 bytes) // // 2 xrefs: // > BIO_new_ssl_connect @ 0xd2ff84 // > @ 0x4dbb0 // // 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 BIO_new_ssl(__int64 a1, int a2) { void *v4; // x0 __int64 result; // x0 __int64 v6; // x19 __int64 v7; // x0 __int64 v8; // x20 v4 = BIO_f_ssl(); result = BIO_new(v4); v6 = result; if ( result ) { v7 = SSL_new(a1); v8 = v7; if ( v7 ) { if ( a2 ) SSL_set_connect_state(v7); else SSL_set_accept_state(v7); BIO_ctrl(v6, 109, 1, v8); return v6; } else { BIO_free(v6); return 0; } } return result; }