diff options
Diffstat (limited to 'internal_rewrite/simulate.cpp')
| -rw-r--r-- | internal_rewrite/simulate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal_rewrite/simulate.cpp b/internal_rewrite/simulate.cpp index 1c46221..fed0840 100644 --- a/internal_rewrite/simulate.cpp +++ b/internal_rewrite/simulate.cpp @@ -7,11 +7,7 @@ void __fastcall hooks::simulate( void* ecx, void* edx ) {
static auto simulate_o = g_csgo.m_engine_vgui->get_old_function< decltype( &hooks::simulate ) >( 39 );
-#ifdef HEADER_MODULE
- static auto ret_addr = g_header.patterns.simulate_retaddr - 0x81;
-#else
static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "8B CE 6A FF 8B 06", -0x81 );
-#endif
if( _ReturnAddress( ) == (void*)ret_addr ) {
g_ctx.m_stage = FRAME_RENDER_START;
|
