File Details
ra_TheGoldMod_v0.12.zip
- R
- May 27, 2026
- 257.78 KB
- 459
- Early Access 1 - Release
File Name
ra_TheGoldMod_v0.12.zip
Supported Versions
- Early Access 1 - Release
Release version of The Gold Mod. All functions are there, but some bugfixes need to be made as well as the blueprint / more gameplay integrated sections of the mod.
DLL is for the IMGUI hook into the settings to create a seamless and easy user modification experience.
Explanation of DLL
CreateToolhelp32Snapshot, SuspendThread, SetThreadContext
Source: MinHook (src/hook.c; the Freeze/Unfreeze functions).
When MinHook installs or removes a vtable hook, it must patch memory safely. The standard technique:
CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD); enumerate every thread in the processSuspendThreadeach thread that isn't the current oneSetThreadContexton each suspended thread; if a thread's instruction pointer is sitting inside the bytes being patched, it gets nudged to a safe location- Patch the memory
ResumeThreadeverything
This is textbook safe-hooking and is documented in MinHook's own source. Every hooking library (Detours, PolyHook, MinHook) does some version of this. It only runs at hook install/uninstall time, not per-frame.
ShellExecuteW
Source: UE4SS.lib (the static library we link against), not the code. dllmain.cpp has zero calls to it. You can verify: search the source for ShellExecute; it isn't there. The static lib pulls it in transitively, likely for UE4SS's own logging/crash-handler path that opens a file browser or URL on fatal errors.
Summary
| API | Source | Code calls it? | When |
|---|---|---|---|
CreateToolhelp32Snapshot |
MinHook | No; MinHook internal | Hook install only |
SuspendThread |
MinHook | No; MinHook internal | Hook install only |
SetThreadContext |
MinHook | No; MinHook internal | Hook install only |
ShellExecuteW |
UE4SS.lib (transitive) | No | Never from code |