feat(WindowMain): Added dump entrypoints button

This commit is contained in:
Yimura 2021-08-10 23:13:21 +02:00
parent 0b5da896f6
commit 68b3289752
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
3 changed files with 20 additions and 0 deletions

View File

@ -9,6 +9,7 @@ namespace big
static void tab_tunables();
static void tab_self();
static void tab_recovery();
static void tab_settings();
static void tab_spawn();
static void tab_vehicle();
static void tab_weapons();

View File

@ -0,0 +1,18 @@
#include "main_tabs.hpp"
#include "util/system.hpp"
namespace big
{
void tab_main::tab_settings()
{
if (ImGui::BeginTabItem("Settings"))
{
if (ImGui::Button("Dump entrypoints"))
{
system::dump_entry_points();
}
ImGui::EndTabItem();
}
}
}

View File

@ -17,6 +17,7 @@ namespace big
tab_main::tab_vehicle();
tab_main::tab_weapons();
tab_main::tab_recovery();
tab_main::tab_settings();
ImGui::EndTabBar();
ImGui::End();