diff options
| author | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 16:50:50 +0200 |
|---|---|---|
| committer | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 16:50:50 +0200 |
| commit | aeef9e6d8241b4f7451a26f5af9645c1a6e5c4d9 (patch) | |
| tree | c8432c0f0495207ecd072ebcc286cdbd9cf6cb31 /internal_rewrite | |
| parent | 30485d2a5eb12048ebf935b02cbb048da535670c (diff) | |
we dont scan engine oops
Diffstat (limited to 'internal_rewrite')
| -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;
|
