A man was robbed, shot and pistol-whipped in a dice game gone wrong in the Bronx — and the vicious beatdown was all caught on video.

Jarring video obtained by The Post shows one of the men pull a gun, then blast the 25-year-old victim in the arm. The victim falls to the ground, spilling cash all over the sidewalk in the early Wednesday incident near Cruger Avenue and Pelham Parkway South.

But blasting the man wasn’t enough for the gunman, who stands over the victim and fires off another shot before picking up the cash and stuffing it into his pockets.

The assailant then slams his gun into the downed man repeatedly before fleeing.

The unnamed victim is reported to be in stable condition. No arrests have been made, police said.