//
// BIO_ADDR_hostname_string from 0xd71e88 to 0xd71ee4 (92 bytes)
//
// 3 xrefs:
// > BIO_accept @ 0xd74fac
// > sub_D777D0 @ 0xd77b08
// > ??> @ 0x2e530
//
// 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_ADDR_hostname_string(unsigned __int16 *a1, int a2)
{
__int64 v5; // [xsp+38h] [xbp+38h] BYREF
v5 = 0;
if ( (unsigned int)BIO_sock_init() == 1 && (unsigned int)sub_D71BE0(a1, a2, &v5, nullptr) )
return v5;
else
return 0;
}