alloc(newmem,2048,"DiabloImmortal.exe"+9B2AE9) 
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
push rax
mov rax,14B00AD0000
mov [rax],rdi
pop rax

movss xmm1,[rdi+7C]

exit:
jmp returnhere

"DiabloImmortal.exe"+9B2AE9:
jmp newmem
returnhere:

