MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / ApplyFixScriptedAnimationCrash

Function ApplyFixScriptedAnimationCrash

src/Engine/Engine.cpp:1850–1859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1848}
1849
1850static void ApplyFixScriptedAnimationCrash()
1851{
1852 if (!FixScriptedAnimationCrash) return;
1853
1854 // Only happen on the first game
1855 if (g_State.CurrentFEARGame == FEAR)
1856 {
1857 HookHelper::ApplyHook((void*)(g_State.BaseAddress + 0x36F10), &GetSocketTransform_Hook, (LPVOID*)&GetSocketTransform, true);
1858 }
1859}
1860
1861static void ApplyFixKeyboardInputLanguage()
1862{

Callers 1

InitFunction · 0.85

Calls 1

ApplyHookFunction · 0.85

Tested by

no test coverage detected