// // BIO_get_host_ip from 0xff2f1c to 0xff3030 (276 bytes) // // 1 xrefs: // > @ 0x100240 // // 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:46 +0000 // __int64 __fastcall BIO_get_host_ip(char *a1, void *a2) { unsigned int v4; // w19 const char *v6; // x0 const char *v7; // x0 struct addrinfo *v8; // [xsp+30h] [xbp+30h] BYREF size_t v9; // [xsp+38h] [xbp+38h] BYREF v8 = nullptr; v4 = 0; if ( (unsigned int)BIO_sock_init() == 1 ) { v4 = BIO_lookup(a1, nullptr, 0, 2, 1, &v8); if ( v4 ) { if ( (unsigned int)BIO_ADDRINFO_family((__int64)v8) == 2 ) { v6 = (const char *)BIO_ADDRINFO_address((__int64)v8); BIO_ADDR_rawaddress(v6, nullptr, &v9); if ( v9 != 4 ) OPENSSL_die((int)"assertion failed: l == 4"); v4 = 1; v7 = (const char *)BIO_ADDRINFO_address((__int64)v8); BIO_ADDR_rawaddress(v7, a2, &v9); } else { v4 = 0; ERR_put_error(32, 106, 107, "crypto/bio/b_sock.c", 45); } BIO_ADDRINFO_free(v8); } else { ERR_add_error_data(2, "host=", a1); } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source