; ; EC_GROUP_get_cofactor from 0x7ea238 to 0x7ea284 (76 bytes) ; ; 2 xrefs: ; > ecdh_simple_compute_key @ 0x7ed768 ; > @ 0x61a3c ; ; 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 ; LDR R2, [R0,#0xC] ; +0x0, 0x7ea238 CMP R2, #0 ; +0x4, 0x7ea23c BEQ loc_7EA274 ; +0x8, 0x7ea240 PUSH {R4,LR} ; +0xc, 0x7ea244 MOV R4, R0 ; +0x10, 0x7ea248 MOV R0, R1 ; +0x14, 0x7ea24c MOV R1, R2 ; +0x18, 0x7ea250 BL BN_copy ; +0x1c, 0x7ea254 CMP R0, #0 ; +0x20, 0x7ea258 BEQ loc_7EA27C ; +0x24, 0x7ea25c LDR R0, [R4,#0xC] ; +0x28, 0x7ea260 BL BN_is_zero ; +0x2c, 0x7ea264 CLZ R0, R0 ; +0x30, 0x7ea268 MOV R0, R0,LSR#5 ; +0x34, 0x7ea26c POP {R4,PC} ; +0x38, 0x7ea270 MOV R0, #0 ; +0x3c, 0x7ea274 BX LR ; +0x40, 0x7ea278 MOV R0, #0 ; +0x44, 0x7ea27c POP {R4,PC} ; +0x48, 0x7ea280