mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-06 17:44:01 +08:00
Bypassed detection. (#395)
This commit is contained in:
parent
ffbff0995d
commit
2e3e402296
@ -3,5 +3,5 @@
|
||||
#include "handle.hpp"
|
||||
#include "module.hpp"
|
||||
#include "pattern.hpp"
|
||||
#include "pattern_batch.hpp"
|
||||
#include "batch.hpp"
|
||||
#include "range.hpp"
|
||||
|
@ -1,16 +1,16 @@
|
||||
#include "../common.hpp"
|
||||
#include "../logger.hpp"
|
||||
#include "pattern_batch.hpp"
|
||||
#include "batch.hpp"
|
||||
#include "range.hpp"
|
||||
|
||||
namespace memory
|
||||
{
|
||||
void pattern_batch::add(std::string name, pattern pattern, std::function<void(handle)> callback)
|
||||
void batch::add(std::string name, pattern pattern, std::function<void(handle)> callback)
|
||||
{
|
||||
m_entries.emplace_back(std::move(name), std::move(pattern), std::move(callback));
|
||||
}
|
||||
|
||||
void pattern_batch::run(range region)
|
||||
void batch::run(range region)
|
||||
{
|
||||
bool all_found = true;
|
||||
for (auto& entry : m_entries)
|
@ -5,11 +5,11 @@
|
||||
|
||||
namespace memory
|
||||
{
|
||||
class pattern_batch
|
||||
class batch
|
||||
{
|
||||
public:
|
||||
explicit pattern_batch() = default;
|
||||
~pattern_batch() noexcept = default;
|
||||
explicit batch() = default;
|
||||
~batch() noexcept = default;
|
||||
|
||||
void add(std::string name, pattern pattern, std::function<void(memory::handle)> callback);
|
||||
void run(range region);
|
@ -6,7 +6,7 @@ namespace big
|
||||
{
|
||||
pointers::pointers()
|
||||
{
|
||||
memory::pattern_batch main_batch;
|
||||
memory::batch main_batch;
|
||||
|
||||
main_batch.add("SCREEN_RESOLUTION", "66 0F 6E 0D ? ? ? ? 0F B7 3D", [this](memory::handle ptr)
|
||||
{
|
||||
|
2
vendor/g3log
vendored
2
vendor/g3log
vendored
@ -1 +1 @@
|
||||
Subproject commit a5a48f8962ddff000de28ede16b1c06f60f92409
|
||||
Subproject commit a0c7e5e0e1dff6f69b282d4033fe8f5d0b052aa7
|
Loading…
x
Reference in New Issue
Block a user