//
// BIO_ADDRINFO_free from 0xff0338 to 0xff03b0 (120 bytes)
//
// 8 xrefs:
// > BIO_lookup @ 0xff06d4
// > BIO_get_host_ip @ 0xff2fb8
// > BIO_get_port @ 0xff30d0
// > BIO_get_accept_socket @ 0xff3210
// > sub_FF5B30 @ 0xff5d34
// > sub_FF5B30 @ 0xff5e84
// > BIO_CONNECT_free @ 0xff6958
// > ??> @ 0x9f340
//
// 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
//
void __fastcall BIO_ADDRINFO_free(struct addrinfo *a1)
{
struct addrinfo *v1; // x19
struct addrinfo *ai_next; // x21
struct addrinfo *v3; // x0
v1 = a1;
if ( a1 )
{
if ( a1->ai_family == 1 )
{
do
{
ai_next = v1->ai_next;
CRYPTO_free(v1->ai_addr, "crypto/bio/b_addr.c", 436);
v3 = v1;
v1 = ai_next;
CRYPTO_free(v3, "crypto/bio/b_addr.c", 437);
}
while ( ai_next );
}
else
{
freeaddrinfo(a1);
}
}
}