private void InstallJmp(X86Generator ingen, int hookoff) { _jmp.Clear(); _jmp.SetInstall(ingen.GetInstall()); _jmp.JumpR(_hook + hookoff); _jmp.WriteInstall(_mc2); }
private static int WriteHead(X86Generator gen, X86Generator ingen) { int res = gen.WriteGen(ingen); gen.JumpR(ingen.GetInstall() + ingen.GetCount()); return(res); }