Not sure what you mean by cash side /bonus side, but based on my understanding from what I read, bets are first considered to come from cash, and then bonus money. But you wagered everything so that is irrelevant.
Because you wagered the full bonus amount, you should be eligible to withdrawal everything you win. I think. I am trying to figure it out too.