mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:58:37 +00:00
The package's GDK modules don't import xgameruntime.dll. libHttpClient.GDK.dll and XCurl.dll have no import entry for it, but both carry the wide string "xgameruntime.dll" and the names InitializeApiImpl[Ex|Ex2], QueryApiImpl and UninitializeApiImpl next to a statically linked XGameRuntimeInitialize: xgameruntime.lib's thunks LoadLibraryW the runtime and GetProcAddress those names. Bound to the host, that bypasses the offline shim. The executable is very likely built the same way. - library_loader.cpp: LoadLibrary*/GetModuleHandle*/GetProcAddress/FreeLibrary for kernel32, kernelbase and the api-ms-win-core-libraryloader sets. A module the registry owns (rt::shims::owns_dll) gets a pseudo-handle and GetProcAddress resolves through the registry; an unserved name is NULL with ERROR_PROC_NOT_FOUND. Every other module goes to the host. - xgameruntime.cpp: the five entry points, with the signatures and the unknown-class error documented by xodus-gaming/xgameruntime-docs (GPL-3.0, facts only). QueryApiImpl logs the class and interface ids and refuses them, so the first boot with the executable names the COM interfaces to implement. - xgameruntime_test drives the path through XCurl.dll's api-set binding; docs/runtime_imports.md records the measurement and the new dry-run counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>