As of January 2018 , `` The Hobbit : The Desolation of Smaug '' , the second installment in the trilogy based on the 1937 novel The Hobbit by J. R. R. Tolkien , reached a gross of 258.37 million U.S. dollars in 3,928 cinemas across North America .