Getting from TJump to TMethod.Code...



Is it possible to somehow translate TJump record to TMethod.Code,
TJump being the following:

TJump = packed record
  OpCode: Byte;
  Distance: Pointer;
end;

In case the question makes no sense - I'm trying to patch a specific
method of a specific class, but I want to be able to call the original
method from inside the patched one. I know I could probably write an
asm block with a jmp instruction but I'd like to avoid it, because the
method in question receives multiple parameters and I don't want to
mess with registers and stack manually if not absolutely necessary.

Regards,
Aleksander Oven
.