| View previous topic :: View next topic |
| Author |
Message |
antan77 Newbie cheater
Reputation: 0
Joined: 04 Jan 2013 Posts: 13
|
Posted: Wed Jul 15, 2015 4:11 pm Post subject: JA BiA again, modify items in memory |
|
|
Hi,
i try to make a mod for Ja BiA. I want to modify some Items in memory. I found the BasePointer for the first weapon.
The items seems to be in the same list. For example, Weapons and Clothings are behind each other. The offset between these items is 0x80. BTW Weapons and Clothings are slight different, but the offset is the same(should be^^)
The problem is, that the list breaks up after a part of clothings. How these items are organized? Chunked? How can i find the next part? 1 Level before the 1 weapon pointer ends, i found a list which points to each item,but this list breaks up too.
Second question when i ve found theses items successfully, How cant i figure out when the list stops?
Hope somebody can help me
|
|
| Back to top |
|
 |
Daijobu Master Cheater
Reputation: 13
Joined: 05 Feb 2013 Posts: 301 Location: the Netherlands
|
Posted: Wed Jul 15, 2015 11:21 pm Post subject: |
|
|
If you've found the first item, that one is probably the first of the table.
If the items are 0x80 between find the entries before the first entry which will give you the length of the table and probably the amount of entries inside the table.
From that point on you should be able to get something like this (hypothetical):
TableStart+00 - Start
TableStart+04 - Table Size
TableStart+08 - Table Entries (e.g. 6)
TableStart+1*80 - Entry 1
TableStart+2*80 - Entry 2
etcetera
_________________
|
|
| Back to top |
|
 |
antan77 Newbie cheater
Reputation: 0
Joined: 04 Jan 2013 Posts: 13
|
Posted: Tue Jul 21, 2015 10:58 am Post subject: still no luck |
|
|
I digged a little bit deeper and tried to use the disassembler.
the loop which uses this items loads the address from the ESP register. How can i use the stackpointer to get the item addresses ?
|
|
| Back to top |
|
 |
|