Support getting hook locations
This commit is contained in:
parent
eb4f66dae7
commit
62c5142b7a
@ -332,6 +332,11 @@ namespace utils::hook
|
||||
this->moved_data_ = move_hook(this->place_);
|
||||
}
|
||||
|
||||
void* detour::get_place() const
|
||||
{
|
||||
return this->place_;
|
||||
}
|
||||
|
||||
void* detour::get_original() const
|
||||
{
|
||||
return this->original_;
|
||||
|
@ -125,6 +125,8 @@ namespace utils::hook
|
||||
|
||||
void move();
|
||||
|
||||
void* get_place() const;
|
||||
|
||||
template <typename T>
|
||||
T* get() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user