summaryrefslogtreecommitdiff
path: root/internal_rewrite/hud_process_input.cpp
blob: 548d05f716165bf574501c7cd3723778596fee79 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "context.hpp"
#include "hooks.hpp"

void __fastcall hooks::hud_process_input( void* ecx_, void* edx_, bool active ) {
	static auto hud_update_o = g_csgo.m_chl->get_old_function< decltype( &hooks::hud_process_input ) >( 10 );

	//todo: hook hudupdate
	//g_csgo.m_prediction( )->SetLocalViewAngles( g_ctx.m_last_fakeangle );

	return hud_update_o( ecx_, 0, active );
}