nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Thu Mar 16, 2017 3:21 am Post subject: Push RDX crashing script |
|
|
Hey guys,
This was my code before:
Code: |
push rax
push rcx
xor rcx,rcx
mov rax,myarray
myloop:
cmp [rax+rcx*8],rbx
je endloop
...
pop rax
pop rcx
|
I wanted to use another register so all I did was add in push rdx, xor rdx,rdx and popped at the end so now it looks like this:
Code: |
push rax
push rcx
xor rcx,rcx
push rdx
xor rdx,rdx
mov rax,myarray
myloop:
cmp [rax+rcx*8],rbx
je endloop
...
pop rax
pop rcx
pop rdx
|
I didn't even use it yet and this is crashing the game just adding those 3 lines, any ideas why? RDX I want to use as a pointer, but I haven't even wrote that part yet and it's crashing.
Thanks
|
|