//
// BIO_new_socket from 0x9e85cc to 0x9e8600 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x7944c
//
// 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:25 +0000
//
_DWORD *__fastcall BIO_new_socket(int a1, int a2)
{
void *v4; // r0
_DWORD *v5; // r0
_DWORD *v6; // r4
v4 = BIO_s_socket();
v5 = BIO_new((int)v4);
v6 = v5;
if ( v5 )
BIO_int_ctrl(v5, 104, a2, a1);
return v6;
}