I am going to guess that the main cable is very stiff (hardened or spring steel) and will require annealing in order to make that bend.
That requires heat until light red then allow it to cool naturally. Then you can readily bend it to that shape.
My concern would be that this annealing process may soften the adjacent straight section of cable, rendering it subject to bending under stress of pushing the lever.
You may be able to restore the stiffness of the cable by heating to red hot and quenching it in oil.