This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/hooks/misc/task_jump_constructor.cpp
TheGreenBandit d87caaa6d7
Several feature additions (#889)
* Added Infinite Range
* Added Fill Ammo
* Added Aim Assist
* Added Hud Color Options
* Added Clear Wanted Level
* Added Health Regen
* curly brackets in invisibility
* Added hotkeys
* Improved Increased Damage
2023-03-13 21:10:21 +00:00

14 lines
276 B
C++

#include "hooking.hpp"
namespace big
{
void hooks::task_jump_constructor(std::uint64_t a1, int a2)
{
if (g.self.super_jump)
a2 |= 1 << 15;
if (g.self.beast_jump)
a2 |= (1 << 15) | (1 << 17);
return g_hooking->get_original<task_jump_constructor>()(a1, a2);
}
}