For fix need replace this code:
Code link
To:
else if (hs.opcode == 0xE8) {
std::uintptr_t call_destination = detail::restore_absolute_address(current_address, hs.imm.imm32, hs.len);
call.operand = detail::get_relative_address(
call_destination, reinterpret_cast<std::uintptr_t>(trampoline_gen->getCurr()), sizeof(call));
op_copy_src = &call;
op_copy_size = sizeof(call);
}
For fix need replace this code:
Code link
To: