alloc(newmem,2048,"DiabloImmortal.exe"+6ADEA6) 
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
je DiabloImmortal.AK::WriteBytesMem::Size+2FA083
// mov rdx,[rdx]
// mov r8,[r14+10]
// mov rcx,r14
// cmp qword ptr [r14+18],10

exit:
jmp returnhere

"DiabloImmortal.exe"+6ADEA6:
jmp newmem
nop
returnhere:

