//
// SSL_get_rfd from 0xfbdb40 to 0xfbdb7c (60 bytes)
//
// 2 xrefs:
// > SSL_get_fd @ 0xfbdb7c
// > ??> @ 0x53968
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:19 +0000
//
__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;
}