; ; EC_POINT_set_compressed_coordinates_GFp from 0x7ed0ec to 0x7ed1ec (256 bytes) ; ; 2 xrefs: ; > ec_GFp_simple_oct2point @ 0x7f2c70 ; > @ 0x61bbc ; ; 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 R12, [R0] ; +0x0, 0x7ed0ec PUSH {R4-R9,LR} ; +0x4, 0x7ed0f0 LDR R5, [R12,#0x50] ; +0x8, 0x7ed0f4 SUB SP, SP, #0xC ; +0xc, 0x7ed0f8 CMP R5, #0 ; +0x10, 0x7ed0fc MOV R4, R0 ; +0x14, 0x7ed100 MOV LR, R1 ; +0x18, 0x7ed104 MOV R8, R2 ; +0x1c, 0x7ed108 MOV R9, R3 ; +0x20, 0x7ed10c LDR R7, [SP,#0xC+arg_0] ; +0x24, 0x7ed110 BEQ loc_7ED198 ; +0x28, 0x7ed114 LDR R6, [R1] ; +0x2c, 0x7ed118 CMP R12, R6 ; +0x30, 0x7ed11c BEQ loc_7ED150 ; +0x34, 0x7ed120 MOV R3, #0x23 ; '#' ; +0x38, 0x7ed124 STR R3, [SP,#0xC+var_C] ; +0x3c, 0x7ed128 LDR R3, =(aCryptoEcEcOctC - 0x7ED144); "crypto/ec/ec_oct.c" ; +0x40, 0x7ed12c MOV R0, #0x10 ; +0x44, 0x7ed130 MOV R1, #0x7D ; '}' ; +0x48, 0x7ed134 MOV R2, #0x65 ; 'e' ; +0x4c, 0x7ed138 ADD R3, PC, R3; "crypto/ec/ec_oct.c" ; +0x50, 0x7ed13c BL ERR_put_error ; +0x54, 0x7ed140 MOV R0, #0 ; +0x58, 0x7ed144 ADD SP, SP, #0xC ; +0x5c, 0x7ed148 POP {R4-R9,PC} ; +0x60, 0x7ed14c LDR R6, [R12] ; +0x64, 0x7ed150 TST R6, #1 ; +0x68, 0x7ed154 BEQ loc_7ED1B4 ; +0x6c, 0x7ed158 LDR R2, [R12,#4] ; +0x70, 0x7ed15c LDR R3, =0x196 ; +0x74, 0x7ed160 STR R7, [SP,#0xC+arg_0] ; +0x78, 0x7ed164 CMP R2, R3 ; +0x7c, 0x7ed168 MOV R0, R4 ; +0x80, 0x7ed16c MOV R1, LR ; +0x84, 0x7ed170 MOV R2, R8 ; +0x88, 0x7ed174 MOV R3, R9 ; +0x8c, 0x7ed178 BEQ loc_7ED18C ; +0x90, 0x7ed17c ADD SP, SP, #0xC ; +0x94, 0x7ed180 POP {R4-R9,LR} ; +0x98, 0x7ed184 B ec_GF2m_simple_set_compressed_coordinates ; +0x9c, 0x7ed188 ADD SP, SP, #0xC ; +0xa0, 0x7ed18c POP {R4-R9,LR} ; +0xa4, 0x7ed190 B ec_GFp_simple_set_compressed_coordinates ; +0xa8, 0x7ed194 LDR R3, [R12] ; +0xac, 0x7ed198 TST R3, #1 ; +0xb0, 0x7ed19c BEQ loc_7ED1C8 ; +0xb4, 0x7ed1a0 LDR R3, [R1] ; +0xb8, 0x7ed1a4 CMP R12, R3 ; +0xbc, 0x7ed1a8 BNE loc_7ED124 ; +0xc0, 0x7ed1ac B loc_7ED15C ; +0xc4, 0x7ed1b0 MOV R12, R5 ; +0xc8, 0x7ed1b4 STR R7, [SP,#0xC+arg_0] ; +0xcc, 0x7ed1b8 ADD SP, SP, #0xC ; +0xd0, 0x7ed1bc POP {R4-R9,LR} ; +0xd4, 0x7ed1c0 BX R12 ; +0xd8, 0x7ed1c4 MOV R3, #0x1E ; +0xdc, 0x7ed1c8 STR R3, [SP,#0xC+var_C] ; +0xe0, 0x7ed1cc LDR R3, =(aCryptoEcEcOctC - 0x7ED1E8); "crypto/ec/ec_oct.c" ; +0xe4, 0x7ed1d0 MOV R0, #0x10 ; +0xe8, 0x7ed1d4 MOV R1, #0x7D ; '}' ; +0xec, 0x7ed1d8 MOV R2, #0x42 ; 'B' ; +0xf0, 0x7ed1dc ADD R3, PC, R3; "crypto/ec/ec_oct.c" ; +0xf4, 0x7ed1e0 BL ERR_put_error ; +0xf8, 0x7ed1e4 B loc_7ED144 ; +0xfc, 0x7ed1e8