https://bugs.winehq.org/show_bug.cgi?id=44893
bugzilla@biechl.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@biechl.net
--- Comment #15 from bugzilla@biechl.net --- I can confirm the issue and that this patch works for me.
I remember that we had that trampoline issue quite a time ago already, which required a very similar patchset to make it work with wine. Here's the old patchset, I unfortunately cannot find the Bug report (it was for Fallout 4): https://github.com/hdmap/wine-hackery/tree/master/f4se
At some point it worked without, because I think the SKSE authors (actually I was playing Fallout 4 at that time, so it was FOSE) did change something. This still worked good to this day, as long as you don't side-load any other dll besides the Script Extender DLL.
Today I've added some more functionality to my game (Skyrim SE), and there are now additional dlls to be loaded by the Skyrim Script Extender (SKSE), which then fails with the trampoline issue.
The proposed fix, or simply assigning memory topdown, fixes it for me. I don't recall having any issues with these sorts of patches.