//
// BIO_ADDR_sockaddr_size from 0x7cbb48 to 0x7cbb7c (52 bytes)
//
// 4 xrefs:
// > sub_7CBB7C @ 0x7cbc04
// > BIO_connect @ 0x7cf51c
// > BIO_listen @ 0x7cf83c
// > ??> @ 0x5f3bc
//
// 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_sockaddr_size(unsigned __int16 *a1)
{
int v1; // r0
v1 = *a1;
switch ( v1 )
{
case 2:
return 16;
case 10:
return 28;
case 1:
return 110;
}
return 112;
}