NEW YORK — Stephen Curry broke out of a shooting slump with 31 points and moved into the top 10 on the NBA’s career 3-point list, and the Golden State Warriors bounced back from consecutive losses to beat the New York Knicks 112-105 on Sunday.

Klay Thompson added 29 points to help the Warriors end their first regular-season losing streak in nearly two years.

The Splash Brothers had dried up as Golden State dropped two in row following Kevin Durant’s knee injury, but they regained their touch Sunday. Curry hit five 3-pointers, passing Chauncey Billups for 10th place, and added eight rebounds and six assists.

Derrick Rose scored 28 points, and Kristaps Porzingis had 24 points and 15 rebounds for the Knicks.

WIZARDS 115, MAGIC 114: Bojan Bogdanovic scored 15 of his 27 points in the fourth quarter and made a career-high eight 3-pointers as Washington came back from 17 down to win at home.

Bradley Beal led Washington with 32 points, and John Wall had 19 points and 10 assists as the third-place Wizards moved a game ahead of Toronto in the Eastern Conference standings.

Otto Porter scored 11 points, and more importantly spotted Bogdanovic in the corner for his final 3 to give the Wizards the lead for good with 48.6 seconds left.

PACERS 97, HAWKS 96: Glenn Robinson III hit a 3-pointer with sixth-tenths of a second remaining, Paul George scored 34 points and Indiana rallied in the closing minutes to win at Atlanta.

Jeff Teague, in his first game back at Philips Arena after spending his first seven seasons with the Hawks, added 16 points and six assists.

Tim Hardaway Jr. finished with 24 points and Paul Millsap had 23 points and 10 rebounds for Atlanta, which has lost five of seven. Millsap’s 3-point attempt fell off the rim at the buzzer.

JAZZ 110, KINGS 109: Rudy Gobert tipped in George Hill’s missed jumper as time expired in overtime on a play that was initially ruled goaltending in a win for Utah at Sacramento,California.

After Willie Cauley-Stein made two free throws to give the Kings a 109-108 lead with 8.9 seconds remaining, Hill took an off-balance jumper from just outside of the key. Gobert, positioned underneath the hoop, reached up and tipped the ball in as the buzzer sounded.

One official initially called goaltending on Gobert. But after a meeting near midcourt, the referees went to the scorer’s table to review the play and counted the basket.

MAVERICKS 104, THUNDER 89: Seth Curry scored 22 points and Dirk Nowitzki had 18 points and 12 rebounds as Dallas won at home.

Russell Westbrook scored 29 for the Thunder after scoring more than 40 in each of his last four games.

NOTES

HAWKS: Atlanta claimed Jose Calderon off waivers to provide depth at point guard behind starter Dennis Schroder. Calderon, in his 12th season, will play for his sixth team in the last five years.

He averaged 3.3 points and 2.1 assists in 24 games this season before the Los Angeles Lakers bought out his contract last Monday.