mirror of
https://gitgud.io/yuv420p10le/plexmediaserver_crack
synced 2025-07-04 16:34:47 +00:00

* Now works with v1.40.3.8555 (inlined) and older versions too. * Added a whitelist of features now rather than a global-enable. * Refactored some code to use std::optional. * Linux: Wrote proper hooking function. No unhooking support as it's unneeded. * Windows: Now uses SafetyHook as we need trampolines. * Windows: When building for debug, you can see queried features and their caller (return address offset from PMS base address); reverse on your own or query me.
15 lines
525 B
C++
15 lines
525 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <tuple>
|
|
#include <optional>
|
|
|
|
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_map_find(uintptr_t* rcx, const char** str);
|
|
void hook();
|