//
// SSL_get_rfd from 0xd3f7ec to 0xd3f828 (60 bytes)
//
// 2 xrefs:
// > SSL_get_fd @ 0xd3f828
// > ??> @ 0x39690
//
// 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 SSL_get_rfd(__int64 a1)
{
__int64 rbio; // x0
__int64 type; // x0
unsigned int v4; // [xsp+1Ch] [xbp+1Ch] BYREF
v4 = -1;
rbio = SSL_get_rbio(a1);
type = BIO_find_type(rbio, 256);
if ( type )
BIO_ctrl(type, 105, 0, &v4);
return v4;
}