//
// BIO_CONNECT_free from 0xd785b8 to 0xd78620 (104 bytes)
//
// 2 xrefs:
// > sub_D78620 @ 0xd78678
// > ??> @ 0x3c120
//
// 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_CONNECT_free(__int64 result)
{
__int64 v1; // x19
if ( result )
{
v1 = result;
CRYPTO_free(*(_QWORD *)(result + 8), "crypto/bio/bss_conn.c", 234);
CRYPTO_free(*(_QWORD *)(v1 + 16), "crypto/bio/bss_conn.c", 235);
BIO_ADDRINFO_free(*(struct addrinfo **)(v1 + 32));
return CRYPTO_free(v1, "crypto/bio/bss_conn.c", 237);
}
return result;
}