Sounds like you have a dead headed hydraulic pump and a blow seal on the pump.
The engine having issues will not affect the hydraulic system, but the hydraulic system will affect the engine.
Check the oil level in the engine, if it's up, there is your issue.
Check the vent pipe coming off the valve cover if have a pressure issue that vent pipe is plugged.
View attachment 152859