From 215818ddedc02be3a1a5c2be3912abdbcd29dd72 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 9 Sep 2018 18:28:04 +0200 Subject: detours etc --- internal_rewrite/simulate.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal_rewrite/simulate.cpp') diff --git a/internal_rewrite/simulate.cpp b/internal_rewrite/simulate.cpp index 6404a1c..28ec687 100644 --- a/internal_rewrite/simulate.cpp +++ b/internal_rewrite/simulate.cpp @@ -5,8 +5,6 @@ #include "context.hpp" void __fastcall hooks::simulate( void* ecx, void* edx ) { - static auto simulate_o = g_csgo.m_engine_vgui->get_old_function< decltype( &hooks::simulate ) >( 39 ); - static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "8B CE 6A FF 8B 06", -0x81 ); if( _ReturnAddress( ) == (void*)ret_addr ) { -- cgit v1.2.3