mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 09:53:50 +08:00
parent
31124cbf28
commit
0fc1bf6a1b
@ -10,6 +10,7 @@ namespace big
|
||||
void backend::loop()
|
||||
{
|
||||
g->attempt_save();
|
||||
looped::system_anticheat_bypass();
|
||||
looped::system_self_globals();
|
||||
looped::system_update_pointers();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
11
BigBaseV2/src/backend/looped/system/anticheat_bypass.cpp
Normal file
11
BigBaseV2/src/backend/looped/system/anticheat_bypass.cpp
Normal 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;
|
||||
}
|
||||
}
|
@ -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));
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user