2024-10-06 22:45:39 +03:00
|
|
|
__int32 Extra_Commands;
|
|
|
|
|
2025-01-02 21:10:02 +03:00
|
|
|
__int32 Chainsaw_Cycles;
|
|
|
|
|
2024-10-21 06:13:28 +03:00
|
|
|
void* Original_Move_Caller;
|
|
|
|
|
2024-10-06 22:45:39 +03:00
|
|
|
void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
|
|
|
{
|
2025-01-02 21:10:02 +03:00
|
|
|
void* Local_Player = *(void**)((unsigned __int32)Client_Module + 7498712);
|
|
|
|
|
2024-10-24 12:39:44 +03:00
|
|
|
using Run_Prediction_Type = void(__cdecl*)();
|
|
|
|
|
2025-01-02 21:10:02 +03:00
|
|
|
if (Local_Player != nullptr)
|
2024-10-06 22:45:39 +03:00
|
|
|
{
|
|
|
|
Redirected_Read_Packets(Final);
|
|
|
|
|
2025-02-02 16:29:39 +03:00
|
|
|
Local_Player = *(void**)((unsigned __int32)Client_Module + 7498712);
|
2024-10-08 04:41:25 +03:00
|
|
|
|
2025-02-02 16:29:39 +03:00
|
|
|
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
2024-10-08 04:41:25 +03:00
|
|
|
|
2025-02-02 16:29:39 +03:00
|
|
|
Redirected_Update_Animations();
|
2024-10-08 04:41:25 +03:00
|
|
|
|
2024-12-06 03:11:27 +03:00
|
|
|
using Fire_Events_Type = void(__cdecl*)();
|
|
|
|
|
|
|
|
Fire_Events_Type((unsigned __int32)Engine_Module + 521648)();
|
|
|
|
|
2025-04-13 02:12:55 +03:00
|
|
|
Update_Animation_Time = (*(Global_Variables_Structure**)((unsigned __int32)Client_Module + 7096744))->Time;
|
2024-10-08 04:41:25 +03:00
|
|
|
|
|
|
|
Update_Animation_Type = 1;
|
|
|
|
|
2025-02-02 16:29:39 +03:00
|
|
|
Redirected_Update_Animations();
|
2024-10-08 04:41:25 +03:00
|
|
|
|
|
|
|
Update_Animation_Type = 0;
|
2024-10-06 22:45:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Extra_Commands = -1;
|
|
|
|
|
|
|
|
Move_Label:
|
|
|
|
{
|
|
|
|
(decltype(&Redirected_Move)(Original_Move_Caller))(Unknown_Parameter, Final);
|
|
|
|
|
2024-10-24 12:39:44 +03:00
|
|
|
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
2024-10-08 04:41:25 +03:00
|
|
|
|
2025-01-02 21:10:02 +03:00
|
|
|
if (Local_Player != nullptr)
|
|
|
|
{
|
|
|
|
Chainsaw_Cycles += 1 + (Chainsaw_Cycles == 0);
|
|
|
|
|
|
|
|
static float Deploy_Time;
|
|
|
|
|
|
|
|
Chainsaw_Cycles *= *(float*)((unsigned __int32)Local_Player + 3872) == Deploy_Time;
|
|
|
|
|
|
|
|
Deploy_Time = *(float*)((unsigned __int32)Local_Player + 3872);
|
|
|
|
}
|
|
|
|
|
2024-10-06 22:45:39 +03:00
|
|
|
if (Extra_Commands > 0)
|
|
|
|
{
|
|
|
|
Extra_Commands -= 1;
|
|
|
|
|
|
|
|
goto Move_Label;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|