We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21956d7 + 49d21c9 commit af19b60Copy full SHA for af19b60
1 file changed
src/hooks/hooks.cpp
@@ -69,11 +69,8 @@ void selaura::init_hooks() {
69
abi::mpf_to_fn(&ClientInstance::$ctor)
70
);*/
71
72
- auto begin = find_signature<"E8 ? ? ? ? 48 8B 4B ? 48 85 C9 74 ? 48 8B 01 48 8B D7 48 8B 40 ? FF 15 ? ? ? ? 90">();
73
- auto final_address = reinterpret_cast<uintptr_t>(begin) + 5 + *(int32_t *) (reinterpret_cast<uintptr_t>(begin) + 1);
74
-
75
ScreenView_setupAndRender_hk = safetyhook::create_inline(
76
- final_address,
+ find_signature<"48 89 5C 24 ? 55 56 57 41 54 41 55 41 56 41 57 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 0F 29 BC 24 ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 4C 8B FA">(),
77
abi::mpf_to_fn(&ScreenView::setupAndRender_hk)
78
);
79
}
0 commit comments