Sup, FEFTwiddler (Fire Emblem Fates save editor) guy here.
As has basically been said already, a save editor is just a specialized hex editor. Basically, it's the same process as hex editing a save manually (figure out where values go, figure out which values to use), but you have to program in...