feat(Spoofing): IP Address and Rockstar ID

This commit is contained in:
Yimura 2021-02-02 16:23:12 +01:00
parent 07ad0b1294
commit 6903aa03be
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

View File

@ -4,8 +4,14 @@ namespace big
{
bool hooks::send_net_info_to_lobby(rage::netPlayerData* local_player, int64_t a2, int64_t a3, DWORD* a4)
{
const char name[20] = "How dare you!";
memcpy(local_player->m_name, name, sizeof(name));
// const char name[20] = "How dare you!";
// memcpy(local_player->m_name, name, sizeof(name));
local_player->m_online_ip.m_field1 = 69;
local_player->m_online_ip.m_field2 = 69;
local_player->m_online_ip.m_field3 = 69;
local_player->m_online_ip.m_field4 = 69;
local_player->m_rockstar_id = 1337;
return g_hooking->m_send_net_info_to_lobby_hook.get_original<decltype(&send_net_info_to_lobby)>()(local_player, a2, a3, a4);
}