//
// BIO_CONNECT_free from 0x7d27b4 to 0x7d2808 (84 bytes)
//
// 2 xrefs:
// > sub_7D280C @ 0x7d285c
// > ??> @ 0x5f95c
//
// 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_CONNECT_free(int result)
{
int v1; // r4
if ( result )
{
v1 = result;
CRYPTO_free(*(_DWORD *)(result + 8), "crypto/bio/bss_conn.c", 234);
CRYPTO_free(*(_DWORD *)(v1 + 12), "crypto/bio/bss_conn.c", 235);
BIO_ADDRINFO_free(*(struct addrinfo **)(v1 + 20));
return CRYPTO_free(v1, "crypto/bio/bss_conn.c", 237);
}
return result;
}