; ; DH_get_2048_256 from 0x7e0ae0 to 0x7e0b50 (112 bytes) ; ; 2 xrefs: ; > sub_87FC88 @ 0x87fdcc ; > @ 0x60c3c ; ; 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, 0x7e0ae0 BL DH_new ; +0x4, 0x7e0ae4 SUBS R4, R0, #0 ; +0x8, 0x7e0ae8 BEQ loc_7E0B48 ; +0xc, 0x7e0aec LDR R0, =(_bignum_dh2048_256_p_ptr - 0x7E0AFC) ; +0x10, 0x7e0af0 LDR R0, [PC,R0]; _bignum_dh2048_256_p ; +0x14, 0x7e0af4 BL BN_dup ; +0x18, 0x7e0af8 LDR R3, =(_bignum_dh2048_256_g_ptr - 0x7E0B0C) ; +0x1c, 0x7e0afc STR R0, [R4,#8] ; +0x20, 0x7e0b00 LDR R0, [PC,R3]; _bignum_dh2048_256_g ; +0x24, 0x7e0b04 BL BN_dup ; +0x28, 0x7e0b08 LDR R3, =(_bignum_dh2048_256_q_ptr - 0x7E0B1C) ; +0x2c, 0x7e0b0c STR R0, [R4,#0xC] ; +0x30, 0x7e0b10 LDR R0, [PC,R3]; _bignum_dh2048_256_q ; +0x34, 0x7e0b14 BL BN_dup ; +0x38, 0x7e0b18 LDR R3, [R4,#8] ; +0x3c, 0x7e0b1c CMP R3, #0 ; +0x40, 0x7e0b20 CMPNE R0, #0 ; +0x44, 0x7e0b24 STR R0, [R4,#0x24] ; +0x48, 0x7e0b28 MOV R0, R4 ; +0x4c, 0x7e0b2c BEQ loc_7E0B44 ; +0x50, 0x7e0b30 LDR R3, [R4,#0xC] ; +0x54, 0x7e0b34 CMP R3, #0 ; +0x58, 0x7e0b38 BEQ loc_7E0B44 ; +0x5c, 0x7e0b3c POP {R4,PC} ; +0x60, 0x7e0b40 BL DH_free ; +0x64, 0x7e0b44 MOV R0, #0 ; +0x68, 0x7e0b48 POP {R4,PC} ; +0x6c, 0x7e0b4c