; ; ASN1_item_ex_free from 0xfed64c to 0xfed948 (764 bytes) ; ; 7 xrefs: ; > sub_FE9B88 @ 0xfe9c74 ; > sub_FEAA90 @ 0xfeb210 ; > ASN1_item_ex_d2i @ 0xfeb364 ; > ASN1_item_ex_d2i @ 0xfebba4 ; > sub_FEDB60 @ 0xfeddf4 ; > ASN1_item_ex_new @ 0xfee230 ; > @ 0xfee48 ; ; 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:43 +0000 ; STP X29, X30, [SP,#-0x40+var_s0]! ; +0x0, 0xfed64c MOV X29, SP ; +0x4, 0xfed650 STP X19, X20, [SP,#var_s10] ; +0x8, 0xfed654 STP X21, X22, [SP,#var_s20] ; +0xc, 0xfed658 STP X23, X24, [SP,#var_s30] ; +0x10, 0xfed65c LDR X2, [X1,#0x20] ; +0x14, 0xfed660 CBZ X0, def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x18, 0xfed664 MOV X19, X0 ; +0x1c, 0xfed668 LDRB W0, [X1] ; +0x20, 0xfed66c MOV X20, X1 ; +0x24, 0xfed670 CBNZ W0, loc_FED720 ; +0x28, 0xfed674 CBZ X2, loc_FED770; jumptable 0000000000FED6A0 case 0 ; +0x2c, 0xfed678 LDR X24, [X2,#0x18] ; +0x30, 0xfed67c CBZ X24, loc_FED8BC ; +0x34, 0xfed680 CMP W0, #6; switch 7 cases ; +0x38, 0xfed684 B.HI def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x3c, 0xfed688 ADRL X1, jpt_FED6A0 ; +0x40, 0xfed68c LDRB W0, [X1,W0,UXTW] ; +0x48, 0xfed694 ADR X1, loc_FED6A4; jumptable 0000000000FED6A0 case 2 ; +0x4c, 0xfed698 ADD X0, X1, W0,SXTB#2 ; +0x50, 0xfed69c BR X0; switch jump ; +0x54, 0xfed6a0 MOV W0, #2; jumptable 0000000000FED6A0 case 2 ; +0x58, 0xfed6a4 MOV X1, X19 ; +0x5c, 0xfed6a8 MOV X2, X20 ; +0x60, 0xfed6ac MOV X3, #0 ; +0x64, 0xfed6b0 BLR X24 ; +0x68, 0xfed6b4 CMP W0, #2 ; +0x6c, 0xfed6b8 B.EQ def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x70, 0xfed6bc MOV X1, X20 ; +0x74, 0xfed6c0 MOV X0, X19 ; +0x78, 0xfed6c4 BL asn1_get_choice_selector ; +0x7c, 0xfed6c8 TBNZ W0, #0x1F, loc_FED6E0 ; +0x80, 0xfed6cc LDR X1, [X20,#0x18] ; +0x84, 0xfed6d0 SXTW X0, W0 ; +0x88, 0xfed6d4 CMP X0, X1 ; +0x8c, 0xfed6d8 B.LT loc_FED924 ; +0x90, 0xfed6dc MOV W0, #3 ; +0x94, 0xfed6e0 MOV X1, X19 ; +0x98, 0xfed6e4 MOV X2, X20 ; +0x9c, 0xfed6e8 MOV X3, #0 ; +0xa0, 0xfed6ec BLR X24 ; +0xa4, 0xfed6f0 LDR X0, [X19] ; +0xa8, 0xfed6f4 ADRL X1, aCryptoAsn1Tasn_0; "crypto/asn1/tasn_fre.c" ; +0xac, 0xfed6f8 MOV W2, #0x4F ; 'O' ; +0xb4, 0xfed700 BL CRYPTO_free ; +0xb8, 0xfed704 STR XZR, [X19] ; +0xbc, 0xfed708 LDP X19, X20, [SP,#var_s10]; jumptable 0000000000FED6A0 default case, case 3 ; +0xc0, 0xfed70c LDP X21, X22, [SP,#var_s20] ; +0xc4, 0xfed710 LDP X23, X24, [SP,#var_s30] ; +0xc8, 0xfed714 LDP X29, X30, [SP+var_s0],#0x40 ; +0xcc, 0xfed718 RET ; +0xd0, 0xfed71c LDR X1, [X19] ; +0xd4, 0xfed720 CBZ X1, def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0xd8, 0xfed724 CBNZ X2, loc_FED67C ; +0xdc, 0xfed728 SUB W0, W0, #1; switch 6 cases ; +0xe0, 0xfed72c CMP W0, #5 ; +0xe4, 0xfed730 B.HI def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0xe8, 0xfed734 ADRL X1, jpt_FED74C ; +0xec, 0xfed738 LDRB W0, [X1,W0,UXTW] ; +0xf4, 0xfed740 ADR X1, loc_FED750; jumptable 0000000000FED6A0 case 5 ; +0xf8, 0xfed744 ADD X0, X1, W0,SXTB#2 ; +0xfc, 0xfed748 BR X0; switch jump ; +0x100, 0xfed74c MOV X0, X19; jumptable 0000000000FED6A0 case 5 ; +0x104, 0xfed750 MOV X1, X20 ; +0x108, 0xfed754 MOV W2, #0 ; +0x10c, 0xfed758 LDP X19, X20, [SP,#var_s10] ; +0x110, 0xfed75c LDP X21, X22, [SP,#var_s20] ; +0x114, 0xfed760 LDP X23, X24, [SP,#var_s30] ; +0x118, 0xfed764 LDP X29, X30, [SP+var_s0],#0x40 ; +0x11c, 0xfed768 B asn1_primitive_free ; +0x120, 0xfed76c LDR X2, [X20,#0x10]; jumptable 0000000000FED6A0 case 0 ; +0x124, 0xfed770 MOV X0, X19 ; +0x128, 0xfed774 CBZ X2, loc_FED91C ; +0x12c, 0xfed778 LDP X19, X20, [SP,#var_s10] ; +0x130, 0xfed77c LDP X21, X22, [SP,#var_s20] ; +0x134, 0xfed780 LDP X23, X24, [SP,#var_s30] ; +0x138, 0xfed784 LDP X29, X30, [SP+var_s0],#0x40 ; +0x13c, 0xfed788 MOV X1, X2 ; +0x140, 0xfed78c B asn1_template_free ; +0x144, 0xfed790 LDR X2, [X2,#0x10]; jumptable 0000000000FED6A0 case 4 ; +0x148, 0xfed794 CBZ X2, def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x14c, 0xfed798 MOV X0, X19 ; +0x150, 0xfed79c MOV X1, X20 ; +0x154, 0xfed7a0 BLR X2 ; +0x158, 0xfed7a4 B def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x15c, 0xfed7a8 MOV X0, X19; jumptable 0000000000FED6A0 cases 1,6 ; +0x160, 0xfed7ac MOV W1, #0xFFFFFFFF ; +0x164, 0xfed7b0 MOV X2, X20 ; +0x168, 0xfed7b4 BL asn1_do_lock ; +0x16c, 0xfed7b8 CBNZ W0, def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x170, 0xfed7bc MOV W0, #2 ; +0x174, 0xfed7c0 MOV X1, X19 ; +0x178, 0xfed7c4 MOV X2, X20 ; +0x17c, 0xfed7c8 MOV X3, #0 ; +0x180, 0xfed7cc BLR X24 ; +0x184, 0xfed7d0 CMP W0, #2 ; +0x188, 0xfed7d4 B.EQ def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x18c, 0xfed7d8 MOV X0, X19 ; +0x190, 0xfed7dc MOV X1, X20 ; +0x194, 0xfed7e0 BL asn1_enc_free ; +0x198, 0xfed7e4 LDR X21, [X20,#0x10] ; +0x19c, 0xfed7e8 LDR X0, [X20,#0x18] ; +0x1a0, 0xfed7ec CMP X0, XZR ; +0x1a4, 0xfed7f0 ADD X0, X0, X0,LSL#2 ; +0x1a8, 0xfed7f4 ADD X21, X21, X0,LSL#3 ; +0x1ac, 0xfed7f8 B.LE loc_FED848 ; +0x1b0, 0xfed7fc MOV X23, #1 ; +0x1b4, 0xfed800 SUB X21, X21, #0x28 ; '(' ; +0x1b8, 0xfed804 MOV X0, X19 ; +0x1bc, 0xfed808 MOV X1, X21 ; +0x1c0, 0xfed80c MOV W2, #0 ; +0x1c4, 0xfed810 BL asn1_do_adb ; +0x1c8, 0xfed814 MOV X22, X0 ; +0x1cc, 0xfed818 CBZ X0, loc_FED834 ; +0x1d0, 0xfed81c MOV X1, X22 ; +0x1d4, 0xfed820 MOV X0, X19 ; +0x1d8, 0xfed824 BL asn1_get_field_ptr ; +0x1dc, 0xfed828 MOV X1, X22 ; +0x1e0, 0xfed82c BL asn1_template_free ; +0x1e4, 0xfed830 LDR X1, [X20,#0x18] ; +0x1e8, 0xfed834 CMP X23, X1 ; +0x1ec, 0xfed838 ADD X23, X23, #1 ; +0x1f0, 0xfed83c B.LT loc_FED804 ; +0x1f4, 0xfed840 CBZ X24, loc_FED85C ; +0x1f8, 0xfed844 MOV W0, #3 ; +0x1fc, 0xfed848 MOV X1, X19 ; +0x200, 0xfed84c MOV X2, X20 ; +0x204, 0xfed850 MOV X3, #0 ; +0x208, 0xfed854 BLR X24 ; +0x20c, 0xfed858 LDR X0, [X19] ; +0x210, 0xfed85c ADRL X1, aCryptoAsn1Tasn_0; "crypto/asn1/tasn_fre.c" ; +0x214, 0xfed860 MOV W2, #0x77 ; 'w' ; +0x21c, 0xfed868 BL CRYPTO_free ; +0x220, 0xfed86c STR XZR, [X19] ; +0x224, 0xfed870 B def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x228, 0xfed874 MOV X1, X20; jumptable 0000000000FED74C case 2 ; +0x22c, 0xfed878 MOV X0, X19 ; +0x230, 0xfed87c BL asn1_get_choice_selector ; +0x234, 0xfed880 TBNZ W0, #0x1F, loc_FED6F4 ; +0x238, 0xfed884 LDR X1, [X20,#0x18] ; +0x23c, 0xfed888 SXTW X0, W0 ; +0x240, 0xfed88c CMP X0, X1 ; +0x244, 0xfed890 B.GE loc_FED6F4 ; +0x248, 0xfed894 ADD X1, X0, X0,LSL#2 ; +0x24c, 0xfed898 LDR X20, [X20,#0x10] ; +0x250, 0xfed89c MOV X0, X19 ; +0x254, 0xfed8a0 ADD X20, X20, X1,LSL#3 ; +0x258, 0xfed8a4 MOV X1, X20 ; +0x25c, 0xfed8a8 BL asn1_get_field_ptr ; +0x260, 0xfed8ac MOV X1, X20 ; +0x264, 0xfed8b0 BL asn1_template_free ; +0x268, 0xfed8b4 B loc_FED6F4 ; +0x26c, 0xfed8b8 CMP W0, #6; switch 7 cases ; +0x270, 0xfed8bc B.HI def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x274, 0xfed8c0 ADRL X1, jpt_FED8D8 ; +0x278, 0xfed8c4 LDRB W0, [X1,W0,UXTW] ; +0x280, 0xfed8cc ADR X1, loc_FED8DC; jumptable 0000000000FED74C cases 1,6 ; +0x284, 0xfed8d0 ADD X0, X1, W0,SXTB#2 ; +0x288, 0xfed8d4 BR X0; switch jump ; +0x28c, 0xfed8d8 MOV X24, #0; jumptable 0000000000FED74C cases 1,6 ; +0x290, 0xfed8dc MOV X0, X19; jumptable 0000000000FED8D8 cases 1,6 ; +0x294, 0xfed8e0 MOV W1, #0xFFFFFFFF ; +0x298, 0xfed8e4 MOV X2, X20 ; +0x29c, 0xfed8e8 BL asn1_do_lock ; +0x2a0, 0xfed8ec CBNZ W0, def_FED6A0; jumptable 0000000000FED6A0 default case, case 3 ; +0x2a4, 0xfed8f0 MOV X0, X19 ; +0x2a8, 0xfed8f4 MOV X1, X20 ; +0x2ac, 0xfed8f8 BL asn1_enc_free ; +0x2b0, 0xfed8fc LDR X21, [X20,#0x10] ; +0x2b4, 0xfed900 LDR X0, [X20,#0x18] ; +0x2b8, 0xfed904 CMP X0, XZR ; +0x2bc, 0xfed908 ADD X0, X0, X0,LSL#2 ; +0x2c0, 0xfed90c ADD X21, X21, X0,LSL#3 ; +0x2c4, 0xfed910 B.GT loc_FED800 ; +0x2c8, 0xfed914 B loc_FED85C ; +0x2cc, 0xfed918 MOV X1, X20 ; +0x2d0, 0xfed91c B loc_FED75C ; +0x2d4, 0xfed920 ADD X1, X0, X0,LSL#2 ; +0x2d8, 0xfed924 LDR X21, [X20,#0x10] ; +0x2dc, 0xfed928 MOV X0, X19 ; +0x2e0, 0xfed92c ADD X21, X21, X1,LSL#3 ; +0x2e4, 0xfed930 MOV X1, X21 ; +0x2e8, 0xfed934 BL asn1_get_field_ptr ; +0x2ec, 0xfed938 MOV X1, X21 ; +0x2f0, 0xfed93c BL asn1_template_free ; +0x2f4, 0xfed940 B loc_FED6E0 ; +0x2f8, 0xfed944