https://bugs.winehq.org/show_bug.cgi?id=45080
--- Comment #9 from aphid.mmonly@gmail.com --- Here is what the msft apitrace tool reports:
env WINEPREFIX=/hdd/games_wine/steam/ wine /hdd/games_wine/steam/drive_c/Programs/apitrace-msvc/x64/bin/apitrace.exe dump Frostpunk.trace // process.name = "C:\steam\steamapps\common\Frostpunk\Frostpunk.exe" 0 D3D11CreateDevice(pAdapter = NULL, DriverType = D3D_DRIVER_TYPE_HARDWARE, Software = NULL, Flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT, pFeatureLevels = {D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_9_3, D3D_FEATURE_LEVEL_9_2, D3D_FEATURE_LEVEL_9_1}, FeatureLevels = 6, SDKVersion = 7, ppDevice = &0x252f100, pFeatureLevel = &D3D_FEATURE_LEVEL_11_0, ppImmediateContext = &0x252f130) = S_OK 1 ID3D11Device::AddRef(this = 0x252f100) = 3 2 ID3D11Device::QueryInterface(this = 0x252f100, riid = IID_IDXGIDevice2, ppvObj = ?) = E_NOINTERFACE
I've also tried to load debugging symbols for wine debugger and tried to use other debuggers, but to no avail; I can't manage to get the symbols loaded, so I can't help you with getting something more readable than assembler.
There just isn't any good resources available on how to properly debug wine dlls in 64-bit mode, e.g. attach unmangled names to function addresses.