File Details
ra_EasyThirdPerson_v1-0.zip
- R
- May 24, 2026
- 229.72 KB
- 963
- Early Access 1 - Release
File Name
ra_EasyThirdPerson_v1-0.zip
Supported Versions
- Early Access 1 - Release
Release version of the mod.
DLL is for the IMGUI hook into the settings to create a seamless and easy user modification experience.
Third person logic occurs entirely in the Lua.
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 |