You should have two image points on your sprite. The first, which started with the name of origin and you probably didn't change the name, is the 0 image point about which you rotate. The second image point (which we will name gun) is not located in the same place as the first, it is on the gun. You have to move the image point gun (or 1) to the gun.
when you create the bullet, create it on the gun image point, not the origin image point. It looks like you are still creating the bullet on the origin.
yours
winkr7