From 12c25f07dd6d3ddb34128e735a5d506866a9d5ac Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Sat, 7 Oct 2023 20:24:52 -0700 Subject: [PATCH] fix: add vr offset for llf hook --- src/Features/LightLimitFix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/LightLimitFix.h b/src/Features/LightLimitFix.h index c3db15202..e079f855d 100644 --- a/src/Features/LightLimitFix.h +++ b/src/Features/LightLimitFix.h @@ -287,7 +287,7 @@ struct LightLimitFix : Feature logger::info("[LLF] Installed hooks"); - stl::write_thunk_call(REL::RelocationID(100565, 107300).address() + REL::Relocate(0x523, 0xB0E)); + stl::write_thunk_call(REL::RelocationID(100565, 107300).address() + REL::Relocate(0x523, 0xB0E, 0x5fe)); } }; };