//
// SSL_get_wbio from 0x796784 to 0x7967a0 (28 bytes)
//
// 13 xrefs:
// > SSL_set_bio @ 0x7967ec
// > SSL_set_bio @ 0x796830
// > SSL_set_bio @ 0x796850
// > SSL_get_wfd @ 0x7968b4
// > SSL_set_rfd @ 0x796a48
// > dtls1_do_write @ 0x7a515c
// > dtls1_check_timeout_num @ 0x7b64a0
// > DTLSv1_listen @ 0x7b6624
// > dtls1_min_mtu @ 0x7b6fd0
// > dtls1_query_mtu @ 0x7b7038
// > dtls1_query_mtu @ 0x7b706c
// > dtls1_query_mtu @ 0x7b70b0
// > ??> @ 0x5baac
//
// 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_get_wbio(int a1)
{
if ( *(_DWORD *)(a1 + 16) )
return BIO_next(*(_DWORD *)(a1 + 16));
else
return *(_DWORD *)(a1 + 12);
}