The lender provides critical wholesale financing to thousands of GM and Chrysler auto dealers, allowing them to stock their showroom floors with vehicles. But GMAC also operates a large residential mortgage business, ResCap, which was battered by the …