//
// BIO_new_connect from 0x9e7498 to 0x9e74e4 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x793ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:24 +0000
//
_DWORD *__fastcall BIO_new_connect(int a1)
{
void *v2; // r0
_DWORD *v3; // r0
_DWORD *v4; // r4
int v5; // r5
_DWORD *result; // r0
v2 = BIO_s_connect();
v3 = BIO_new((int)v2);
v4 = v3;
if ( !v3 )
return nullptr;
v5 = BIO_ctrl(v3, 100, 0, a1);
result = v4;
if ( !v5 )
{
BIO_free(v4);
return nullptr;
}
return result;
}