try to do ctg teleport cheat
but game crash
did i miss sothing?
Code: Select all
alloc(newmem,$1000,"FC64.dll"+1F352BE)
alloc(my_thing,256)
label(load)
label(en_save)
label(en_load)
label(save)
label(z_cho)
label(x_cho)
label(y_cho)
label(code)
label(return)
registersymbol(en_save)
registersymbol(en_load)
my_thing:
z_cho: //120
dd (float)0
x_cho: // 124
dd (float)0
y_cho: // 128
dd (float)0
en_save:
dd 0
en_load:
dd 0
newmem:
cmp [en_save],1
je save
cmp [en_load],1
je load
jmp code
save:
mov [en_save],0
push rbx
mov rbx,[rax+120]
mov [z_cho],rbx
mov rbx,[rax+124]
mov [x_cho],rbx
mov rbx,[rax+128]
mov [y_cho],rbx
pop rbx
jmp code
load:
mov [en_load],0
push rbx
mov rbx,[z_cho]
mov [rax+120],rbx
mov rbx,[x_cho]
mov [rax+124],rbx
mov rbx,[y_cho]
mov [rax+128],rbx
pop rbx
jmp code
code:
movaps xmm1,[rax+120]
jmp return
teleport:
jmp newmem
nop
nop
return:
registersymbol(teleport)
[DISABLE]
teleport:
db 0F 28 88 20 01 00 00
unregistersymbol(en_save)
unregistersymbol(en_load)
unregistersymbol(teleport)
dealloc(my_thing)
dealloc(newmem)