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 


[C+] asm

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

Joined: 08 Aug 2006
Posts: 929

PostPosted: Tue Nov 27, 2007 9:28 pm    Post subject: [C+] asm Reply with quote

How do i write asm to a process without injecting the console applicatin into it. Ie, have a standalone console and have it write to the process.
Back to top
View user's profile Send private message AIM Address MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Nov 27, 2007 9:31 pm    Post subject: Reply with quote

__asm
{

}

_________________
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Nov 27, 2007 9:31 pm    Post subject: Reply with quote

With WriteProcessMemory()...

Why is this question always asked. Confused
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Nov 27, 2007 9:35 pm    Post subject: Reply with quote

oh i misread, i thought he meant how to put asm in his project.

My bad.

What Flyte said.

_________________
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Tue Nov 27, 2007 9:36 pm    Post subject: Reply with quote

ok wait, not that, look.
My console is standlaone. I want it to put things and get things off of eax as an example. But i want to do this to a process, without writeprocessmemory.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Nov 27, 2007 9:46 pm    Post subject: Reply with quote

slippppppppp wrote:
ok wait, not that, look.
My console is standlaone. I want it to put things and get things off of eax as an example. But i want to do this to a process, without writeprocessmemory.


Oh, you mean you want to dump the registers?

Link to the the process as a debugger, stick an interrupt on the address you want to dump, then use GetThreadContext();.
Back to top
View user's profile Send private message
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Wed Nov 28, 2007 2:21 am    Post subject: Reply with quote

One of the easiest ways of doing this is calling the function of the process that changes eax or reads it then get/change the value.
[code]
DWORD address = 0x456432;
DWORD temp = 0;

[Getting eax]
__asm
{
call address;
mov temp, eax;
}

[Changing eax]
__asm
{
mov eax, 0xff;
call address;
}
[code]
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 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