diff options
| author | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 19:29:36 +0200 |
|---|---|---|
| committer | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 19:29:36 +0200 |
| commit | f98507c96886e9cc84809e4beed5fc066ea1177e (patch) | |
| tree | 810724c3fe416f64040737f7f30f4cb2f07e249c /internal_rewrite/begin_lock.cpp | |
| parent | 89d0110da2e65405fcbdac0e24f4fcc5cdce4c1c (diff) | |
gangsta shit
Diffstat (limited to 'internal_rewrite/begin_lock.cpp')
| -rw-r--r-- | internal_rewrite/begin_lock.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal_rewrite/begin_lock.cpp b/internal_rewrite/begin_lock.cpp index 49079cd..bbc00c8 100644 --- a/internal_rewrite/begin_lock.cpp +++ b/internal_rewrite/begin_lock.cpp @@ -12,11 +12,7 @@ void __fastcall hooks::begin_lock( void* ecx, void* edx ) { // THIS IS PROLLY NO // search "CL_CallPostDataUpdates: missing ent %d" in engine.dll.
// where framestagenotify gets called
-#ifdef HEADER_MODULE
- static auto ret_addr = g_header.patterns.begin_lock_retaddr;
-#else
static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "A1 ? ? ? ? B9 ? ? ? ? 6A 00 FF 50 18 8B 15 ? ? ? ?" );
-#endif
if( _ReturnAddress( ) == (void*)ret_addr ) {
g_ctx.m_stage = FRAME_NET_UPDATE_POSTDATAUPDATE_START;
|
