Let's say in this scenario:
Someone asked me for help to do certain thing. I gave a negative response. That person then asked for the reason. I responded with:
"Had you had asked me nicely ...."
What I meant to say was "If you had/have asked me nicely ..."
Question: Does the former have the same meaning as the later?
Edit: Just to make sure there are not any differences: My response was a statement, not a question to that person.