Samsung has sailed to record quarterly profits — despite difficulties with its memory sales — as the company’s top-of-the-line smartphones smacked Apple and crushed HTC. Meanwhile, HTC’s earnings slipped in the face of strong competition. Samsung on Friday reported strong profit for its fourth quarter — $4.5 billion — beating analyst expectations by roughly 10 percent.