2022-10-21 22:05:39 +02:00
|
|
|
#include "gui/components/components.hpp"
|
|
|
|
#include "natives.hpp"
|
|
|
|
#include "util/system.hpp"
|
|
|
|
#include "view_debug.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void debug::misc()
|
|
|
|
{
|
|
|
|
if (ImGui::BeginTabItem("Misc"))
|
|
|
|
{
|
|
|
|
if (components::button("Dump entrypoints"))
|
|
|
|
{
|
|
|
|
system::dump_entry_points();
|
|
|
|
}
|
|
|
|
|
|
|
|
components::button("Network Bail", []
|
|
|
|
{
|
|
|
|
NETWORK::NETWORK_BAIL(16, 0, 0);
|
|
|
|
});
|
|
|
|
|
2022-11-19 01:49:36 +00:00
|
|
|
if (g_local_player && g_local_player->m_player_info)
|
|
|
|
{
|
|
|
|
ImGui::InputScalar("Rockstar ID", ImGuiDataType_S64, &g_local_player->m_player_info->m_net_player_data.m_gamer_handle_2.m_rockstar_id, nullptr, nullptr, nullptr, ImGuiInputTextFlags_ReadOnly);
|
|
|
|
}
|
|
|
|
|
2022-10-21 22:05:39 +02:00
|
|
|
ImGui::EndTabItem();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|