Interrupt, start a conversation with the perpetrator to allow their potential target to move away or have friends intervene. Or come up with an idea to get the victim out of the situation – tell them they need to take a call, or you need to speak to them; any excuse to get them away to safety. Alternatively, try distracting, or redirecting the situation.