mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 08:42:44 +08:00
refactor: Remove Detected Code (#203)
* feat(premake): Cleaned up premake file, disabled ImGui asserts and other unused files * feat(renderer): Don't build default font * feat(vendor): replace ImGui with GTA V safe ImGui * revert: feat(System): Added looped feature to disable sigscanner
This commit is contained in:
@ -10,7 +10,6 @@ namespace big
|
||||
void backend::loop()
|
||||
{
|
||||
g->attempt_save();
|
||||
looped::system_anticheat_bypass();
|
||||
looped::system_self_globals();
|
||||
looped::system_update_pointers();
|
||||
|
||||
|
@ -32,7 +32,6 @@ namespace big
|
||||
|
||||
static void session_local_time();
|
||||
|
||||
static void system_anticheat_bypass();
|
||||
static void system_self_globals();
|
||||
static void system_update_pointers();
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
#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;
|
||||
}
|
||||
}
|
@ -248,12 +248,6 @@ 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));
|
||||
|
||||
|
@ -43,7 +43,6 @@ namespace big
|
||||
std::strcpy(font_cfg.Name, "Storopia");
|
||||
|
||||
m_font = ImGui::GetIO().Fonts->AddFontFromMemoryTTF(const_cast<std::uint8_t*>(font_storopia), sizeof(font_storopia), 20.f, &font_cfg);
|
||||
m_monospace_font = ImGui::GetIO().Fonts->AddFontDefault();
|
||||
|
||||
g->window.font_title = ImGui::GetIO().Fonts->AddFontFromMemoryTTF(const_cast<std::uint8_t*>(font_storopia), sizeof(font_storopia), 40.f, &font_cfg);
|
||||
g->window.font_sub_title = ImGui::GetIO().Fonts->AddFontFromMemoryTTF(const_cast<std::uint8_t*>(font_storopia), sizeof(font_storopia), 30.f, &font_cfg);
|
||||
|
Reference in New Issue
Block a user