mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 00:10:43 +00:00
The static loader resolves InitializeApiImpl, InitializeApiImplEx, InitializeApiImplEx2, UninitializeApiImpl, QueryApiImpl, and XErrorReport with GetProcAddress. Those initialize entry points share the existing runtime refcount with XGameRuntimeInitialize and XGameRuntimeInitializeWithOptions. UninitializeApiImpl releases that same state. QueryApiImpl dispatches the offline families this DLL already implements and logs any other class or interface. XErrorReport records the code and message and does not terminate the process. Closes #439 Signed-off-by: devil8blade <360741796+devil8blade@users.noreply.github.com>