File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ void Patch_CEG()
4949 Detours::X86::DetourFunction ((PBYTE)0x8EF04F , (PBYTE)&hk_inline_memcpy);
5050 Detours::X86::DetourFunction ((PBYTE)0x8EF168 , (PBYTE)&hk_inline_memcpy2);
5151
52+ Detours::X86::DetourFunction ((PBYTE)0x8EE640 , (PBYTE)&sub_8EE640);
53+
5254 FixupFunction (0x0060CC10 , 0x004F20F0 );// CEGObfuscate<LiveStats_Init> => LiveStats_Init
5355 FixupFunction (0x00580460 , 0x0079E6D0 );// CEGObfuscate<Con_Restricted_SetLists> => Con_Restricted_SetLists
5456}
@@ -119,6 +121,15 @@ void __declspec(naked) hk_inline_memcpy2()
119121 }
120122}
121123
124+ void *sub_8EE640 (void *Nullptr1, void *Nullptr2)
125+ {
126+ if (Nullptr1 != nullptr || Nullptr2 != nullptr )
127+ __debugbreak ();
128+
129+ *(void **)0xBA1C24 = Nullptr2;
130+ return (void *)0xBA1C24 ;
131+ }
132+
122133void __fastcall sub_5CBF00 (void *thisptr, PVOID _EDX, DWORD address, size_t scanSize)
123134{
124135 DWORD dwNew = GetNewAddress (address);
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ void hk_inline_memcpy();
66void hk_inline_memcpy2 ();
77void * hk_memcpy (void * dest , const void * src , size_t size );
88
9+ void * sub_8EE640 (void * Nullptr1 , void * Nullptr2 );
10+
911void __fastcall sub_5CBF00 (void * thisptr , PVOID _EDX , DWORD address , size_t scanSize );
1012void __fastcall sub_661450 (void * thisptr , PVOID _EDX , DWORD address , size_t scanSize );
1113void __fastcall sub_4E9880 (void * thisptr , PVOID _EDX , DWORD address , size_t scanSize );
You can’t perform that action at this time.
0 commit comments