https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #40 from João Ferreira devilj@outlook.pt --- Hello,
I've been experiencing a very similar bug since Wine 4.6, though I don't have a gamepad connected.
All of my games, including Sonic Mania, crash on RegisterDeviceNotificationA+0x21(), unless Gameoverlayrenderer is disabled in winecfg.
Tested on Arch Linux.
Check this backtrace for details: https://bugs.winehq.org/attachment.cgi?id=64321