mirror of
https://gitgud.io/yuv420p10le/plexmediaserver_crack
synced 2025-07-04 16:34:47 +00:00
Oops.. fixed explicit hook on v8395.
This commit is contained in:
parent
735bec04bd
commit
c89c3cc7bf
Binary file not shown.
Binary file not shown.
@ -348,9 +348,9 @@ bool process_feature(const char* guid)
|
||||
return false;
|
||||
}
|
||||
|
||||
uint64_t hook_is_feature_available(uintptr_t user, const char* feature)
|
||||
uint64_t hook_is_feature_available(uintptr_t user, const char** feature)
|
||||
{
|
||||
if(process_feature(feature))
|
||||
if(process_feature(*feature))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,6 +9,6 @@ std::optional<std::tuple<uintptr_t, uintptr_t>> get_dottext_info();
|
||||
std::optional<uintptr_t> create_hook(uintptr_t from, uintptr_t to);
|
||||
std::optional<uintptr_t> sig_scan(const uintptr_t start, const uintptr_t end, std::string_view pattern);
|
||||
uintptr_t follow_call_rel32(const uintptr_t address);
|
||||
uint64_t hook_is_feature_available(uintptr_t rcx, const char* guid);
|
||||
uint64_t hook_is_feature_available(uintptr_t rcx, const char** guid);
|
||||
uint64_t* hook_map_find(uintptr_t* rcx, const char** str);
|
||||
void hook();
|
||||
|
@ -366,9 +366,9 @@ bool process_feature(const char* guid, [[maybe_unused]] uintptr_t caller)
|
||||
return false;
|
||||
}
|
||||
|
||||
uint64_t hook_is_feature_available(uintptr_t user, const char* feature)
|
||||
uint64_t hook_is_feature_available(uintptr_t user, const char** feature)
|
||||
{
|
||||
if(process_feature(feature, reinterpret_cast<uintptr_t>(_ReturnAddress()) - get_current_process_handle()))
|
||||
if(process_feature(*feature, reinterpret_cast<uintptr_t>(_ReturnAddress()) - get_current_process_handle()))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ public:
|
||||
uintptr_t get_current_process_handle();
|
||||
std::optional<std::tuple<uintptr_t, uintptr_t>> get_section_info(std::string_view name);
|
||||
std::optional<uintptr_t> sig_scan(const uintptr_t start, const uintptr_t end, std::string_view pattern);
|
||||
uint64_t hook_is_feature_available(uintptr_t rcx, const char* guid);
|
||||
uint64_t hook_is_feature_available(uintptr_t rcx, const char** guid);
|
||||
uint64_t* hook_map_find(uintptr_t* rcx, uintptr_t rdx, const char** str);
|
||||
FeatureManager* hook_feature_manager_init(FeatureManager* rcx);
|
||||
void hook();
|
||||
|
Loading…
x
Reference in New Issue
Block a user