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:
Yimura
2022-05-13 17:19:43 +02:00
committed by GitHub
parent 3c1aaec970
commit 0c0a99cf45
8 changed files with 216 additions and 245 deletions

View File

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

View File

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

View File

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

View File

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

View File

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