Big profits from trucks and SUVs helped General Motors overcome a sales slowdown in China, economic problems in Venezuela and payments to ignition switch crash victims as the automaker's second-quarter net income rose sixfold to nearly $1.12 billion.