SAN FRANCISCO (AP) — Stephen Curry scored 37 points, including Golden State's final 12, to rally the Warriors past Klay Thompson and the Dallas Mavericks 120-117 on Tuesday night in an NBA Cup game.