hotfix x64 calling convention and more prototypes

this fix a problem with BeaEngine and use the arg.mne as a workaround to detect register modifications. An email was sent to the original author of BeaEngine. Many undocumented function prototypes were added to the library list.