E. Stanley O’Neal, the former chief executive of Merrill Lynch, was paid $46 million in 2006, $18.5 million of it in cash.

But Merrill’s record earnings in 2006 — $7.5 billion — turned out to be a mirage. The company has since lost three times that amount, largely because the mortgage investments that supposedly had powered some of those profits plunged in value.

Unlike the earnings, however, the bonuses have not been reversed.

As regulators and shareholders sift through the rubble of the financial crisis, questions are being asked about what role lavish bonuses played in the debacle.

For Wall Street, much of this decade represented a new Gilded Age. Salaries were merely play money — a pittance compared to bonuses. Bonus season became an annual celebration of the riches to be had in the markets. That was especially so in the New York area, where nearly $1 out of every $4 that companies paid employees last year went to someone in the financial industry. Bankers celebrated with five-figure dinners, vied to outspend each other at charity auctions and spent their newfound fortunes on new homes, cars and art.

More than 100 people in Merrill’s bond unit alone broke the million-dollar mark in 2006. Goldman Sachs paid more than $20 million apiece to more than 50 people that year, according to a person familiar with the matter.