Replacing the S spring on Door Hinge...possible?

but then the pin and the S spring are upside down? good to know though.