I really can't say without looking at the bike, but there are at least two possibilities.
1. Does your bike have a replaceable derailleur hanger. Most bikes with aluminum or carbon frames do. If that's the case, go to derailleur hangers dot com and try to find one that matches. Buy 2 so you won't have to wait for shipping the next time this happens.
2. Can you ride the bike the way that it is? I'm guessing not. If that's the case, what do you have to lose? The best way to tweak a derailleur hanger back into place is with a Park or similar gauge tool. Horror stories not-with-standing, I think that most hangers have one bend back in them. If it was my bike I'd try it. Matter of fact, when it was my bike I've done it.
Good luck.