// // SSL_set_bio from 0x9ab3a4 to 0x9ab464 (192 bytes) // // 5 xrefs: // > sub_8539B8 @ 0x8542ea // > sub_99AAB4 @ 0x99ae4c // > sub_99AAB4 @ 0x99ae7c // > SSL_set_fd @ 0x9ab524 // > @ 0x6826c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:06:53 +0000 // int __fastcall SSL_set_bio(int a1, int a2, int a3) { _BOOL4 v6; // r3 bool v7; // zf int v8; // r0 int result; // r0 int rbio; // r7 if ( a2 != SSL_get_rbio(a1) || (result = SSL_get_wbio(a1), a3 != result) ) { v6 = a2 == a3; if ( !a2 ) v6 = 0; if ( v6 ) BIO_up_ref(a2); v7 = a2 == SSL_get_rbio(a1); v8 = a1; if ( !v7 ) { if ( a3 == SSL_get_wbio(a1) ) { rbio = SSL_get_rbio(a1); if ( rbio != SSL_get_wbio(a1) ) return SSL_set0_rbio(a1, a2); } SSL_set0_rbio(a1, a2); v8 = a1; } return SSL_set0_wbio(v8, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source