General Motors made money in North America and Asia and lost a bundle in Europe as it nearly doubled last year’s fourth-quarter net profit.

But the numbers were complicated by a dizzying array of accounting gains and losses for tax credits and devaluation of European assets.