; ; EC_POINT_dbl from 0x7eaf78 to 0x7eb008 (144 bytes) ; ; 9 xrefs: ; > ec_wNAF_mul @ 0x7ec7f8 ; > ec_wNAF_mul @ 0x7eca78 ; > ec_wNAF_precompute_mult @ 0x7ece50 ; > ec_wNAF_precompute_mult @ 0x7ed004 ; > ec_wNAF_precompute_mult @ 0x7ed030 ; > sub_7F1BA0 @ 0x7f202c ; > ec_GFp_simple_add @ 0x7f44a4 ; > ec_GFp_simple_add @ 0x7f4538 ; > @ 0x61adc ; ; 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, 0x7eaf78 PUSH {R4,R5,LR} ; +0x4, 0x7eaf7c LDR LR, [R12,#0x60] ; +0x8, 0x7eaf80 SUB SP, SP, #0xC ; +0xc, 0x7eaf84 CMP LR, #0 ; +0x10, 0x7eaf88 BEQ loc_7EAFE4 ; +0x14, 0x7eaf8c LDR R4, [R1] ; +0x18, 0x7eaf90 CMP R12, R4 ; +0x1c, 0x7eaf94 BEQ loc_7EAFC8 ; +0x20, 0x7eaf98 LDR R3, =0x31F ; +0x24, 0x7eaf9c STR R3, [SP,#0xC+var_C] ; +0x28, 0x7eafa0 LDR R3, =(aCryptoEcEcLibC - 0x7EAFBC); "crypto/ec/ec_lib.c" ; +0x2c, 0x7eafa4 MOV R0, #0x10 ; +0x30, 0x7eafa8 MOV R1, #0x73 ; 's' ; +0x34, 0x7eafac MOV R2, #0x65 ; 'e' ; +0x38, 0x7eafb0 ADD R3, PC, R3; "crypto/ec/ec_lib.c" ; +0x3c, 0x7eafb4 BL ERR_put_error ; +0x40, 0x7eafb8 MOV R0, #0 ; +0x44, 0x7eafbc ADD SP, SP, #0xC ; +0x48, 0x7eafc0 POP {R4,R5,PC} ; +0x4c, 0x7eafc4 LDR R4, [R2] ; +0x50, 0x7eafc8 CMP R12, R4 ; +0x54, 0x7eafcc BNE loc_7EAF9C ; +0x58, 0x7eafd0 MOV R12, LR ; +0x5c, 0x7eafd4 ADD SP, SP, #0xC ; +0x60, 0x7eafd8 POP {R4,R5,LR} ; +0x64, 0x7eafdc BX R12 ; +0x68, 0x7eafe0 LDR R3, =0x31B ; +0x6c, 0x7eafe4 STR R3, [SP,#0xC+var_C] ; +0x70, 0x7eafe8 LDR R3, =(aCryptoEcEcLibC - 0x7EB004); "crypto/ec/ec_lib.c" ; +0x74, 0x7eafec MOV R0, #0x10 ; +0x78, 0x7eaff0 MOV R1, #0x73 ; 's' ; +0x7c, 0x7eaff4 MOV R2, #0x42 ; 'B' ; +0x80, 0x7eaff8 ADD R3, PC, R3; "crypto/ec/ec_lib.c" ; +0x84, 0x7eaffc BL ERR_put_error ; +0x88, 0x7eb000 B loc_7EAFBC ; +0x8c, 0x7eb004