; ; EC_GROUP_get_cofactor from 0xd9117c to 0xd911d0 (84 bytes) ; ; 2 xrefs: ; > ecdh_simple_compute_key @ 0xd94354 ; > @ 0x52fc8 ; ; 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, 0xd9117c MOV X29, SP ; +0x4, 0xd91180 LDR X3, [X0,#0x18] ; +0x8, 0xd91184 STR X19, [SP,#0x20+var_10] ; +0xc, 0xd91188 CBZ X3, loc_D911C0 ; +0x10, 0xd9118c MOV X19, X0 ; +0x14, 0xd91190 MOV X0, X1 ; +0x18, 0xd91194 MOV X1, X3 ; +0x1c, 0xd91198 BL BN_copy ; +0x20, 0xd9119c CBZ X0, loc_D911C0 ; +0x24, 0xd911a0 LDR X0, [X19,#0x18] ; +0x28, 0xd911a4 BL BN_is_zero ; +0x2c, 0xd911a8 CMP W0, WZR ; +0x30, 0xd911ac CSET W0, EQ ; +0x34, 0xd911b0 LDR X19, [SP,#0x20+var_10] ; +0x38, 0xd911b4 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x3c, 0xd911b8 RET ; +0x40, 0xd911bc MOV W0, #0 ; +0x44, 0xd911c0 LDR X19, [SP,#0x20+var_10] ; +0x48, 0xd911c4 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x4c, 0xd911c8 RET ; +0x50, 0xd911cc