I would chunk it, I bet your bike has a lot of clattering.
If you want to give it a shot, align the dropouts, align the hanger, reinstall rd examine the top pulley align that to the cogs, then attack the cage align to the cogs. In fixing bends I try to reverse engineer the bends.