It looks like it sits on the bottom of the lock case, the 22½° bend in the spring (as shown in the right of your photo) should face UP against the hub for the bolt. The bolt hub appears to have a teardrop shape that the little bend would interact with providing a detent function.
Any COMPETENT locksmith should be able to fashon new springs for the locks for not an arm or a leg. New ones would be advised as the rusty one is probably on it’s deathbed.
Hope this helps some, by the way, what area of the country are’ya?
.