“My guess is that he cocked the gun, which chambered a round, and then removed the magazine”
Cooking a pistol does not chamber a round.
I remember a story about a cop that hid his duty weapon in the oven every night. Forgot about it and preheated the oven. Might have been a revolver, though.
It does if it's a Glock (or any other striker-fired clone).