|
|
|
|
|
by sudomakeup
2546 days ago
|
|
In the disassembly we can see a bunch of fine grained operations but the meaning behind them is opaque. For example, we see two array access operations but its not clear what they do. They might look like this: mov al, [array + ebx] Considering the assert statement from point 2:
"plr[myplr].InvGrid[i] <= plr[myplr]._pNumInv" From this we can see what the variables were named in the source code. Assuming "plr" = player and "InvGrid" = Inventory grid, we can deduce one the array access operations is to get the current player and another is for getting an item from the inventory grid. |
|