; ; EC_ec_pre_comp_free from 0x7ebab8 to 0x7ebb5c (164 bytes) ; ; 6 xrefs: ; > EC_pre_comp_free @ 0x7ea17c ; > ec_wNAF_precompute_mult @ 0x7ecc40 ; > ec_wNAF_precompute_mult @ 0x7ecd58 ; > ec_wNAF_precompute_mult @ 0x7ecf00 ; > ec_wNAF_precompute_mult @ 0x7ed084 ; > @ 0x61a0c ; ; 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 ; CMP R0, #0 ; +0x0, 0x7ebab8 BXEQ LR ; +0x4, 0x7ebabc PUSH {R4,R5,LR} ; +0x8, 0x7ebac0 MOV R4, R0 ; +0xc, 0x7ebac4 SUB SP, SP, #0xC ; +0x10, 0x7ebac8 LDR R3, [R4,#0x1C] ; +0x14, 0x7ebacc ADD R0, R0, #0x18 ; +0x18, 0x7ebad0 MOV R1, #0xFFFFFFFF ; +0x1c, 0x7ebad4 ADD R2, SP, #0x18+var_14 ; +0x20, 0x7ebad8 BL CRYPTO_atomic_add ; +0x24, 0x7ebadc LDR R3, [SP,#0x18+var_14] ; +0x28, 0x7ebae0 CMP R3, #0 ; +0x2c, 0x7ebae4 BLE loc_7EBAF4 ; +0x30, 0x7ebae8 ADD SP, SP, #0xC ; +0x34, 0x7ebaec POP {R4,R5,PC} ; +0x38, 0x7ebaf0 LDR R5, [R4,#0x10] ; +0x3c, 0x7ebaf4 CMP R5, #0 ; +0x40, 0x7ebaf8 BEQ loc_7EBB30 ; +0x44, 0x7ebafc LDR R0, [R5] ; +0x48, 0x7ebb00 CMP R0, #0 ; +0x4c, 0x7ebb04 BEQ loc_7EBB54 ; +0x50, 0x7ebb08 BL EC_POINT_free ; +0x54, 0x7ebb0c LDR R0, [R5,#4]! ; +0x58, 0x7ebb10 CMP R0, #0 ; +0x5c, 0x7ebb14 BNE loc_7EBB0C ; +0x60, 0x7ebb18 LDR R0, [R4,#0x10] ; +0x64, 0x7ebb1c LDR R1, =(aCryptoEcEcMult - 0x7EBB30); "crypto/ec/ec_mult.c" ; +0x68, 0x7ebb20 MOV R2, #0x62 ; 'b' ; +0x6c, 0x7ebb24 ADD R1, PC, R1; "crypto/ec/ec_mult.c" ; +0x70, 0x7ebb28 BL CRYPTO_free ; +0x74, 0x7ebb2c LDR R0, [R4,#0x1C] ; +0x78, 0x7ebb30 BL CRYPTO_THREAD_lock_free ; +0x7c, 0x7ebb34 LDR R1, =(aCryptoEcEcMult - 0x7EBB48); "crypto/ec/ec_mult.c" ; +0x80, 0x7ebb38 MOV R0, R4 ; +0x84, 0x7ebb3c ADD R1, PC, R1; "crypto/ec/ec_mult.c" ; +0x88, 0x7ebb40 MOV R2, #0x65 ; 'e' ; +0x8c, 0x7ebb44 BL CRYPTO_free ; +0x90, 0x7ebb48 ADD SP, SP, #0xC ; +0x94, 0x7ebb4c POP {R4,R5,PC} ; +0x98, 0x7ebb50 MOV R0, R5 ; +0x9c, 0x7ebb54 B loc_7EBB20 ; +0xa0, 0x7ebb58