View Single Post
  #16  
10-17-2010, 11:56 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

Purely because thats the name of those doors, it loads "SLAM.BAN"? So I assume the name is slam door? Also the game seems to add the Id as the length to get to the next item/Id? Not checked but that's what the function is seems to be doing:

.text:004C9BF1 more_save_items:
.text:004C9BF1 xor eax, eax
.text:004C9BF3 push ebp
.text:004C9BF4 mov ax, [ebp+0] ; Type, 51 = mud, and so on
.text:004C9BF8 call dword_560C34[eax*4] ; Call the function using the id an index
.text:004C9BFF add ebp, eax ; ebp is index in save file data, eax is D8 for type 51, which is added to get to the next object
.text:004C9C01 add esp, 4
.text:004C9C04 cmp dword ptr [ebp+0], 0 ; Keep looping until we get to id of 0
.text:004C9C08 jnz short more_save_items

Here is the captured sizes too:


45 size = D8
51 size = 88
8F size = 18
63 size = 08
7A size = 08


Strange that 63 and 7A are the same.

Last edited by Paul; 10-17-2010 at 12:02 PM..
Reply With Quote