Storm/Play_Footstep_Sound.hpp

16 lines
695 B
C++
Raw Normal View History

2024-04-04 03:17:09 +08:00
void* Original_Play_Footstep_Sound_Caller;
void __thiscall Redirected_Play_Footstep_Sound(void* Unknown_Parameter_1, void* Unknown_Parameter_2, void* Unknown_Parameter_3, void* Unknown_Parameter_4, void* Unknown_Parameter_5, void* Unknown_Parameter_6)
{
void* Prediction = *(void**)((unsigned __int32)Engine_Module + 5171076);
if (*(__int8*)((unsigned __int32)Prediction + 8) == 1)
{
if (*(__int8*)((unsigned __int32)Prediction + 24) == 0)
{
return;
}
}
(decltype(&Redirected_Play_Footstep_Sound)(Original_Play_Footstep_Sound_Caller))(Unknown_Parameter_1, Unknown_Parameter_2, Unknown_Parameter_3, Unknown_Parameter_4, Unknown_Parameter_5, Unknown_Parameter_6);
}