Storm/Play_Footstep_Sound.hpp

16 lines
693 B
C++
Raw Permalink 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)
{
2024-10-07 03:45:39 +08:00
void* Prediction = (void*)((unsigned __int32)Client_Module + 8072728);
2024-04-04 03:17:09 +08:00
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);
}