; ; BN_mod_inverse from 0x1097294 to 0x10972e0 (76 bytes) ; ; 13 xrefs: ; > BN_MONT_CTX_set @ 0xffa198 ; > sub_1008178 @ 0x1008324 ; > sub_1008488 @ 0x1008770 ; > sub_10088DC @ 0x1008a94 ; > ossl_ecdsa_sign_setup @ 0x1012d84 ; > ossl_ecdsa_sign_sig @ 0x1013614 ; > ossl_ecdsa_verify_sig @ 0x1013934 ; > ec_GFp_simple_point_get_affine_coordinates @ 0x1017d28 ; > ec_GFp_simple_points_make_affine @ 0x1019490 ; > RSA_setup_blinding @ 0x1051fb0 ; > RSA_generate_key_ex @ 0x10e8d94 ; > RSA_generate_key_ex @ 0x10e8e30 ; > @ 0x491e0 ; ; 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:17:24 +0000 ; STP X29, X30, [SP,#var_30]! ; +0x0, 0x1097294 MOV X29, SP ; +0x4, 0x1097298 ADD X4, X29, #0x30+var_4 ; +0x8, 0x109729c STR X19, [SP,#0x30+var_20] ; +0xc, 0x10972a0 BL int_bn_mod_inverse ; +0x10, 0x10972a4 MOV X19, X0 ; +0x14, 0x10972a8 LDR W0, [X29,#0x30+var_4] ; +0x18, 0x10972ac CBZ W0, loc_10972D0 ; +0x1c, 0x10972b0 ADRP X3, #aCryptoBnBnGcdC@PAGE; "crypto/bn/bn_gcd.c" ; +0x20, 0x10972b4 MOV W0, #3 ; +0x24, 0x10972b8 MOV W1, #0x6E ; 'n' ; +0x28, 0x10972bc MOV W2, #0x6C ; 'l' ; +0x2c, 0x10972c0 ADD X3, X3, #aCryptoBnBnGcdC@PAGEOFF; "crypto/bn/bn_gcd.c" ; +0x30, 0x10972c4 MOV W4, #0x83 ; +0x34, 0x10972c8 BL ERR_put_error ; +0x38, 0x10972cc MOV X0, X19 ; +0x3c, 0x10972d0 LDR X19, [SP,#0x30+var_20] ; +0x40, 0x10972d4 LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x44, 0x10972d8 RET ; +0x48, 0x10972dc