// // SSL_set_wfd from 0x796964 to 0x796a2c (200 bytes) // // 1 xrefs: // > @ 0x5bb0c // // 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 SSL_set_wfd(int a1, int a2) { int rbio; // r4 int v5; // r0 int v6; // r0 int v7; // r4 rbio = SSL_get_rbio(a1); if ( rbio && BIO_method_type() == 1285 && BIO_ctrl(rbio, 105, 0, 0) == a2 ) { BIO_up_ref(rbio); SSL_set0_wbio(a1, rbio); return 1; } else { v5 = BIO_s_socket(); v6 = BIO_new(v5); v7 = v6; if ( v6 ) { BIO_int_ctrl(v6, 104, 0, a2); SSL_set0_wbio(a1, v7); return 1; } else { ERR_put_error(20, 196, 7, "ssl/ssl_lib.c", 1180); return 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source