| View previous topic :: View next topic |
| Author |
Message |
magma101 How do I cheat?
Reputation: 0
Joined: 21 Jun 2016 Posts: 1
|
Posted: Tue Jun 21, 2016 10:36 am Post subject: Search for two adjacent pointers to same value |
|
|
I wanna search for two adjacent pointers that point to the same value, but not the same address. Is there a builtin tool in CE to do it?
For instance:
| Code: | (long *)0x00000001 -> 0x00000009 = 123
(long *)0x00000005 -> 0x0000000D = 123 |
|
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Tue Jun 21, 2016 10:58 am Post subject: |
|
|
| Do a pointerscan for each of the two addresses.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Tue Jun 21, 2016 11:38 am Post subject: |
|
|
Not really.
at best a customtype that dereferences pointers and use that in a groupscan (slow)
| Code: |
--Note: keep the function base name unique.
typename="32-bit Pointer type" --shown as the typename in ce
bytecount=4 --number of bytes of this type
functionbasename="customvaluetype"
function customvaluetype_bytestovalue(b1,b2,b3,b4,address)
--Add extra byte parameters as required
local v=byteTableToDword({b1,b2,b3,b4})
return readInteger(v)
end
function customvaluetype_valuetobytes(i,address)
error('not implemented')
end
return typename,bytecount,functionbasename
|
with groupscan:
| Code: |
c(32-bit Pointer type):123 c(32-bit Pointer type):123
|
(if it's a 64-bit target, adjust the custom type accordingly)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|