Put the hammer in a vise, and push the pin straight with a soft punch and a hammer.
Same technique for the sight.
If the firing pin (or the sight) breaks off, then you carry on and do what has to be done to fix that, but you will be not much behind, by trying to bend the parts back, first.
If the firing pin bent to begin with, it's reasonable to expect it to bend back. If the pin is hardened, bending it to where it is, likely as not cracked it enough that there is nothing to do but replace the pin. If you feel the need, soot the tip of the pin with a candle flame, and heat it with a propane torch until the soot burns off. This will relieve the temper a bit, and MAY help to prevent it snapping off. Same can be done to the sight.
Cheers
Trev