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 


Accessing the stack of another thread??? possible??

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

Joined: 14 Feb 2007
Posts: 401
Location: Inside your <kernel>

PostPosted: Thu Feb 14, 2008 4:30 pm    Post subject: Accessing the stack of another thread??? possible?? Reply with quote

Hi! this may seem like a silly question, but I'm just wondering if its possible..

ok say theres a thread, which stores values on the stack that contain hp/mp/exp values...

I could hook the address where the values are on the stack, but it would require a CRC bypass...

is there anyway from a created thread, to access those values on the other thread?

address is : 0x00683959

usually I would hook that address to make it call MinimizedPotting then make it jmp to 0x00683BF2, the address that it originally called

how can I read those values without hooking 683959? I understand each thread has its own stack... im just wondering if its possible to access another threads stack!

thx Smile

Code:

void __declspec(naked) MinimizedPotting()
{
  __asm {
   mov eax, [esp+4]
   mov [currenthp],eax
   mov eax, [esp+8]
   mov [maxhp],eax
   mov eax, [esp+0x0C]
   mov [currentmp],eax
   mov eax,[esp+0x10]
   mov [maxmp],eax
   mov eax, [esp+0x14]
   mov [currentexp],eax
   mov eax,[esp+0x18]
   mov [maxexp],eax

   jmp dword ptr [StatCALL]

  }
}

_________________
You know, life moves pretty fast. If you don't stop and look around once in a while, You could miss it!

Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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