//
// BIO_ADDR_sockaddr_size from 0x9e0748 to 0x9e077c (52 bytes)
//
// 4 xrefs:
// > sub_9E077C @ 0x9e0804
// > BIO_connect @ 0x9e411c
// > BIO_listen @ 0x9e443c
// > ??> @ 0x78e3c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:20 +0000
//
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;
}