Do you understand what "bankruptcy" is? A court will decide how the limited resources will be split up across the current creditors. I doubt any judge would consider payments to a new creditor. And there is a defined pecking order for which creditors get paid first and how many cents on the dollar. Stock holders are at or near the bottom of that list.
This is the risk/reward situation for buying stock. I never heard of a class action suit against shareholders, for the company to get their gains back. One reason we talk about diversification so much, and mutual funds is to gain this diversity easily.
Good luck finding a lawyer to take a financial case against a bankrupt company. They will be
very concerned that there just will be no money
for you to pay their fees.
I think you'd have better luck with a magician than lawyers.
-ERD50