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 


AA complicated looking bracket contents? [eax+edx*4+7d]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
oyy5408
How do I cheat?
Reputation: 0

Joined: 28 Apr 2010
Posts: 9

PostPosted: Sun Oct 31, 2010 1:53 pm    Post subject: AA complicated looking bracket contents? [eax+edx*4+7d] Reply with quote

EAX=1E31D328
EBX=00000001
ECX=0000000A
EDX=00000002
ESI=1E31C3BC
EDI=00000002
EBP=1E314850
ESP=0018EF74
EIP=0043904F

Probable base pointer =1E31D328

00439045 - add eax,ecx
00439047 - mov ecx,[esp+0c]
0043904b - mov [eax+edx*4+7d],ecx
0043904f - ret 000c
00439052 - int 3

above is what showed up in the more information window.
I'm trying to find a pointer, and I'm not exactly sure how to find the pointer address for this situation.

I searched the forum but I couldn't find the answer.
I'd appreciate it if somebody could answer for me.
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25962
Location: The netherlands

PostPosted: Sun Oct 31, 2010 3:01 pm    Post subject: Reply with quote

base address is 1E31D328 and offset is 8+7d=85

of course, because eax is modified right before the instruction you most likely won't find anything. See if you can find the value of eax before it gets changed

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
oyy5408
How do I cheat?
Reputation: 0

Joined: 28 Apr 2010
Posts: 9

PostPosted: Tue Nov 02, 2010 12:04 am    Post subject: Reply with quote

ohh so finding the very first address in the bracket is NOT how it always works in finding a pointer i see.

I guess that's why it says 'probably' on the more information window.

Thanks, I learned something new today. : )
Back to top
View user's profile Send private message MSN Messenger
EaxUser
How do I cheat?
Reputation: 0

Joined: 03 Jan 2011
Posts: 2

PostPosted: Mon Jan 03, 2011 10:31 am    Post subject: Reply with quote

This Thread is exactly what im looking for.

I have a Problem to find a Pointer for this:

EAX=42C80000
EBX=00000000
ECX=05D2110C
EDX=05C94FD8
ESI=00000202
EDI=0012FA30
EBP=0012E8CC
ESP=0012E894
EIP=004595B4

Probable base pointer =42C80000

004595ab - mov ecx,[ebp-38]
004595ae - mov edx,[ecx+14]
004595b1 - mov eax,[edx+eax*4]
004595b4 - mov [ebp-08],eax
004595b7 - mov ecx,[ebp+0c]

So, im trying to Calculate this.
edx+eax*4[this is Offset]

42C80000*4=10B20000[Offset]
I think the 0's are not important, so the Offset is 10B2. Am i right?

Can i do with this Offset a Pointerscan and which Maximum Offset Value is required for this?
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Jan 03, 2011 10:37 am    Post subject: Reply with quote

No.

Your instruction is changing eax:

004595b1 - mov eax,[edx+eax*4]

And the register is logged AFTER Your instruction. Which means after [edx+eax*4] has been moved to eax.

Try to set a breakpoint on the code before Your code and You will see what is eax before Your code will run.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25962
Location: The netherlands

PostPosted: Mon Jan 03, 2011 11:12 am    Post subject: Reply with quote

or you can just calculate it yourself
You know what edx+eax*4 results into (the address you used find what accesses on)

so:
knownaddress=edx+eax*4
knownaddress-edx=eax*4
(knownaddress-edx) / 4 = eax

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Jan 03, 2011 11:14 am    Post subject: Reply with quote

Yeah, that's more logical. Smile
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
EaxUser
How do I cheat?
Reputation: 0

Joined: 03 Jan 2011
Posts: 2

PostPosted: Mon Jan 03, 2011 11:40 am    Post subject: Reply with quote

The Know Address is 05C94FF0 and Edx is 05C94FD8.

So, im trying again to calculate with Dark Bytes Formel.

05C94FF0-05C94FD8=18

18=eax*4
18/4=6[Hex]
eax=6

I think this one im right.
Offset what i need is then 18.

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