; ; DH_get_1024_160 from 0x7e09e8 to 0x7e0a58 (112 bytes) ; ; 3 xrefs: ; > ssl_get_auto_dh @ 0x7b4bac ; > sub_87FC88 @ 0x87fdc0 ; > @ 0x5d9fc ; ; 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 ; PUSH {R4,LR} ; +0x0, 0x7e09e8 BL DH_new ; +0x4, 0x7e09ec SUBS R4, R0, #0 ; +0x8, 0x7e09f0 BEQ loc_7E0A50 ; +0xc, 0x7e09f4 LDR R0, =(_bignum_dh1024_160_p_ptr - 0x7E0A04) ; +0x10, 0x7e09f8 LDR R0, [PC,R0]; _bignum_dh1024_160_p ; +0x14, 0x7e09fc BL BN_dup ; +0x18, 0x7e0a00 LDR R3, =(_bignum_dh1024_160_g_ptr - 0x7E0A14) ; +0x1c, 0x7e0a04 STR R0, [R4,#8] ; +0x20, 0x7e0a08 LDR R0, [PC,R3]; _bignum_dh1024_160_g ; +0x24, 0x7e0a0c BL BN_dup ; +0x28, 0x7e0a10 LDR R3, =(_bignum_dh1024_160_q_ptr - 0x7E0A24) ; +0x2c, 0x7e0a14 STR R0, [R4,#0xC] ; +0x30, 0x7e0a18 LDR R0, [PC,R3]; _bignum_dh1024_160_q ; +0x34, 0x7e0a1c BL BN_dup ; +0x38, 0x7e0a20 LDR R3, [R4,#8] ; +0x3c, 0x7e0a24 CMP R3, #0 ; +0x40, 0x7e0a28 CMPNE R0, #0 ; +0x44, 0x7e0a2c STR R0, [R4,#0x24] ; +0x48, 0x7e0a30 MOV R0, R4 ; +0x4c, 0x7e0a34 BEQ loc_7E0A4C ; +0x50, 0x7e0a38 LDR R3, [R4,#0xC] ; +0x54, 0x7e0a3c CMP R3, #0 ; +0x58, 0x7e0a40 BEQ loc_7E0A4C ; +0x5c, 0x7e0a44 POP {R4,PC} ; +0x60, 0x7e0a48 BL DH_free ; +0x64, 0x7e0a4c MOV R0, #0 ; +0x68, 0x7e0a50 POP {R4,PC} ; +0x6c, 0x7e0a54