Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- alloc(teleportmem,2048,FC64.dll)
- alloc(s_enable,4)
- alloc(l_enable,4)
- alloc(u_enable,4)
- registersymbol(s_enable)
- registersymbol(l_enable)
- registersymbol(u_enable)
- label(returnteleport)
- label(originalcodeteleport)
- label(exitteleport)
- registersymbol(z_coord)
- registersymbol(x_coord)
- registersymbol(y_coord)
- registersymbol(z_coord_undo)
- registersymbol(x_coord_undo)
- registersymbol(y_coord_undo)
- label(save_coord)
- label(load_coord)
- label(undo_coord)
- alloc(z_coord,4)
- alloc(x_coord,4)
- alloc(y_coord,4)
- alloc(z_coord_undo,4)
- alloc(x_coord_undo,4)
- alloc(y_coord_undo,4)
- teleportmem:
- cmp [s_enable],1
- je save_coord
- cmp [l_enable],1
- je load_coord
- cmp [u_enable],1
- je undo_coord
- jmp originalcodeteleport
- save_coord:
- mov [s_enable],0
- //push rdx
- movss xmm12,[rax+120]
- movss [x_coord],xmm12
- movss xmm12,[rax+124]
- movss [z_coord],xmm12
- movss xmm12,[rax+128]
- movss [y_coord],xmm12
- //pop rdx
- jmp originalcodeteleport
- load_coord:
- mov [l_enable],0
- cmp [z_coord],0
- je originalcodeteleport
- // Save actual Position (for UNDO TELEPORT) when press LOAD POSiTiON
- //push rdx
- movss xmm12,[rax+00000120]
- movss [x_coord_undo],xmm12
- movss xmm12,[rax+00000124]
- movss [z_coord_undo],xmm12
- movss xmm12,[rax+00000128]
- movss [y_coord_undo],xmm12
- //pop rdx
- // Save actual Position (for UNDO TELEPORT) when press LOAD POSiTiON
- //push rdx
- movss xmm12,[x_coord]
- movss [rax+00000120],xmm12
- movss xmm12,[z_coord]
- movss [rax+00000124],xmm12
- movss xmm12,[y_coord]
- movss [rax+00000128],xmm12
- //pop xmm12
- jmp originalcodeteleport
- undo_coord:
- mov [l_enable],0
- mov [s_enable],0
- mov [u_enable],0
- cmp [z_coord_undo],0
- je originalcodeteleport
- //push rdx
- movss xmm12,[x_coord_undo]
- movss [rax+00000120],xmm12
- movss xmm12,[z_coord_undo]
- movss [rax+00000124],xmm12
- movss xmm12,[y_coord_undo]
- movss [rax+00000128],xmm12
- //pop rdx
- originalcodeteleport:
- movaps xmm1,[rax+00000120]
- exitteleport:
- jmp returnteleport
- "FC64.dll"+1F352CE:
- jmp teleportmem
- nop
- nop
- returnteleport:
- x_coord:
- dd 0
- z_coord:
- dd 0
- y_coord:
- dd 0
- s_enable:
- dd 0
- l_enable:
- dd 0
- x_coord_undo:
- dd 0
- z_coord_undo:
- dd 0
- y_coord_undo:
- dd 0
- u_enable:
- dd 0
- //>>>--Teleport--//
- [DISABLE]
- Unregistersymbol(z_coord)
- Unregistersymbol(x_coord)
- Unregistersymbol(y_coord)
- Unregistersymbol(z_coord_undo)
- Unregistersymbol(x_coord_undo)
- Unregistersymbol(y_coord_undo)
- dealloc(z_coord)
- dealloc(x_coord)
- dealloc(y_coord)
- dealloc(z_coord_undo)
- dealloc(x_coord_undo)
- dealloc(y_coord_undo)
- dealloc(s_enable)
- dealloc(l_enable)
- dealloc(u_enable)
- dealloc(teleportmem)
- Unregistersymbol(s_enable)
- Unregistersymbol(l_enable)
- Unregistersymbol(u_enable)
- "FC64.dll"+1F352CE:
- movaps xmm1,[rax+00000120]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement