; ; DH_get_1024_160 from 0xd88270 to 0xd882f0 (128 bytes) ; ; 3 xrefs: ; > ssl_get_auto_dh @ 0xd5b978 ; > sub_E29F44 @ 0xe2a088 ; > @ 0x6f9f0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#var_20]! ; +0x0, 0xd88270 MOV X29, SP ; +0x4, 0xd88274 STR X19, [SP,#0x20+var_10] ; +0x8, 0xd88278 BL DH_new ; +0xc, 0xd8827c MOV X19, X0 ; +0x10, 0xd88280 CBZ X0, loc_D882DC ; +0x14, 0xd88284 ADRP X0, #_bignum_dh1024_160_p_ptr@PAGE ; +0x18, 0xd88288 LDR X0, [X0,#_bignum_dh1024_160_p_ptr@PAGEOFF]; _bignum_dh1024_160_p ; +0x1c, 0xd8828c BL BN_dup ; +0x20, 0xd88290 STR X0, [X19,#8] ; +0x24, 0xd88294 ADRP X0, #_bignum_dh1024_160_g_ptr@PAGE ; +0x28, 0xd88298 LDR X0, [X0,#_bignum_dh1024_160_g_ptr@PAGEOFF]; _bignum_dh1024_160_g ; +0x2c, 0xd8829c BL BN_dup ; +0x30, 0xd882a0 STR X0, [X19,#0x10] ; +0x34, 0xd882a4 ADRP X0, #_bignum_dh1024_160_q_ptr@PAGE ; +0x38, 0xd882a8 LDR X0, [X0,#_bignum_dh1024_160_q_ptr@PAGEOFF]; _bignum_dh1024_160_q ; +0x3c, 0xd882ac BL BN_dup ; +0x40, 0xd882b0 STR X0, [X19,#0x40] ; +0x44, 0xd882b4 CBZ X0, loc_D882E0 ; +0x48, 0xd882b8 LDR X0, [X19,#8] ; +0x4c, 0xd882bc CBZ X0, loc_D882E0 ; +0x50, 0xd882c0 LDR X1, [X19,#0x10] ; +0x54, 0xd882c4 MOV X0, X19 ; +0x58, 0xd882c8 CBZ X1, loc_D882E0 ; +0x5c, 0xd882cc LDR X19, [SP,#0x20+var_10] ; +0x60, 0xd882d0 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x64, 0xd882d4 RET ; +0x68, 0xd882d8 B loc_D882D0 ; +0x6c, 0xd882dc MOV X0, X19 ; +0x70, 0xd882e0 BL DH_free ; +0x74, 0xd882e4 MOV X0, #0 ; +0x78, 0xd882e8 B loc_D882D0 ; +0x7c, 0xd882ec