//
// BIO_new_buffer_ssl_connect from 0xd2ffb8 to 0xd30020 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x4cf98
//
// 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 BIO_new_buffer_ssl_connect(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
__int64 v4; // x19
__int64 v5; // x20
v2 = BIO_f_buffer();
result = BIO_new(v2);
v4 = result;
if ( result )
{
v5 = BIO_new_ssl_connect(a1);
if ( !v5 || (result = BIO_push(v4, v5)) == 0 )
{
BIO_free(v4);
BIO_free(v5);
return 0;
}
}
return result;
}