mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2024-12-22 14:47:24 +08:00
16 lines
695 B
C++
16 lines
695 B
C++
|
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);
|
||
|
}
|