Fixes the scrThreadId pattern for the Steam version. Instead of fetching scrThreadId directly, this is scanning for a pattern with a reference to a global variable right above and fetching the scrThreadId instance using an offset. I have tested it with Steam 2628 and EGS 2628/2612, couldn't test 2545 as it crashes even with an unmodified mod build.
Fixes the scrThreadId pattern for the Steam version. Instead of fetching scrThreadId directly, this is scanning for a pattern with a reference to a global variable right above and fetching the scrThreadId instance using an offset. I have tested it with Steam 2628 and EGS 2628/2612, couldn't test 2545 as it crashes even with an unmodified mod build.