; ; BIO_lookup from 0xff05e0 to 0xff0814 (564 bytes) ; ; 7 xrefs: ; > BIO_get_host_ip @ 0xff2f78 ; > BIO_get_port @ 0xff3090 ; > BIO_get_accept_socket @ 0xff31f4 ; > sub_FF571C @ 0xff57fc ; > sub_FF5F74 @ 0xff6094 ; > sub_FF6400 @ 0xff6520 ; > @ 0x9c0b8 ; ; 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 ; STP X29, X30, [SP,#var_80]! ; +0x0, 0xff05e0 MOV X29, SP ; +0x4, 0xff05e4 STP X19, X20, [SP,#0x80+var_70] ; +0x8, 0xff05e8 STP X21, X22, [SP,#0x80+var_60] ; +0xc, 0xff05ec STP X23, X24, [SP,#0x80+var_50] ; +0x10, 0xff05f0 MOV W19, W3 ; +0x14, 0xff05f4 MOV X22, X0 ; +0x18, 0xff05f8 MOV W21, W4 ; +0x1c, 0xff05fc MOV X20, X5 ; +0x20, 0xff0600 TBNZ W19, #0x1F, loc_FF06FC ; +0x24, 0xff0604 CMP W19, #2 ; +0x28, 0xff0608 B.LE loc_FF064C ; +0x2c, 0xff060c CMP W19, #0xA ; +0x30, 0xff0610 B.NE loc_FF06FC ; +0x34, 0xff0614 STR X2, [X29,#0x80+var_40] ; +0x38, 0xff0618 STR X1, [X29,#0x80+var_38] ; +0x3c, 0xff061c BL BIO_sock_init ; +0x40, 0xff0620 CMP W0, #1 ; +0x44, 0xff0624 LDR X1, [X29,#0x80+var_38]; char * ; +0x48, 0xff0628 MOV W0, #0; char * ; +0x4c, 0xff062c LDR X2, [X29,#0x80+var_40] ; +0x50, 0xff0630 B.EQ loc_FF0730 ; +0x54, 0xff0634 LDP X19, X20, [SP,#0x80+var_70] ; +0x58, 0xff0638 LDP X21, X22, [SP,#0x80+var_60] ; +0x5c, 0xff063c LDP X23, X24, [SP,#0x80+var_50] ; +0x60, 0xff0640 LDP X29, X30, [SP+0x80+var_80],#0x80 ; +0x64, 0xff0644 RET ; +0x68, 0xff0648 CMP W19, #1 ; +0x6c, 0xff064c B.NE loc_FF0618 ; +0x70, 0xff0650 BL .strlen ; +0x74, 0xff0654 MOV X24, X0 ; +0x78, 0xff0658 CBZ X20, loc_FF07FC ; +0x7c, 0xff065c ADRP X23, #aCryptoBioBAddr@PAGE; "crypto/bio/b_addr.c" ; +0x80, 0xff0660 MOV X0, #0x30 ; '0' ; +0x84, 0xff0664 ADD X1, X23, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x88, 0xff0668 MOV W2, #0x23A ; +0x8c, 0xff066c BL CRYPTO_zalloc ; +0x90, 0xff0670 STR X0, [X20] ; +0x94, 0xff0674 CBZ X0, loc_FF06DC ; +0x98, 0xff0678 STR W21, [X0,#8] ; +0x9c, 0xff067c STR W19, [X0,#4] ; +0xa0, 0xff0680 STR WZR, [X0,#0xC] ; +0xa4, 0xff0684 BL BIO_ADDR_new ; +0xa8, 0xff0688 MOV X21, X0 ; +0xac, 0xff068c CBZ X0, loc_FF06B8 ; +0xb0, 0xff0690 MOV W1, W19; int ; +0xb4, 0xff0694 MOV X2, X22; char * ; +0xb8, 0xff0698 MOV X3, X24 ; +0xbc, 0xff069c MOV W4, #0 ; +0xc0, 0xff06a0 BL BIO_ADDR_rawmake ; +0xc4, 0xff06a4 LDR X19, [X20] ; +0xc8, 0xff06a8 MOV X0, X21 ; +0xcc, 0xff06ac BL BIO_ADDR_sockaddr_noconst ; +0xd0, 0xff06b0 STR X0, [X19,#0x20] ; +0xd4, 0xff06b4 LDR X1, [X20] ; +0xd8, 0xff06b8 MOV W0, #1 ; +0xdc, 0xff06bc STR XZR, [X1,#0x28] ; +0xe0, 0xff06c0 LDR X1, [X20] ; +0xe4, 0xff06c4 LDR X19, [X1,#0x20] ; +0xe8, 0xff06c8 CBNZ X19, loc_FF0638 ; +0xec, 0xff06cc MOV X0, X1 ; +0xf0, 0xff06d0 BL BIO_ADDRINFO_free ; +0xf4, 0xff06d4 STR X19, [X20] ; +0xf8, 0xff06d8 MOV W0, #0x20 ; ' ' ; +0xfc, 0xff06dc MOV W1, #0x87 ; +0x100, 0xff06e0 MOV W2, #0x41 ; 'A' ; +0x104, 0xff06e4 ADD X3, X23, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x108, 0xff06e8 MOV W4, #0x292 ; +0x10c, 0xff06ec BL ERR_put_error ; +0x110, 0xff06f0 MOV W0, #0 ; +0x114, 0xff06f4 B loc_FF0638 ; +0x118, 0xff06f8 ADRP X3, #aCryptoBioBAddr@PAGE; "crypto/bio/b_addr.c" ; +0x11c, 0xff06fc MOV W0, #0x20 ; ' ' ; +0x120, 0xff0700 MOV W1, #0x87 ; +0x124, 0xff0704 MOV W2, #0x83 ; +0x128, 0xff0708 ADD X3, X3, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x12c, 0xff070c MOV W4, #0x289 ; +0x130, 0xff0710 BL ERR_put_error ; +0x134, 0xff0714 MOV W0, #0 ; +0x138, 0xff0718 LDP X19, X20, [SP,#0x80+var_70] ; +0x13c, 0xff071c LDP X21, X22, [SP,#0x80+var_60] ; +0x140, 0xff0720 LDP X23, X24, [SP,#0x80+var_50] ; +0x144, 0xff0724 LDP X29, X30, [SP+0x80+var_80],#0x80 ; +0x148, 0xff0728 RET ; +0x14c, 0xff072c STP XZR, XZR, [X29,#0x80+var_30] ; +0x150, 0xff0730 STP XZR, XZR, [X29,#0x80+var_30.ai_addrlen] ; +0x154, 0xff0734 STP XZR, XZR, [X29,#0x80+var_30.ai_addr] ; +0x158, 0xff0738 STR W19, [X29,#0x80+var_30.ai_family]; The file descriptor is available for read operations. ; +0x15c, 0xff073c CMP W2, #1 ; +0x160, 0xff0740 STR W21, [X29,#0x80+var_30.ai_socktype] ; +0x164, 0xff0744 B.EQ loc_FF07F4 ; +0x168, 0xff0748 MOV X0, X22; char * ; +0x16c, 0xff074c ADD X2, X29, #0x80+var_30; struct addrinfo * ; +0x170, 0xff0750 MOV X3, X20; struct addrinfo ** ; +0x174, 0xff0754 BL .getaddrinfo ; +0x178, 0xff0758 MOV W19, W0 ; +0x17c, 0xff075c CBZ W0, loc_FF07EC ; +0x180, 0xff0760 CMP W0, #0xB ; +0x184, 0xff0764 B.NE loc_FF07B4 ; +0x188, 0xff0768 BL .__errno ; +0x18c, 0xff076c MOV X2, X0 ; +0x190, 0xff0770 ADRP X19, #aCryptoBioBAddr@PAGE; "crypto/bio/b_addr.c" ; +0x194, 0xff0774 MOV W0, #2 ; +0x198, 0xff0778 ADD X19, X19, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x19c, 0xff077c MOV W1, #0xC ; +0x1a0, 0xff0780 LDR W2, [X2] ; +0x1a4, 0xff0784 MOV X3, X19 ; +0x1a8, 0xff0788 MOV W4, #0x2AC ; +0x1ac, 0xff078c BL ERR_put_error ; +0x1b0, 0xff0790 MOV W0, #0x20 ; ' ' ; +0x1b4, 0xff0794 MOV W1, #0x87 ; +0x1b8, 0xff0798 MOV W2, #2 ; +0x1bc, 0xff079c MOV X3, X19 ; +0x1c0, 0xff07a0 MOV W4, #0x2AD ; +0x1c4, 0xff07a4 BL ERR_put_error ; +0x1c8, 0xff07a8 MOV W0, #0 ; +0x1cc, 0xff07ac B loc_FF0638 ; +0x1d0, 0xff07b0 ADRP X3, #aCryptoBioBAddr@PAGE; "crypto/bio/b_addr.c" ; +0x1d4, 0xff07b4 MOV W1, #0x87 ; +0x1d8, 0xff07b8 MOV W2, #2 ; +0x1dc, 0xff07bc ADD X3, X3, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x1e0, 0xff07c0 MOV W4, #0x2B4 ; +0x1e4, 0xff07c4 MOV W0, #0x20 ; ' ' ; +0x1e8, 0xff07c8 BL ERR_put_error ; +0x1ec, 0xff07cc MOV W0, W19; int ; +0x1f0, 0xff07d0 BL .gai_strerror ; +0x1f4, 0xff07d4 MOV X1, X0 ; +0x1f8, 0xff07d8 MOV W0, #1 ; +0x1fc, 0xff07dc BL ERR_add_error_data ; +0x200, 0xff07e0 MOV W0, #0 ; +0x204, 0xff07e4 B loc_FF0638 ; +0x208, 0xff07e8 MOV W0, #1 ; +0x20c, 0xff07ec B loc_FF0638 ; +0x210, 0xff07f0 STR W2, [X29,#0x80+var_30] ; +0x214, 0xff07f4 B loc_FF074C ; +0x218, 0xff07f8 ADRP X0, #aAssertionFaile_29@PAGE; "assertion failed: bai != NULL" ; +0x21c, 0xff07fc ADRP X1, #aCryptoBioBAddr@PAGE; "crypto/bio/b_addr.c" ; +0x220, 0xff0800 ADD X0, X0, #aAssertionFaile_29@PAGEOFF; "assertion failed: bai != NULL" ; +0x224, 0xff0804 ADD X1, X1, #aCryptoBioBAddr@PAGEOFF; "crypto/bio/b_addr.c" ; +0x228, 0xff0808 MOV W2, #0x238 ; +0x22c, 0xff080c BL OPENSSL_die ; +0x230, 0xff0810