WIP: stdcall name mangling

ref #7375