feat(System): Added looped feature to disable sigscanner

fixes #180
This commit is contained in:
Yimura 2022-05-08 18:31:36 +02:00
parent 31124cbf28
commit 0fc1bf6a1b
5 changed files with 22 additions and 1 deletions

View File

@ -10,6 +10,7 @@ namespace big
void backend::loop()
{
g->attempt_save();
looped::system_anticheat_bypass();
looped::system_self_globals();
looped::system_update_pointers();

View File

@ -31,7 +31,8 @@ namespace big
static void self_super_run();
static void session_local_time();
static void system_anticheat_bypass();
static void system_self_globals();
static void system_update_pointers();

View File

@ -0,0 +1,11 @@
#include "pointers.hpp"
#include "backend/looped/looped.hpp"
namespace big
{
// reference: https://github.com/Yimura/YimMenu/issues/180
void looped::system_anticheat_bypass()
{
*g_pointers->m_some_anticheat_thing = 0;
}
}

View File

@ -254,6 +254,12 @@ namespace big
{
m_net_array_handler = ptr.sub(0x3C).as<PVOID>();
});
// Some Anticheat Thing
main_batch.add("SAT", "89 05 ? ? ? ? 48 8D 05 ? ? ? ? 48 6B DB 38 48 03 D8", [this](memory::handle ptr)
{
m_some_anticheat_thing = ptr.add(2).rip().add(0x14).as<std::uint16_t*>();
});
main_batch.run(memory::module(nullptr));

View File

@ -44,6 +44,8 @@ namespace big
int* m_resolution_x;
int* m_resolution_y;
std::uint16_t* m_some_anticheat_thing{};
PVOID m_blame_explode;
PVOID m_model_spawn_bypass;
PVOID m_native_return;