Christina Applegate as Reagan, Will Arnett as Chris on “Up All Night.” (Trae Patton/NBC)

Another nail in the coffin of NBC’s “Up All Night”: Star Will Arnett has been cast to star in a new CBS comedy from “Raising Hope’s” Greg Garcia.

Arnett will play a recently divorced guy whose parents aren’t getting along, reports

Arnett is still contractually bound to “Up All Night” — CBS only gets him of “Up” is canceled.

“Up” is on a steep downhill path. Its ratings were very weak, but the network decided to have another crack at it, while turning it from a single camera comedy into a multi-cam sitcom with a live studio audience and laugh track. Not long thereafter, Arnett’s co-star Christina Applegate announced she was taking a powder.