Probably either the magazine, or the indexing pawl which turns it, is damaged. Do you have any other magazines you can try?
The indexing pawl should be straight - can you see any wear to the corners?
If you open the slide and put a biro in the spindle hole it will allow you to dry fire with the chamber open (obviously de-gas it first) - is the indexing pawl moving up when you pull the trigger?