//
// BIO_new_buffer_ssl_connect from 0xfae30c to 0xfae374 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x6bf98
//
// 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:09 +0000
//
__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;
}