Files
mandy/runtime/shims
ItsNotRexed 6312c057f8 xgameruntime: export XErrorReport, which XGameRuntimeInitialize requires
xgameruntime.lib's XGameRuntimeInitialize looks up "XErrorReport" with
GetProcAddress next to QueryApiImpl, the InitializeApiImpl* entries and
UninitializeApiImpl, and refuses to initialise when it is missing. In the
retail executable that is the lookup at +0x55e2b7e and the null check at
+0x55e2c08, after which boot stops at an int3 (+0x5a91c21).

The shim now exports XErrorReport(HRESULT, const char*) as a DLL export,
forwarding to the IXErrorImpl report it already served (callback, S_OK).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:34:37 -05:00
..