Bypassed detection. (#395)

This commit is contained in:
aa15032261 2022-08-07 20:15:09 +08:00 committed by GitHub
parent ffbff0995d
commit 2e3e402296
5 changed files with 9 additions and 9 deletions

View File

@ -3,5 +3,5 @@
#include "handle.hpp"
#include "module.hpp"
#include "pattern.hpp"
#include "pattern_batch.hpp"
#include "batch.hpp"
#include "range.hpp"

View File

@ -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)

View File

@ -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);

View File

@ -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

@ -1 +1 @@
Subproject commit a5a48f8962ddff000de28ede16b1c06f60f92409
Subproject commit a0c7e5e0e1dff6f69b282d4033fe8f5d0b052aa7