//
// SSL_get_wfd from 0xd3f82c to 0xd3f868 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x42138
//
// 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_wfd(__int64 a1)
{
__int64 wbio; // x0
__int64 type; // x0
unsigned int v4; // [xsp+1Ch] [xbp+1Ch] BYREF
v4 = -1;
wbio = SSL_get_wbio(a1);
type = BIO_find_type(wbio, 256);
if ( type )
BIO_ctrl(type, 105, 0, &v4);
return v4;
}