What does "Shift constant out of range 1..31" mean?
Posted: Tue Mar 09, 2010 12:53 am
I'm trying to find NPC ID so I can match them with coords and use the NPC and so on. I found the only info on the NPC i could think of and hat was it's X coord in game with cheat engine. I search the NPC x coords address in Olly and I came to this....
Whats does "Shift constant out of range 1..31" mean?
EDIT: This is both the X and Y coords for the NPC..
This is everything around it
Whats does "Shift constant out of range 1..31" mean?
Code: Select all
069A0543 C165 02 00 SHL DWORD PTR SS:[EBP+2],0 ; Shift constant out of range 1..31
EDIT: This is both the X and Y coords for the NPC..
Code: Select all
069A0543 C165 02 00 SHL DWORD PTR SS:[EBP+2],0 ; Shift constant out of range 1..31
069A0547 0042 02 ADD BYTE PTR DS:[EDX+2],AL
Code: Select all
069A053D 0000 ADD BYTE PTR DS:[EAX],AL
069A053F 0000 ADD BYTE PTR DS:[EAX],AL
069A0541 00F0 ADD AL,DH
069A0543 C165 02 00 SHL DWORD PTR SS:[EBP+2],0 ; Shift constant out of range 1..31
069A0547 0042 02 ADD BYTE PTR DS:[EDX+2],AL
069A054A 0000 ADD BYTE PTR DS:[EAX],AL
069A054C 0000 ADD BYTE PTR DS:[EAX],AL
069A054E 0000 ADD BYTE PTR DS:[EAX],AL
069A0550 D007 ROL BYTE PTR DS:[EDI],1
069A0552 0000 ADD BYTE PTR DS:[EAX],AL
069A0554 04 00 ADD AL,0
069A0556 0000 ADD BYTE PTR DS:[EAX],AL
069A0558 0000 ADD BYTE PTR DS:[EAX],AL