; ; EC_POINT_point2buf from 0x7ed524 to 0x7ed5c8 (164 bytes) ; ; 5 xrefs: ; > EC_GROUP_get_ecparameters @ 0x7e5fe8 ; > EC_KEY_key2buf @ 0x7e9724 ; > EC_POINT_point2bn @ 0x88b44c ; > EC_POINT_point2hex @ 0x88b5ec ; > @ 0x6140c ; ; 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-R10,LR} ; +0x0, 0x7ed524 MOV R12, #0 ; +0x4, 0x7ed528 SUB SP, SP, #8 ; +0x8, 0x7ed52c MOV R8, R3 ; +0xc, 0x7ed530 STR R12, [SP,#8+var_8] ; +0x10, 0x7ed534 STR R12, [SP,#8+var_4] ; +0x14, 0x7ed538 MOV R3, R12 ; +0x18, 0x7ed53c MOV R6, R0 ; +0x1c, 0x7ed540 MOV R5, R1 ; +0x20, 0x7ed544 MOV R4, R2 ; +0x24, 0x7ed548 BL EC_POINT_point2oct ; +0x28, 0x7ed54c SUBS R7, R0, #0 ; +0x2c, 0x7ed550 BNE loc_7ED564 ; +0x30, 0x7ed554 MOV R0, #0 ; +0x34, 0x7ed558 ADD SP, SP, #8 ; +0x38, 0x7ed55c POP {R4-R10,PC} ; +0x3c, 0x7ed560 LDR R10, =(aCryptoEcEcOctC - 0x7ED574); "crypto/ec/ec_oct.c" ; +0x40, 0x7ed564 MOV R2, #0x9B ; +0x44, 0x7ed568 ADD R10, PC, R10; "crypto/ec/ec_oct.c" ; +0x48, 0x7ed56c MOV R1, R10 ; +0x4c, 0x7ed570 BL CRYPTO_malloc ; +0x50, 0x7ed574 SUBS R9, R0, #0 ; +0x54, 0x7ed578 BEQ loc_7ED558 ; +0x58, 0x7ed57c LDR R3, [SP,#8+arg_0] ; +0x5c, 0x7ed580 STR R3, [SP,#8+var_4] ; +0x60, 0x7ed584 MOV R2, R4 ; +0x64, 0x7ed588 STR R7, [SP,#8+var_8] ; +0x68, 0x7ed58c MOV R0, R6 ; +0x6c, 0x7ed590 MOV R1, R5 ; +0x70, 0x7ed594 MOV R3, R9 ; +0x74, 0x7ed598 BL EC_POINT_point2oct ; +0x78, 0x7ed59c SUBS R4, R0, #0 ; +0x7c, 0x7ed5a0 MOVNE R0, R4 ; +0x80, 0x7ed5a4 STRNE R9, [R8] ; +0x84, 0x7ed5a8 BNE loc_7ED55C ; +0x88, 0x7ed5ac MOV R0, R9 ; +0x8c, 0x7ed5b0 MOV R1, R10 ; +0x90, 0x7ed5b4 MOV R2, #0xA0 ; +0x94, 0x7ed5b8 BL CRYPTO_free ; +0x98, 0x7ed5bc MOV R0, R4 ; +0x9c, 0x7ed5c0 B loc_7ED55C ; +0xa0, 0x7ed5c4