Stayhye
Senior Member
Maybe try to delete getEmuObject class to get rid of the AddVsyncHook which should avoid patching the memory every Vsync. In my opinion eeInsnReplace is a lot better command, because it replaces the specific opcode only. If the game does use multiple overlays, it will patch just the correct one.
patch=0 in the pnach file does patch the memory only once. I think the eeObj.WriteMem32 without the whole AddVsyncHook should be an equivalent to it.
eeInsnReplace is a lot harder to convert to from pnach for most of us. The middle address has to be hunted down manually to create working PS4 patch