//
// BIO_ADDR_sockaddr_size from 0xd71ba8 to 0xd71be0 (56 bytes)
//
// 4 xrefs:
// > sub_D71BE0 @ 0xd71c70
// > BIO_connect @ 0xd75354
// > BIO_listen @ 0xd75660
// > ??> @ 0xc0d38
//
// 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_sockaddr_size(unsigned __int16 *a1)
{
int v1; // w0
v1 = *a1;
switch ( v1 )
{
case 2:
return 16;
case 10:
return 28;
case 1:
return 110;
}
return 112;
}