https://bugs.winehq.org/show_bug.cgi?id=46142
--- Comment #17 from Ivan Kalvachev iive@yahoo.com --- (In reply to Zebediah Figura from comment #16)
Your patch does not add HOTPATCH to all the functions. That should be done too.
Has that been established?
As I've said, I've seen this in the Steam/GameOverlayRenderer.log : --- Sat Nov 17 01:59:55 2018 UTC - hookDirect3DCreate9 called Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputEnable Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetBatteryInformation Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetCapabilities Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetDSoundAudioDeviceGuids Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetKeystroke Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetState Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputGetStateEX Version 13 Sat Nov 17 01:59:56 2018 UTC - XInput Hooked XInputSetState Version 13 Sat Nov 17 01:59:58 2018 UTC - Game is using dxgi (dx10/dx11), preparing to hook. ---
Maybe steam hook engine is smart enough to handle what my current compiler generates, but there is no guarantee that this will be valid for all (current and future) compilers.