No, I don't think you've got it right. Your use of the term "bank overdraft account" is what is causing some confusion. A usual or common bank account for me is an asset account on my balance sheet. It's my cash account. Is this overdraft account an asset or a liability account on your balance sheet? If it is an asset account and you are withdrawing money from it, then you would credit the overdraft account and debit the other bank account.
But if the overdraft account represents money that you are borrowing from the bank to put into your cash account, then it should not be on your balance sheet as an asset account. It should be a liability account because it represents money that you have to pay back.
Anytime you deposit cash, it is a debit entry. And anytime you withdraw cash, it is a credit entry. Start with the cash side of the transaction, that should then guide you with the other side of the transaction.