Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Question]Hooking func without memory editing

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Wed Dec 27, 2006 7:04 am    Post subject: [Question]Hooking func without memory editing Reply with quote

Let's say we have that code in our process memory
Code:

PUSH ECX
LEA ECX,DWORD PTR DS:[EAX+380]
CALL 00427B20

And i want to hook the function being called from a injected dll without editing it's memory (because of crc32 checks)

The code i maded to replace it's function is something like that
Code:

void somefunc() {
   const char* lpcLine;
   //Get the parameter
   __asm
   {
      push esi
      mov esi, dword ptr ds:[ecx]
      mov [lpcLine], esi
      pop esi
   }
<other codes>
}

So as the topic's title how do i hook it without making the crc32 check know it has been hooked?

_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
mahajarama
Advanced Cheater
Reputation: 0

Joined: 28 Dec 2006
Posts: 97

PostPosted: Thu Dec 28, 2006 4:43 pm    Post subject: Reply with quote

Is hooking it even possible?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites