You are not logged in.
Pages: 1
Hello,
I have a problem when use 05DF:write_memory to write -1 in Vice City.
This is the code i used:
05DF: write_memory 0@ size 4 value 0xFFFFFFFF virtual_protect 0
but when i compiled it, '0xFFFFFFFF' became '04 FF', and it wrote only one byte in the memory.
So i changed the code:
2@ = -1 05DF: write_memory 0@ size 4 value 2@ virtual_protect 0
it works. but is there any other solutions?
Offline
Did you try?
05DF: write_memory 0@ size 4 value -1 virtual_protect 0
Offline
Did you try?
05DF: write_memory 0@ size 4 value -1 virtual_protect 0
i did but it didn't work
Offline
Offline
What's the value of 0@?
it's a buffer in the cs file.
i think it is because of an unsigned extension (movzx)
Offline
Pages: 1