//
// sub_D7857C from 0xd7857c to 0xd785b8 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1122400
//
// 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
//
bool __fastcall sub_D7857C(__int64 a1)
{
_DWORD *v2; // x0
*(_DWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 32) = 0;
*(_DWORD *)(a1 + 40) = -1;
v2 = BIO_CONNECT_new();
*(_QWORD *)(a1 + 48) = v2;
return v2 != nullptr;
}