//
// SSL_get_rfd from 0x796860 to 0x7968a0 (64 bytes)
//
// 2 xrefs:
// > SSL_get_fd @ 0x7968a0
// > ??> @ 0x5babc
//
// 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_rfd(int a1)
{
int rbio; // r0
int type; // r0
int v4; // [sp+4h] [bp-8h] BYREF
v4 = -1;
rbio = SSL_get_rbio(a1);
type = BIO_find_type(rbio, 256);
if ( type )
BIO_ctrl(type, 105, 0, &v4);
return v4;
}