//
// BIO_ADDR_sockaddr_size from 0xfeff08 to 0xfeff40 (56 bytes)
//
// 4 xrefs:
// > sub_FEFF40 @ 0xfeffd0
// > BIO_connect @ 0xff36b4
// > BIO_listen @ 0xff39c0
// > ??> @ 0xfb458
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:45 +0000
//
__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;
}