Gulf states , or rather their petrodollar-flush sovereign wealth funds , had earned a reputation for providing first aid to the ailing global banking system , taking stakes in once-revered names only to watch their value plummet .