Souzooka How do I cheat? Reputation: 0
Joined: 08 Nov 2017 Posts: 2
|
Posted: Wed Nov 08, 2017 3:02 pm Post subject: How to use the address of a Linked List Node in a Cheat Tabl |
|
|
Hi, I'm trying to poke at an old game on PCSX2. I had been trying to find a solid pointer for the character position through the debugger, but had not been having much luck. I finally spent a while trying to figure out why and actually discovered that it's on a linked-list-like structure which seems to hold structs for some sort of dynamic game object.
I've have some code that traverses the linked list:
Code: |
currentblock = readInteger(0x2036C080) --read the pointer to the first block
while ((currentblock ~= 0) and (currentblock ~= nil)) do
print(readString(currentblock + 0x20000000))
currentblock=readInteger(currentblock + 0x20000024) --get next block
end
|
This also prints a label that each node has, for example:
Code: |
HEAD
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
NONAME
Quake
NONAME
Triangle
Triangle
Layer
NONAME
NONAME
Message
Window
Window
Window
Window
Window
Player
HumanSplash
NONAME
SingleDoor
NONAME
NONAME
Item
Item
Item
Item
Item
Item
Triangle
Triangle
Triangle
Triangle
Triangle
Triangle
NONAME
TaskWater
RainSplashRoot
NONAME
NONAME
View
NONAME
NONAME
NONAME
NONAME
NONAME
ROOT_DRAW
NONAME
COMPASSTASK
TAIL
|
I want to be able to get the address of any particular node (in this case, the Player node) and use its address in the Cheat Table if possible.
|
|