//
// BIO_ADDR_hostname_string from 0x7cbeb8 to 0x7cbf10 (88 bytes)
//
// 3 xrefs:
// > BIO_accept @ 0x7cf120
// > sub_7D1934 @ 0x7d1c44
// > ??> @ 0x5f3ec
//
// 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
//
int __fastcall BIO_ADDR_hostname_string(unsigned __int16 *a1, int a2)
{
int v5; // [sp+4h] [bp-4h] BYREF
v5 = 0;
if ( BIO_sock_init() == 1 && sub_7CBB7C(a1, a2, &v5, nullptr) )
return v5;
else
return 0;
}