From Egyptian Secrets of Albertus Magnus, Joseph H. Peterson edition:
When a Rifle or Shot Gun is Bewitched.
Take five cents' worth of liquid amber, asafetida, river water, and mix well together. With the mixture clean well, and the rag, with which the scouring was done, hang up in the smoke, or put in a new-made grave.
The grimoires The Book of Forbidden Knowledge Egyptian Secrets of Albertus Magnus lists this spell.