None of them are right.
You can't ask the father how he would have reacted if it had been his son's friend by pretending that his son's friend was his son. If the father did it to his son, and you were his son, then wouldn't he have reacted in the same way to you?
"If I had done what he did, how would you have reacted?"
Student or Learner