//
// BIO_new_socket from 0xd79914 to 0xd79960 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x58d28
//
// 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_socket(int a1, int a2)
{
void *v4; // x0
__int64 v5; // x0
__int64 v6; // x19
v4 = BIO_s_socket();
v5 = BIO_new((__int64)v4);
v6 = v5;
if ( v5 )
BIO_int_ctrl(v5, 0x68u, a2, a1);
return v6;
}