Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char* m_zenith_patch;
- char* m_zenith_transition_patch;
- char* m_east_azimuth_patch;
- char* m_west_azimuth_patch;
- char* m_azimuth_transition_patch;
- char* m_cloud_base_patch;
- PVOID shitter_crash;
- float* red_zenith;
- float* green_zenith;
- float* blue_zenith;
- float* red_transition;
- float* green_transition;
- float* blue_transition;
- float* red_cloud;
- float* green_cloud;
- float* blue_cloud;
- float* m_azimuth_west_red;
- float* m_azimuth_west_green;
- float* m_azimuth_west_blue;
- float* m_azimuth_est_red;
- float* m_azimuth_est_green;
- float* m_azimuth_est_blue;
- m_zenith_patch(Signature("0F 29 A2 B0 00 00 00 8B 81 58 03 00 00").Scan().As<decltype(m_zenith_patch)>()),//GTA5.exe+E3FF77
- m_zenith_transition_patch(Signature("0F 29 A2 E0 00 00 00").Scan().As<decltype(m_zenith_transition_patch)>()),//GTA5.exe+E3FFB1
- m_east_azimuth_patch(Signature("0F 29 62 20").Scan().As<decltype(m_east_azimuth_patch)>()),//GTA5.exe+E3FEC9
- m_west_azimuth_patch(Signature("0F 29 62 50 8B 81 9C 03 00 00").Scan().As<decltype(m_west_azimuth_patch)>()),//GTA5.exe+E3FEFD
- m_azimuth_transition_patch(Signature("0F 29 A2 80 00 00 00").Scan().As<decltype(m_azimuth_transition_patch)>()),//GTA5.exe+E3FF31
- m_cloud_base_patch(Signature("0F 29 A2 80 03 00 00").Scan().As<decltype(m_cloud_base_patch)>()),//GTA5.exe+E402F1
- red_zenith(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? 3E ? ? ? 3F ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? ? 3F ? ? ? 3F 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? C0 35 3F ? C0 35 3F ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 80 42 ? ? ? 43 ? ? 80 3C ? ? ? ? 24 ?").Scan().As<float*>()),//GTA5.exe+26BB960
- green_zenith(Signature("? ? ? ? ? ? ? ? ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? 3E ? ? ? 3F ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? ? 3F ? ? ? 3F 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? C0 35 3F ? C0 35 3F ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 80 42 ? ? ? 43 ? ? 80 3C ? ? ? ? 24 ?").Scan().As<float*>()),//GTA5.exe+26BB964
- blue_zenith(Signature("? ? ? ? ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? 3E ? ? ? 3F ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? ? 3F ? ? ? 3F 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? C0 35 3F ? C0 35 3F ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 80 42 ? ? ? 43 ? ? 80 3C ? ? ? ? 24 ?").Scan().As<float*>()),//GTA5.exe+26BB968
- red_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB990
- green_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB994
- blue_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB998
- red_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC30
- green_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC34
- blue_cloud(Signature("? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC38
- m_azimuth_west_red(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? 80 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB900
- m_azimuth_west_green(Signature("? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? 80 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB904
- m_azimuth_west_blue(Signature("? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3E ? ? ? ? ? ? 80 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3D ? ? ? 3D ? E0 B0 3C ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB908
- m_azimuth_est_red(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D0
- m_azimuth_est_green(Signature("? ? ? ? ? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D4
- m_azimuth_est_blue(Signature("? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D8
- std::size_t element_id = 0;
- const char* cloud_type[] = {
- "shower", "Snowy 01", "Stormy 01", "Stratoscumulus", "Stripey", "Wispy", "Altostratus", "Cirrocumulus", "Altostratus", "Clear 01", "Cloudy 01" ,"Contrails", "NoClouds", "Puffs", "Rain", "Snow"
- }; std::size_t cloud_id = 0;
- void set_clouds(const char* texture)
- {
- GAMEPLAY::LOAD_CLOUD_HAT((char*)texture, 3.f);
- }
- int m_function::changeclouds()
- {
- for (int i = 0; i < ARRAYSIZE(cloud_type); i++)
- {
- if (Menu::Option(cloud_type[i]))
- {
- set_clouds(cloud_type[i]);
- }
- }
- return 0;
- };
- namespace engine
- {
- inline void nop(uint64_t address, uint32_t size) {
- uint32_t old;
- VirtualProtect((void*)address, size, PAGE_EXECUTE_READWRITE, (DWORD*)&old);
- memset((void*)address, 0x90, size);
- VirtualProtect((void*)address, size, old, (DWORD*)&old);
- }
- inline uintptr_t scan_address(uintptr_t ptr, std::vector<unsigned int> offsets)
- {
- uintptr_t addr = ptr;
- for (unsigned int i = 0; i < offsets.size(); ++i)
- {
- addr = *(uintptr_t*)addr;
- addr += offsets[i];
- }
- return addr;
- }
- }
- #pragma region azimuthz
- case azimuthz:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("zenith_red value", g_Settings.zenith_red, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_green value", g_Settings.zenith_green, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_blue value", g_Settings.zenith_blue, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("Color Pattern1"))
- {
- std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
- *(float*)g_GameVariables->red_zenith = (g_Settings.zenith_red / 255.f) * m_vars.m_azimuth_transition_intensity;
- *(float*)g_GameVariables->green_zenith = (g_Settings.zenith_green / 255.f) * m_vars.m_azimuth_transition_intensity;
- *(float*)g_GameVariables->blue_zenith = (g_Settings.zenith_blue / 255.f) * m_vars.m_azimuth_transition_intensity;
- }
- if (Menu::Option("Color Pattern2"))
- {
- std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
- DWORD hash_code = (((int)m_vars.m_zenith_intensity & 0xFF) << 24) + (((int)g_Settings.zenith_red & 0xFF) << 16) + (((int)g_Settings.zenith_green & 0xFF) << 8) + ((int)g_Settings.zenith_blue & 0xFF);
- g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
- g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
- g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
- g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
- *(float*)g_GameVariables->red_zenith = (g_Settings.m_SkyRed / 255.f) * g_Settings.m_SkyAlpha;
- *(float*)g_GameVariables->green_zenith = (g_Settings.m_SkyGreen / 255.f) * g_Settings.m_SkyAlpha;
- *(float*)g_GameVariables->blue_zenith = (g_Settings.m_SkyBlue / 255.f) * g_Settings.m_SkyAlpha;
- }
- if (Menu::Option("Color Pattern3"))
- {
- std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
- DWORD hash_code = (((int)m_vars.m_zenith_intensity & 0xFF) << 24) + (((int)g_Settings.zenith_red & 0xFF) << 16) + (((int)g_Settings.zenith_green & 0xFF) << 8) + ((int)g_Settings.zenith_blue & 0xFF);
- g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
- g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
- g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
- g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
- *(float*)g_GameVariables->red_zenith = g_Settings.m_SkyRed;
- *(float*)g_GameVariables->green_zenith = g_Settings.m_SkyGreen;
- *(float*)g_GameVariables->blue_zenith = g_Settings.m_SkyBlue;
- }
- Menu::Float("m_zenith_transition_red value", m_vars.m_zenith_transition_red, 0.f, 255.0f, 1.f);
- Menu::Float("m_zenith_transition_green value", m_vars.m_zenith_transition_green, 0.f, 255.0f, 1.f);
- Menu::Float("m_zenith_transition_blue value", m_vars.m_zenith_transition_blue, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("Color Transition"))
- {
- std::fill_n(g_GameVariables->m_zenith_transition_patch, 7, '\x90');
- uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t zenith_transition_red = engine::scan_address(base_address + 0x26BB990, {});
- uintptr_t zenith_transition_green = engine::scan_address(base_address + 0x26BB994, {});
- uintptr_t zenith_transition_blue = engine::scan_address(base_address + 0x26BB998, {});
- *(float*)zenith_transition_red = (m_vars.m_zenith_transition_red / 255.f) * m_vars.m_zenith_transition_intensity;
- *(float*)zenith_transition_green = (m_vars.m_zenith_transition_green / 255.f) * m_vars.m_zenith_transition_intensity;
- *(float*)zenith_transition_blue = (m_vars.m_zenith_transition_blue / 255.f) * m_vars.m_zenith_transition_intensity;
- }
- if (Menu::Option("Color Transition Pattern"))
- {
- std::fill_n(g_GameVariables->m_zenith_transition_patch, 7, '\x90');
- DWORD hash_code = (((int)m_vars.m_zenith_intensity & 0xFF) << 24) + (((int)g_Settings.zenith_red & 0xFF) << 16) + (((int)g_Settings.zenith_green & 0xFF) << 8) + ((int)g_Settings.zenith_blue & 0xFF);
- g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
- g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
- g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
- g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
- *(float*)g_GameVariables->red_transition = g_Settings.m_SkyRed;
- *(float*)g_GameVariables->green_transition = g_Settings.m_SkyGreen;
- *(float*)g_GameVariables->blue_transition = g_Settings.m_SkyBlue;
- }
- if (Menu::Option("Reset"))
- {
- std::copy_n("\x0F\x29\xA2\xE0", 7, g_GameVariables->m_zenith_transition_patch);
- }
- headers::thunderbackgrounds();
- backgrounds::casefourteen();
- }
- break;
- #pragma endregion
- #pragma region azimuthwest
- case azimuthwest:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("m_azimuth_west_red value", m_vars.m_azimuth_west_red, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_west_green value", m_vars.m_azimuth_west_green, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_west_blue value", m_vars.m_azimuth_west_blue, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_west_intensity value", m_vars.m_azimuth_west_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("m_azimuth_west"))
- {
- std::fill_n(g_GameVariables->m_west_azimuth_patch, 4, '\x90');
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t west_red = engine::scan_address(g_base_address + 0x26BB900, {});
- uintptr_t west_green = engine::scan_address(g_base_address + 0x26BB904, {});
- uintptr_t west_blue = engine::scan_address(g_base_address + 0x26BB908, {});
- *(float*)west_red = (m_vars.m_azimuth_west_red / 255.f) * m_vars.m_azimuth_west_intensity;
- *(float*)west_green = (m_vars.m_azimuth_west_green / 255.f) * m_vars.m_azimuth_west_intensity;
- *(float*)west_blue = (m_vars.m_azimuth_west_blue / 255.f) * m_vars.m_azimuth_west_intensity;
- }
- if (Menu::Option("m_azimuth_west Pattern"))
- {
- std::fill_n(g_GameVariables->m_west_azimuth_patch, 4, '\x90');
- *(float*)g_GameVariables->m_azimuth_west_red = (m_vars.m_azimuth_west_red / 255.f) * m_vars.m_azimuth_west_intensity;
- *(float*)g_GameVariables->m_azimuth_west_green = (m_vars.m_azimuth_west_green / 255.f) * m_vars.m_azimuth_west_intensity;
- *(float*)g_GameVariables->m_azimuth_west_blue = (m_vars.m_azimuth_west_blue / 255.f) * m_vars.m_azimuth_west_intensity;
- }
- if (Menu::Option("Reset"))
- {
- std::copy_n("\x0F\x29\x62\x50", 4, g_GameVariables->m_west_azimuth_patch);
- }
- headers::thunderbackgrounds();
- backgrounds::caseseven();
- }
- break;
- #pragma endregion
- #pragma region azimuthtransition
- case azimuthtransition:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("m_azimuth_transition_red value", m_vars.m_azimuth_transition_red, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_transition_green value", m_vars.m_azimuth_transition_green, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_transition_blue value", m_vars.m_azimuth_transition_blue, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_transition_intensity value", m_vars.m_azimuth_transition_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("m_azimuth_transition"))
- {
- std::fill_n(g_GameVariables->m_azimuth_transition_patch, 7, '\x90');
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t azi_trans_red = engine::scan_address(g_base_address + 0x26BB930, {});
- uintptr_t azi_trans_green = engine::scan_address(g_base_address + 0x26BB934, {});
- uintptr_t azi_trans_blue = engine::scan_address(g_base_address + 0x26BB938, {});
- *(float*)azi_trans_red = (m_vars.m_azimuth_transition_red / 255.f) * m_vars.m_azimuth_transition_intensity;
- *(float*)azi_trans_green = (m_vars.m_azimuth_transition_green / 255.f) * m_vars.m_azimuth_transition_intensity;
- *(float*)azi_trans_blue = (m_vars.m_azimuth_transition_blue / 255.f) * m_vars.m_azimuth_transition_intensity;
- }
- if (Menu::Option("Reset"))
- {
- std::copy_n("\x0F\x29\xA2\x80", 7, g_GameVariables->m_azimuth_transition_patch);
- }
- headers::thunderbackgrounds();
- backgrounds::casesix();
- }
- break;
- #pragma endregion
- #pragma region zenith
- case zenith:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("zenith_red value", m_vars.m_zenith_red, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_green value", m_vars.m_zenith_green, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_blue value", m_vars.m_zenith_blue, 0.f, 255.0f, 1.f);
- Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("Clouds Color"))
- {
- std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
- uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t zenith_red = engine::scan_address(base_address + 0x26BB960, {});
- uintptr_t zenith_green = engine::scan_address(base_address + 0x26BB964, {});
- uintptr_t zenith_blue = engine::scan_address(base_address + 0x26BB968, {});
- *(float*)zenith_red = (m_vars.m_zenith_red / 255.f) * m_vars.m_zenith_intensity;
- *(float*)zenith_green = (m_vars.m_zenith_green / 255.f) * m_vars.m_zenith_intensity;
- *(float*)zenith_blue = (m_vars.m_zenith_blue / 255.f) * m_vars.m_zenith_intensity;
- }
- headers::thunderbackgrounds();
- backgrounds::caseseven();
- }
- break;
- #pragma endregion
- #pragma region azimutheast
- case azimutheast:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("m_azimuth_east_red value", m_vars.m_azimuth_east_red, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_east_green value", m_vars.m_azimuth_east_green, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_east_blue value", m_vars.m_azimuth_east_blue, 0.f, 255.0f, 1.f);
- Menu::Float("m_azimuth_east_intensity value", m_vars.m_azimuth_east_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("m_azimuth_east "))
- {
- std::fill_n(g_GameVariables->m_east_azimuth_patch, 4, '\x90');
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t east_red = engine::scan_address(g_base_address + 0x26BB8D0, {});
- uintptr_t east_green = engine::scan_address(g_base_address + 0x26BB8D4, {});
- uintptr_t east_blue = engine::scan_address(g_base_address + 0x26BB8D8, {});
- *(float*)east_red = (m_vars.m_azimuth_east_red / 255.f) * m_vars.m_azimuth_east_intensity;
- *(float*)east_green = (m_vars.m_azimuth_east_green / 255.f) * m_vars.m_azimuth_east_intensity;
- *(float*)east_blue = (m_vars.m_azimuth_east_blue / 255.f) * m_vars.m_azimuth_east_intensity;
- }
- if (Menu::Option("m_azimuth_east Pattern"))
- {
- std::fill_n(g_GameVariables->m_east_azimuth_patch, 4, '\x90');
- *(float*)g_GameVariables->m_azimuth_est_red = (m_vars.m_azimuth_east_red / 255.f) * m_vars.m_azimuth_east_intensity;
- *(float*)g_GameVariables->m_azimuth_est_green = (m_vars.m_azimuth_east_green / 255.f) * m_vars.m_azimuth_east_intensity;
- *(float*)g_GameVariables->m_azimuth_est_blue = (m_vars.m_azimuth_east_blue / 255.f) * m_vars.m_azimuth_east_intensity;
- }
- if (Menu::Option("Reset "))
- {
- std::copy_n("\x0F\x29\x62\x20", 4, g_GameVariables->m_east_azimuth_patch);
- }
- headers::thunderbackgrounds();
- backgrounds::caseseven();
- }
- break;
- #pragma endregion
- #pragma region azimutheast
- case cloudbase:
- {
- Menu::Title("Change Color");
- headers::thunderheaders();
- Menu::Float("m_cloud_base_red value", m_vars.m_cloud_base_red, 0.f, 255.0f, 1.f);
- Menu::Float("m_cloud_base_green value", m_vars.m_cloud_base_green, 0.f, 255.0f, 1.f);
- Menu::Float("m_cloud_base_blue value", m_vars.m_cloud_base_blue, 0.f, 255.0f, 1.f);
- Menu::Float("m_cloud_base_intensity value", m_vars.m_cloud_base_intensity, 0.f, 255.0f, 1.f);
- if (Menu::Option("cloud_base "))
- {
- std::fill_n(g_GameVariables->m_cloud_base_patch, 7, '\x90');
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- uintptr_t cloud_base_red = engine::scan_address(g_base_address + 0x26BBC30, {});
- uintptr_t cloud_base_green = engine::scan_address(g_base_address + 0x26BBC34, {});
- uintptr_t cloud_base_blue = engine::scan_address(g_base_address + 0x26BBC38, {});
- *(float*)cloud_base_red = (m_vars.m_cloud_base_red / 255.f) * m_vars.m_cloud_base_intensity;
- *(float*)cloud_base_green = (m_vars.m_cloud_base_green / 255.f) * m_vars.m_cloud_base_intensity;
- *(float*)cloud_base_blue = (m_vars.m_cloud_base_blue / 255.f) * m_vars.m_cloud_base_intensity;
- }
- if (Menu::Option("cloud_base Pattern"))
- {
- std::fill_n(g_GameVariables->m_cloud_base_patch, 7, '\x90');
- *(float*)g_GameVariables->red_cloud = (m_vars.m_cloud_base_red / 255.f) * m_vars.m_cloud_base_intensity;
- *(float*)g_GameVariables->green_cloud = (m_vars.m_cloud_base_green / 255.f) * m_vars.m_cloud_base_intensity;
- *(float*)g_GameVariables->blue_cloud = (m_vars.m_cloud_base_blue / 255.f) * m_vars.m_cloud_base_intensity;
- }
- if (Menu::Option("Reset"))
- {
- std::copy_n("\x0F\x29\xA2\x80\x03", 7, g_GameVariables->m_cloud_base_patch);
- }
- headers::thunderbackgrounds();
- backgrounds::caseseven();
- }
- break;
- #pragma endregion
- bool getwaterpointer;
- if (Menu::Option("Get Water Pointer")) {
- auto WaterPtr2 = Memory::pattern("48 8B D9 48 6B DB 1C 48 2B F9 48 8B 05 ? ? ? ?");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)WaterPtr2.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::AddressPTR2 = new char[address3.size() + 1];
- strcpy(Addresss::AddressPTR2, address3.c_str());
- Addresss::AddressPTR1 = in2;
- getwaterpointer = 1;
- }
- if (getwaterpointer)
- {
- Menu::Toggle("Swim Anywhere", anywhere::swimbool);
- Menu::Float("m_WaterOpacity value", g_Settings.m_WaterOpacity, 0.f, 255.0f, 1.f);
- Menu::Int("m_WaterLevel value", g_Settings.m_WaterLevel, -1000, 1000, 1);
- Menu::Int("m_WaterLevel Height value", g_Settings.m_WaterLevel, -1000, 1000, 10);
- if (Menu::Option("Water Level From Address")) {
- static DWORD64 water_address, water_pointer = 0;
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- if (water_address == 0)
- water_address = engine::scan_address(base_address + 0x58a695, {}) + 0xA;
- Log::Msg((char*)std::string(std::to_string(water_address)).c_str());
- if (water_pointer == 0 && water_address != 0)
- water_pointer = ((water_address + *(DWORD*)(water_address + 0x3)) + 0x7);
- for (int i = 0; i < 821; i++)
- {
- CWaterDataItem* Water = (CWaterDataItem*)(*(DWORD64*)water_pointer + (i * 0x1c));
- Water->fHeight = g_Settings.m_WaterLevel;
- Water->iAlphaNE = g_Settings.m_WaterOpacity;
- Water->iAlphaNW = g_Settings.m_WaterOpacity;
- Water->iAlphaSE = g_Settings.m_WaterOpacity;
- Water->iAlphaSW = g_Settings.m_WaterOpacity;
- }
- }
- if (Menu::Option("Change Water Level From GetPointer")) {
- static DWORD64 water_address, water_pointer = 0;
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- if (water_address == 0)
- water_address = engine::scan_address(base_address + Addresss::AddressPTR1, {}) + 0xA;
- Log::Msg((char*)std::string(std::to_string(water_address)).c_str());
- if (water_pointer == 0 && water_address != 0)
- water_pointer = ((water_address + *(DWORD*)(water_address + 0x3)) + 0x7);
- for (int i = 0; i < 821; i++)
- {
- CWaterDataItem* Water = (CWaterDataItem*)(*(DWORD64*)water_pointer + (i * 0x1c));
- Water->fHeight = g_Settings.m_WaterLevel;
- Water->iAlphaNE = g_Settings.m_WaterOpacity;
- Water->iAlphaNW = g_Settings.m_WaterOpacity;
- Water->iAlphaSE = g_Settings.m_WaterOpacity;
- Water->iAlphaSW = g_Settings.m_WaterOpacity;
- }
- }
- bool watertunes;
- if (Menu::Option("WaterTunes GetPointer")) {
- Log::Msg("Water Tune");
- auto WaterPtr2 = Memory::pattern("0F B6 05 ? ? ? ? 0F 28 4C 24 ?");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)WaterPtr2.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::AddressPTR01 = in2;
- watertunes = 1;
- }
- if (watertunes)
- {
- Menu::Float("spec value", g_Settings.spec, -255.0f, 255.0f, 1.f);
- if (Menu::Option("fSpecularFalloff from address")) {
- static DWORD64 water_address, water_pointer = 0;
- uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
- water_address = engine::scan_address(base_address + 0x585C28, {});
- water_pointer = ((water_address + *(DWORD*)(water_address + 0x3)) + 0x4);
- CWaterTune* WaterTune = (CWaterTune*)water_pointer;
- WaterTune->fSpecularFalloff = g_Settings.spec;
- }
- if (Menu::Option("fSpecularFalloff from getpointer")) {
- static DWORD64 water_address, water_pointer = 0;
- uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
- water_address = engine::scan_address(base_address + Addresss::AddressPTR01, {});
- water_pointer = ((water_address + *(DWORD*)(water_address + 0x3)) + 0x4);
- CWaterTune* WaterTune = reinterpret_cast<CWaterTune*>(water_pointer);
- WaterTune->fSpecularFalloff = g_Settings.spec;
- }
- Menu::Int("red value water", g_Settings.red, 0, 255, 1);
- Menu::Int("green value", g_Settings.green, 0, 255, 1);
- Menu::Int("blue value", g_Settings.blue, 0, 255, 1);
- Menu::Int("alpha value", g_Settings.alpha, 0, 255, 1);
- if (Menu::Option("m_Water Color")) {
- static DWORD64 water_address, water_pointer = 0;
- uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
- if (water_address == 0)
- water_address = engine::scan_address(base_address + 0x585C28, {});
- if (water_pointer == 0 && water_address != 0)
- water_pointer = ((water_address + *(DWORD*)(water_address + 0x3)) + 0x4);
- std::string watercolor;
- DWORD value = ((g_Settings.red & 0xFF) << 24) + ((g_Settings.green & 0xFF) << 16) + ((g_Settings.blue & 0xFF) << 8) + (g_Settings.alpha & 0xFF);
- stringstream hcolor;
- hcolor << hex << value;
- watercolor = hcolor.str();
- std::stringstream myStrm2(watercolor);
- /*std::stringstream myStrm2;
- myStrm2 << "0x" << value;*/
- DWORD64 x2;
- myStrm2 >> x2;
- CWaterTune* water = (CWaterTune*)water_pointer;
- water->dwWaterColor = x2;
- }
- }
- }
- bool antispamming[32] = { 0 };
- int GiveVehicle::transactionerror()
- {
- DWORD ticks10 = GetTickCount64();
- DWORD milliseconds10 = ticks10 % 1000;
- ticks10 /= 1000;
- DWORD seconds10 = ticks10 % 60;
- int getTimer10 = seconds10;
- if (getTimer10 % 1 == 0)
- {
- for (int i = 0; i < 32; i++)
- {
- if (Features::errorsend[i])
- {
- if (ENTITY::DOES_ENTITY_EXIST(Hooking::get_player_ped(i)))
- {
- unsigned int playerBit = (1 << i);
- auto var0 = globalHandle(1894573 + 1 + i * 608 + 510).As<std::uint64_t>();
- auto var1 = globalHandle(1923597 + 9).As<std::uint64_t>();
- int ssplay = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(i);
- int zero0 = -492741651;
- int numberzero = 0;
- int tenk = 10000;
- uint64_t zerofoo = (uint64_t)numberzero;
- uint64_t kten = (uint64_t)tenk;
- uint64_t sssplay = (uint64_t)ssplay;
- uint64_t foozero = (uint64_t)zero0;
- uint64_t errortransaction[8] = { foozero, sssplay, kten, zerofoo, zerofoo, var0, var1, var1 };
- RtlSecureZeroMemory(errortransaction, sizeof(errortransaction));
- errortransaction[0] = foozero;
- errortransaction[1] = sssplay;
- errortransaction[2] = kten;
- errortransaction[3] = zerofoo;
- errortransaction[4] = zerofoo;
- errortransaction[5] = var0;
- errortransaction[6] = var1;
- errortransaction[7] = var1;
- Hooking::trigger_script_event(1, &errortransaction[0], 8, playerBit);
- }
- else {
- Features::errorsend[i] = 0;
- }
- }
- }
- }
- return 0;
- }
- bool GiveVehicle::antispambool = 0;
- int GiveVehicle::antispam()
- {
- std::uint64_t args_1[3] = { -904555865, net_playerm_player_id, 1 };
- std::uint64_t args_2[3] = { 879177392, net_playerm_player_id, 1 };
- std::uint64_t args_3[3] = { -168599209, net_playerm_player_id, 1 };
- std::uint64_t args_4[3] = { 1192608757, net_playerm_player_id, 1 };
- std::uint64_t args_5[3] = { 1124104301, net_playerm_player_id, 1 };
- std::uint64_t args_6[3] = { -904555865, net_playerm_player_id, 1 };
- std::uint64_t args_7[10] = { -904555865, net_playerm_player_id, 0, 1229879414 , 1742796505 , -1794944145 , -480124848 , 439776191 , -2062014584 , 2120444344 };
- std::uint64_t args_8[12] = { 879177392, net_playerm_player_id, -72614, 63007, 59027, -12012, -26996, 33398, 33398, 63007, -72614, 59027 };
- std::uint64_t args_9[46] = { -904555865, net_playerm_player_id, -2147483647, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534 };
- std::uint64_t args_10[46] = { 879177392, net_playerm_player_id, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 2147483647, 65534, 65534,65534, 65534, 65534, 65534, 2147483647, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, 65534, -2147483647, 65534, 65534, 65534, -2147483647 };
- std::uint64_t args_11[46] = { 548471420, net_playerm_player_id, -904555865, -989654618, 879177392, -2113023004, 548471420, 1249026189, 1033875141, 315658550, 1124104301, -601625146 - 2043109205, -989654618, 879177392, -2113023004, 548471420, 1249026189, 1033875141, 315658550, -877212109, -601625146 - 2043109205, -989654618, 879177392, -2113023004, 548471420, 1249026189, 1033875141, 315658550, 1124104301, -601625146 - 2043109205, -989654618, 879177392, -1881357102, 548471420, 1249026189, 1033875141, 315658550, 1124104301, -601625146 };
- std::uint64_t args_12[46] = { 879177392, net_playerm_player_id, 868904806, 262276366, -747991709, 1545080914, -51510646, 1790326295, 389113600, -617567498, -601391132, -564503258, -601625146 - 2043109205, -989654618, 879177392, -2113023004, 548471420, 1249026189, 1033875141, 315658550, -601625146 - 2043109205, -989654618, 879177392, -2113023004, 548471420, 1249026189, 1033875141, 315658550 };
- Hooking::trigger_script_event(1, args_1, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_2, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_3, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_4, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_5, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_6, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_6, 3, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_7, 10, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_8, 12, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_9, 46, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_10, 46, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_11, 46, 1 << net_playerm_player_id);
- Hooking::trigger_script_event(1, args_12, 46, 1 << net_playerm_player_id);
- GiveVehicle::antispambool = 0;
- Log::Msg("Anti Spam");
- if (!Features::errorsend[net_playerm_player_id])
- Features::errorsend[net_playerm_player_id] = !Features::errorsend[net_playerm_player_id];
- GiveVehicle::transactionerror();
- Log::Msg("Event Send Complet");
- return 0;
- }
- string convertToString(char* a, int size)
- {
- int i;
- string s = "";
- for (i = 0; i < size; i++) {
- s = s + a[i];
- }
- return s;
- }
- #pragma execution_character_set("utf-8")
- int cleanrepeat()
- {
- StopRepeat01 = "";
- StopRepeat02 = "";
- StopRepeat03 = "";
- StopRepeat04 = "";
- StopRepeat001 = "";
- StopRepeat002 = "";
- StopRepeat003 = "";
- StopRepeat004 = "";
- StopRepeat1 = "";
- StopRepeat2 = "";
- StopRepeat3 = "";
- StopRepeat4 = "";
- return 0;
- }
- std::vector<std::string> splitText(const std::string& s, char delimiter)
- {
- std::vector<std::string> tokens;
- std::string token;
- std::istringstream tokenStream(s);
- while (std::getline(tokenStream, token, delimiter))
- {
- tokens.push_back(token);
- }
- return tokens;
- }
- if (GiveVehicle::norepeat)
- {
- net_playerm_player_id = net_player->m_player_id;
- numrepeat = numrepeat + 1;
- bool checkword = 1;
- if (numrepeat == 1)
- {
- SpamRepeatint1 = net_playerm_player_id;
- char a[] = { (char)msg };
- int a_size = sizeof(a) / sizeof(char);
- string cs = convertToString(a, a_size);
- std::string sprogram = " ";
- std::string::size_type ig = cs.find(sprogram);
- if (ig != std::string::npos)
- {
- std::vector<std::string> words = splitText(msg, ' ');
- if (words[0] != "")
- {
- StopRepeat1 = words[0];
- }
- if (words[1] != "")
- {
- StopRepeat2 = words[1];
- }
- if (words[1] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- if (checkword)
- {
- if (words[2] != "")
- {
- StopRepeat3 = words[2];
- }
- if (words[2] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- if (words[3] != "")
- {
- StopRepeat4 = words[3];
- }
- if (words[3] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- }
- }
- else
- {
- checkword = 0;
- goto endantispam;
- }
- }
- if (numrepeat == 2)
- {
- SpamRepeatint2 = net_playerm_player_id;
- if (SpamRepeatint1 == SpamRepeatint2)
- {
- char a[] = { (char)msg };
- int a_size = sizeof(a) / sizeof(char);
- string cs = convertToString(a, a_size);
- std::string sprogram = " ";
- std::string::size_type ig = cs.find(sprogram);
- if (ig != std::string::npos)
- {
- std::vector<std::string> words = splitText(msg, ' ');
- if (words[0] != "")
- {
- StopRepeat01 = words[0];
- }
- if (words[1] != "")
- {
- StopRepeat02 = words[1];
- }
- if (words[1] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- if (checkword)
- {
- if (words[2] != "")
- {
- StopRepeat03 = words[2];
- }
- if (words[2] == "")
- {
- goto endantispam;
- }
- if (words[3] != "")
- {
- StopRepeat04 = words[3];
- }
- if (words[3] == "")
- {
- goto endantispam;
- }
- }
- }
- else
- {
- checkword = 0;
- goto endantispam;
- }
- }
- if (SpamRepeatint1 != SpamRepeatint2)
- {
- checkword = 0;
- goto endantispam;
- }
- }
- if (numrepeat == 3)
- {
- SpamRepeatint2 = net_playerm_player_id;
- if (SpamRepeatint1 == SpamRepeatint2)
- {
- char a[] = { (char)msg };
- int a_size = sizeof(a) / sizeof(char);
- string cs = convertToString(a, a_size);
- std::string sprogram = " ";
- std::string::size_type ig = cs.find(sprogram);
- if (ig != std::string::npos)
- {
- std::vector<std::string> words = splitText(msg, ' ');
- if (words[0] != "")
- {
- StopRepeat001 = words[0];
- if ((char*)StopRepeat001.c_str() != (char*)StopRepeat01.c_str())
- {
- goto endantispam;
- }
- }
- if (words[1] != "")
- {
- StopRepeat002 = words[1];
- if ((char*)StopRepeat002.c_str() != (char*)StopRepeat02.c_str())
- {
- goto endantispam;
- }
- }
- if ((char*)StopRepeat002.c_str() == "")
- {
- goto endantispam;
- }
- if (words[1] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- if (checkword)
- {
- if (words[2] != "")
- {
- StopRepeat003 = words[3];
- if ((char*)StopRepeat003.c_str() != (char*)StopRepeat03.c_str())
- {
- goto endantispam;
- }
- }
- if (words[2] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- if (words[3] != "")
- {
- StopRepeat004 = words[4];
- if ((char*)StopRepeat004.c_str() != (char*)StopRepeat04.c_str())
- {
- goto endantispam;
- }
- if ((char*)StopRepeat004.c_str() == (char*)StopRepeat04.c_str())
- {
- activeantispam();
- goto endantispam;
- }
- }
- if (words[3] == "")
- {
- checkword = 0;
- goto endantispam;
- }
- }
- }
- else
- {
- checkword = 0;
- goto endantispam;
- }
- }
- if (SpamRepeatint1 != SpamRepeatint2)
- {
- goto endantispam;
- }
- }
- endantispam:
- {
- cleanrepeat();
- numrepeat = 0;
- }
- }
- Menu::MenuOption((char*)langage::Times.c_str(), LobbyTimes);
- if (Menu::Option((char*)langage::h3.c_str())) { TIME::SET_CLOCK_TIME(3, 0, 0); }
- if (Menu::Option((char*)langage::h16.c_str())) { TIME::SET_CLOCK_TIME(16, 0, 0); }
- Menu::Float("starintensity value", g_Settings.starintensity, 0.f, 5000.0f, 100.f);
- if (Menu::Option("Star"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- memset(reinterpret_cast<void*>(g_base_address + 0xE436B8), 0x90, 4);
- *(float*)engine::scan_address(g_base_address + 0x282263C, {}) = g_Settings.starintensity;
- }
- if (Menu::Option("Reset Star"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + 0xE436B8));
- std::copy_n("\x0F\x29\xA2\xE0", 4, reinterpret_cast<char*>(g_base_address + 0xE3FFB1));
- }
- Menu::Float("redmoon value", g_Settings.moonred, 0.f, 255.0f, 1.f);
- Menu::Float("greenmoon value", g_Settings.moongreen, 0.f, 255.0f, 1.f);
- Menu::Float("bluemoon value", g_Settings.moonblue, 0.f, 255.0f, 1.f);
- Menu::Float("moonalpha value", g_Settings.moonalpha, 0.f, 255.0f, 1.f);
- if (Menu::Option("Moon"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- memset(reinterpret_cast<void*>(g_base_address + 0xE436B1), 0x90, 4);
- uintptr_t redmoon = engine::scan_address(g_base_address + 0x2822628, {});
- uintptr_t greenmoon = engine::scan_address(g_base_address + 0x282262C, {});
- uintptr_t bluemoon = engine::scan_address(g_base_address + 0x2822630, {});
- *(float*)redmoon = (g_Settings.moonred / 255.f) * g_Settings.moonalpha;
- *(float*)greenmoon = (g_Settings.moongreen / 255.f) * g_Settings.moonalpha;
- *(float*)bluemoon = (g_Settings.moonblue / 255.f) * g_Settings.moonalpha;
- }
- if (Menu::Option("Reset Moon"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + 0xE436B1));
- }
- Menu::Float("redsun value", g_Settings.sunred, 0.f, 255.0f, 1.f);
- Menu::Float("greensun value", g_Settings.sungreen, 0.f, 255.0f, 1.f);
- Menu::Float("bluesun value", g_Settings.sunblue, 0.f, 255.0f, 1.f);
- Menu::Float("sunalpha value", g_Settings.sunalpha, 0.f, 255.0f, 1.f);
- if (Menu::Option("sun"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- memset(reinterpret_cast<void*>(g_base_address + 0xE4369E), 0x90, 4);
- uintptr_t redsun = engine::scan_address(g_base_address + 0x2822600, {});
- uintptr_t greensun = engine::scan_address(g_base_address + 0x2822604, {});
- uintptr_t bluesun = engine::scan_address(g_base_address + 0x2822608, {});
- *(float*)redsun = (g_Settings.sunred / 255.f) * g_Settings.sunalpha;
- *(float*)greensun = (g_Settings.sungreen / 255.f) * g_Settings.sunalpha;
- *(float*)bluesun = (g_Settings.sunblue / 255.f) * g_Settings.sunalpha;
- }
- if (Menu::Option("Reset Sun"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + 0xE4369E));
- }
- Menu::Float("redsun2 value", g_Settings.sunred2, 0.f, 255.0f, 1.f);
- Menu::Float("greensun2 value", g_Settings.sungreen2, 0.f, 255.0f, 1.f);
- Menu::Float("bluesun2 value", g_Settings.sunblue2, 0.f, 255.0f, 1.f);
- Menu::Float("sunalpha2 value", g_Settings.sunalpha2, 0.f, 255.0f, 1.f);
- if (Menu::Option("sun Atmosphère"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- memset(reinterpret_cast<void*>(g_base_address + 0xE43696), 0x90, 4);
- uintptr_t redsun2 = engine::scan_address(g_base_address + 0x28225F4, {});
- uintptr_t greensun2 = engine::scan_address(g_base_address + 0x28225F8, {});
- uintptr_t bluesun2 = engine::scan_address(g_base_address + 0x28225FC, {});
- *(float*)redsun2 = (g_Settings.sunred2 / 255.f) * g_Settings.sunalpha2;
- *(float*)greensun2 = (g_Settings.sungreen2 / 255.f) * g_Settings.sunalpha2;
- *(float*)bluesun2 = (g_Settings.sunblue2 / 255.f) * g_Settings.sunalpha2;
- }
- if (Menu::Option("Reset Sun Atmosph"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + 0xE43696));
- }
- Menu::Float("redsky value", g_Settings.sky_red_p, 0.f, 255.0f, 1.f);
- Menu::Float("greensky value", g_Settings.sky_green_p, 0.f, 255.0f, 1.f);
- Menu::Float("bluesky value", g_Settings.sky_blue_p, 0.f, 255.0f, 1.f);
- Menu::Float("skyalpha value", g_Settings.sky_alpha_p, 0.f, 255.0f, 1.f);
- if (Menu::Option("Sky Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer = in2;
- Addresss::SkyPointerred = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5C7;//0x2822D9F - 0x28227D8 = 0x5C7
- Addresss::SkyPointergreen = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5C3;//0x2822D9F - 0x28227DC = 0x5C3
- Addresss::SkyPointerblue = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5BF;//0x2822D9F - 0x28227E0 = 0x5BF
- Addresss::SkyPointerpatch = (DWORD64)Addresss::SkyPointer - (DWORD64)0x19DF719;//0x2822D9F - 0xE43686 = 0x19DF719
- //GTA5.exe+E43686 - 0F29 49 10
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred, {});
- uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen, {});
- uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue, {});
- *(float*)redsky2 = (g_Settings.sky_red_p / 255.f) * g_Settings.sky_alpha_p;
- *(float*)greensky2 = (g_Settings.sky_green_p / 255.f) * g_Settings.sky_alpha_p;
- *(float*)bluesky2 = (g_Settings.sky_blue_p / 255.f) * g_Settings.sky_alpha_p;
- /*
- GTA5.exe+E43686 - 0F29 49 10
- // 7FF60BF327D8
- // GTA5.exe + 28227D8//red
- // 7FF60BF327DC
- // GTA5.exe + 28227DC//green
- // 7FF60BF327E0
- // GTA5.exe + 28227E0//blue
- */
- }
- if (Menu::Option("Reset Sky"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\x10", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch));//0xE43686
- }
- Menu::Float("redsky1 value", g_Settings.sky_red_p1, 0.f, 255.0f, 1.f);
- Menu::Float("greensky1 value", g_Settings.sky_green_p1, 0.f, 255.0f, 1.f);
- Menu::Float("bluesky1 value", g_Settings.sky_blue_p1, 0.f, 255.0f, 1.f);
- Menu::Float("skyalpha1 value", g_Settings.sky_alpha_p1, 0.f, 255.0f, 1.f);
- if (Menu::Option("Sky1 Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer1 = in2;
- Addresss::SkyPointerred1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x73F;//0x2822D9F - 0x2822660 = 0x73F
- Addresss::SkyPointergreen1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x73B;//0x2822D9F - 0x2822664 = 0x73B
- Addresss::SkyPointerblue1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x737;//0x2822D9F - 0x2822668 = 0x737
- Addresss::SkyPointerpatch1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x19DF711;//0x2822D9F - 0xE4368E = 0x19DF711
- //GTA5.exe+E4368E - 0F29 41 20
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch1), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred1, {});
- uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen1, {});
- uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue1, {});
- *(float*)redsky2 = (g_Settings.sky_red_p1 / 255.f) * g_Settings.sky_alpha_p1;
- *(float*)greensky2 = (g_Settings.sky_green_p1 / 255.f) * g_Settings.sky_alpha_p1;
- *(float*)bluesky2 = (g_Settings.sky_blue_p1 / 255.f) * g_Settings.sky_alpha_p1;
- }
- if (Menu::Option("Reset Sky1"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x20", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch1));
- }
- Menu::Float("redsky2 value", g_Settings.sky_red_p2, 0.f, 255.0f, 1.f);
- Menu::Float("greensky2 value", g_Settings.sky_green_p2, 0.f, 255.0f, 1.f);
- Menu::Float("bluesky2 value", g_Settings.sky_blue_p2, 0.f, 255.0f, 1.f);
- Menu::Float("skyalpha2 value", g_Settings.sky_alpha_p2, 0.f, 255.0f, 1.f);
- if (Menu::Option("Sky2 Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer2 = in2;
- Addresss::SkyPointerred2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x733;//0x2822D9F - 0x282266C = 0x733
- Addresss::SkyPointergreen2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x72F;//0x2822D9F - 0x2822670 = 0x72F
- Addresss::SkyPointerblue2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x72B;//0x2822D9F - 0x2822674 = 0x72B
- Addresss::SkyPointerpatch2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x19DF711;//0x2822D9F - 0xE4368E = 0x19DF711
- //GTA5.exe + E4368E - 0F29 41 20 - movaps[rcx + 20], xmm0
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch2), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred2, {});
- uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen2, {});
- uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue2, {});
- *(float*)redsky2 = (g_Settings.sky_red_p2 / 255.f) * g_Settings.sky_alpha_p2;
- *(float*)greensky2 = (g_Settings.sky_green_p2 / 255.f) * g_Settings.sky_alpha_p2;
- *(float*)bluesky2 = (g_Settings.sky_blue_p2 / 255.f) * g_Settings.sky_alpha_p2;
- }
- if (Menu::Option("Reset Sky2"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x20", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch2));
- }
- Menu::Float("redsky3 value", g_Settings.sky_red_p3, 0.f, 255.0f, 1.f);
- Menu::Float("greensky3 value", g_Settings.sky_green_p3, 0.f, 255.0f, 1.f);
- Menu::Float("bluesky3 value", g_Settings.sky_blue_p3, 0.f, 255.0f, 1.f);
- Menu::Float("skyalpha3 value", g_Settings.sky_alpha_p3, 0.f, 255.0f, 1.f);
- if (Menu::Option("Sky3 Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer3 = in2;
- Addresss::SkyPointerred3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x723;//0x2822D9F - 0x282267C = 0x723
- Addresss::SkyPointergreen3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x71F;//0x2822D9F - 0x2822680 = 0x71F
- Addresss::SkyPointerblue3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x71B;//0x2822D9F - 0x2822684 = 0x71B
- Addresss::SkyPointerpatch3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x19DF709;//0x2822D9F - 0xE43696 = 0x19DF709
- Addresss::SkyPointerpatch3_ = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x19DF701;//0x2822D9F - 0xE4369E = 0x19DF701
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch3), 0x90, 4);
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch3_), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred3, {});
- uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen3, {});
- uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue3, {});
- *(float*)redsky2 = (g_Settings.sky_red_p3 / 255.f) * g_Settings.sky_alpha_p3;
- *(float*)greensky2 = (g_Settings.sky_green_p3 / 255.f) * g_Settings.sky_alpha_p3;
- *(float*)bluesky2 = (g_Settings.sky_blue_p3 / 255.f) * g_Settings.sky_alpha_p3;
- }
- if (Menu::Option("Reset Sky3"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch3));
- std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch3_));
- }
- Menu::Float("Clouds value", g_Settings.sky_intensity_p4, 0.f, 5555.0f, 1.f);
- if (Menu::Option("Clouds1 Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer4 = in2;
- Addresss::getSkyPointer4 = (DWORD64)Addresss::SkyPointer4 - (DWORD64)0x707;//0x2822D9F - 0x2822698 = 0x707
- Addresss::SkyPointerpatch4 = (DWORD64)Addresss::SkyPointer4 - (DWORD64)0x19DF6F9;//0x2822D9F - 0xE436A6 = 0x19DF6F9
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch4), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::getSkyPointer4, {});
- *(float*)redsky2 = g_Settings.sky_intensity_p4;
- }
- if (Menu::Option("Reset Clouds1"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\x50", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch4));
- }
- Menu::Float("Clouds2 value", g_Settings.sky_intensity_p5, 0.f, 5555.0f, 1.f);
- if (Menu::Option("Clouds2 Pattern"))
- {
- auto SkyPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SkyPointer5 = in2;
- Addresss::getSkyPointer5 = (DWORD64)Addresss::SkyPointer5 - (DWORD64)0x6FB;//0x2822D9F - 0x28226A4 = 0x6FB
- Addresss::SkyPointerpatch5 = (DWORD64)Addresss::SkyPointer5 - (DWORD64)0x19DF6EE;//0x2822D9F - 0xE436B1 = 0x19DF6EE
- memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch5), 0x90, 4);
- uintptr_t redsky2 = engine::scan_address(base_address + Addresss::getSkyPointer5, {});
- *(float*)redsky2 = g_Settings.sky_intensity_p5;
- }
- if (Menu::Option("Reset Clouds2"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch5));
- }
- if (Menu::Option("moon2 Pattern"))
- {
- auto moonPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)moonPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::MoonPointer = in2;
- Addresss::MoonPointerred = (DWORD64)Addresss::MoonPointer - (DWORD64)0x777;//0x2822D9F - 0x2822628 = 0x777
- Addresss::MoonPointergreen = (DWORD64)Addresss::MoonPointer - (DWORD64)0x773;//0x2822D9F - 0x282262C = 0x773
- Addresss::MoonPointerblue = (DWORD64)Addresss::MoonPointer - (DWORD64)0x76F;//0x2822D9F - 0x2822630 = 0x76F
- Addresss::MoonPointerpatch = (DWORD64)Addresss::MoonPointer - (DWORD64)0x19DF6EE;//0x2822D9F - 0xE436B1 = 0x19DF6EE
- memset(reinterpret_cast<void*>(base_address + Addresss::MoonPointerpatch), 0x90, 4);
- uintptr_t redmoon = engine::scan_address(base_address + Addresss::MoonPointerred, {});
- uintptr_t greenmoon = engine::scan_address(base_address + Addresss::MoonPointergreen, {});
- uintptr_t bluemoon = engine::scan_address(base_address + Addresss::MoonPointerblue, {});
- *(float*)redmoon = (g_Settings.moon_red / 255.f) * g_Settings.moon_alpha;
- *(float*)greenmoon = (g_Settings.moon_green / 255.f) * g_Settings.moon_alpha;
- *(float*)bluemoon = (g_Settings.moon_blue / 255.f) * g_Settings.moon_alpha;
- }
- if (Menu::Option("Reset Moon2"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + 0xE436B1));//moon
- }
- Menu::Float("redsun3 value", g_Settings.sun_red, 0.f, 255.0f, 1.f);
- Menu::Float("greensun3 value", g_Settings.sun_green, 0.f, 255.0f, 1.f);
- Menu::Float("bluesun3 value", g_Settings.sun_blue, 0.f, 255.0f, 1.f);
- Menu::Float("sunalpha3 value", g_Settings.sun_alpha, 0.f, 255.0f, 1.f);
- if (Menu::Option("Sun Pattern"))
- {
- auto SunPTR = Memory::pattern("80 3F 00 00 80 3F CD CC 4C 3E 9A 99 99 3E 00 00 80 3F 00 00 80 3F 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SunPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SunPointer = in2;
- //0x2822d6e
- Addresss::SunPointerred = (DWORD64)Addresss::SunPointer - (DWORD64)0x76E;
- Addresss::SunPointergreen = (DWORD64)Addresss::SunPointer - (DWORD64)0x76A;
- Addresss::SunPointerblue = (DWORD64)Addresss::SunPointer - (DWORD64)0x766;
- Addresss::SunPointerpatch = (DWORD64)Addresss::SunPointer - (DWORD64)0x19DF6D0;
- /*
- 0x2822d6e - 0xE4369E = 0x19DF6D0
- 0x2822d6e - 0x2822600 = 0x76E
- 0x2822d6e - 0x2822604 = 0x76A
- 0x2822d6e - 0x2822608 = 0x766
- */
- memset(reinterpret_cast<void*>(base_address + Addresss::SunPointerpatch), 0x90, 4);
- uintptr_t redsun2 = engine::scan_address(base_address + Addresss::SunPointerred, {});
- uintptr_t greensun2 = engine::scan_address(base_address + Addresss::SunPointergreen, {});
- uintptr_t bluesun2 = engine::scan_address(base_address + Addresss::SunPointerblue, {});
- *(float*)redsun2 = (g_Settings.sun_red / 255.f) * g_Settings.sun_alpha;
- *(float*)greensun2 = (g_Settings.sun_green / 255.f) * g_Settings.sun_alpha;
- *(float*)bluesun2 = (g_Settings.sun_blue / 255.f) * g_Settings.sun_alpha;
- }
- if (Menu::Option("Reset Sun"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + Addresss::SunPointerpatch));//0xE4369E
- }
- Menu::Float("redsun A value", g_Settings.sun_red_a, 0.f, 255.0f, 1.f);
- Menu::Float("greensun A value", g_Settings.sun_green_a, 0.f, 255.0f, 1.f);
- Menu::Float("bluesun A value", g_Settings.sun_blue_a, 0.f, 255.0f, 1.f);
- Menu::Float("sun A alpha4 value", g_Settings.sun_alpha, 0.f, 255.0f, 1.f);
- if (Menu::Option("sun Atmosphère Pattern"))
- {
- auto SunPTR = Memory::pattern("80 3F 00 00 80 3F CD CC 4C 3E 9A 99 99 3E 00 00 80 3F 00 00 80 3F 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)SunPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::SunPointerat = in2;
- //0x2822d6e
- Addresss::SunPointerredat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x77A;
- Addresss::SunPointergreenat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x776;
- Addresss::SunPointerblueat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x772;
- Addresss::SunPointerpatchat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x19DF6D8;
- /*
- 0x2822d6e - 0xE43696 = 0x19DF6D8
- 0x2822d6e - 0x28225F4 = 0x77A
- 0x2822d6e - 0x28225F8 = 0x776
- 0x2822d6e - 0x28225FC = 0x772
- */
- memset(reinterpret_cast<void*>(base_address + Addresss::SunPointerpatchat), 0x90, 4);
- uintptr_t redsun2 = engine::scan_address(base_address + Addresss::SunPointerredat, {});
- uintptr_t greensun2 = engine::scan_address(base_address + Addresss::SunPointergreenat, {});
- uintptr_t bluesun2 = engine::scan_address(base_address + Addresss::SunPointerblueat, {});
- *(float*)redsun2 = (g_Settings.sun_red_a / 255.f) * g_Settings.sun_alpha_a;
- *(float*)greensun2 = (g_Settings.sun_green_a / 255.f) * g_Settings.sun_alpha_a;
- *(float*)bluesun2 = (g_Settings.sun_blue_a / 255.f) * g_Settings.sun_alpha_a;
- }
- if (Menu::Option("Reset Sun Atmosph"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + 0xE43696));
- }
- Menu::Float("starintensity value", g_Settings.starintensity, 0.f, 5000.0f, 100.f);
- if (Menu::Option("Star"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- memset(reinterpret_cast<void*>(g_base_address + 0xE436B8), 0x90, 4);
- *(float*)engine::scan_address(g_base_address + 0x282263C, {}) = g_Settings.starintensity;
- }
- if (Menu::Option("Reset Star"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + 0xE436B8));//stars
- std::copy_n("\x0F\x29\xA2\xE0", 4, reinterpret_cast<char*>(g_base_address + 0xE3FFB1));//sky
- }
- Menu::Float("starintensity Pattern value", g_Settings.star_intensity_p, 0.f, 5000.0f, 100.f);
- if (Menu::Option("Star Pattern"))
- {
- auto StarPTR = Memory::pattern("00 62 6F 61 74 73 65 61 72 63 68 6C 69 67 68 74 2E 6D 61 69 6E 4C 69 67 68 74 49 6E 66 6F 2E 6C 69 67 68 74 46 61 64 65 44 69 73 74 00 79 46 61 72 00 78 70 6F 6E 65 6E 74 00 6E 74 00");
- DWORD64* d_location = nullptr;
- d_location = (DWORD64*)StarPTR.count(1).get(0).get<DWORD64*>(0);
- std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
- DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
- Log::Msg((char*)datar.c_str());
- Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
- std::stringstream myStrm(datar);
- DWORD64 x;
- myStrm >> x;
- std::string address2;
- stringstream addrs2;
- addrs2 << hex << "0x" << x;
- address2 = addrs2.str();
- Log::Msg((char*)address2.c_str());
- std::string address;
- stringstream addrs;
- addrs << hex << "0x" << base_address;
- address = addrs.str();
- Log::Msg((char*)address.c_str());
- std::stringstream myStrm1;
- myStrm1 << base_address;
- DWORD64 x1;
- myStrm1 >> x1;
- std::stringstream myStrm2(datar);
- DWORD64 x2;
- myStrm2 >> x2;
- DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
- Log::Msg((char*)std::string(std::to_string(in2)).c_str());
- std::string address3;
- stringstream addrs3;
- addrs3 << hex << "0x" << in2;
- address3 = addrs3.str();
- Log::Msg((char*)address3.c_str());
- Addresss::StarPointer = in2;
- Addresss::StarIntensity = (DWORD64)Addresss::StarPointer - (DWORD64)0x763;//0x2822D9F - 0x763 = 0x282263C
- Addresss::StarPointerpatch = (DWORD64)Addresss::StarPointer - (DWORD64)0x19DF6E7;//0x2822D9F - 0xE436B8 = 0x19DF6E7
- memset(reinterpret_cast<void*>(base_address + Addresss::StarPointerpatch), 0x90, 4);
- uintptr_t intensity_Star = engine::scan_address(base_address + Addresss::StarIntensity, {});
- *(float*)intensity_Star = g_Settings.star_intensity_p;
- }
- if (Menu::Option("Reset Star"))
- {
- uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
- std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + Addresss::StarPointerpatch));//0xE436B8 //star
- //std::copy_n("\x0F\x29\xA2\xE0", 4, reinterpret_cast<char*>(g_base_address + 0xE3FFB1));//0xE3FFB1 //sky
- }
- https://prnt.sc/5ffPoqB1ENWY
- address - (Imagebase : 7FF7A9170000)
- https://www.mediafire.com/file/0gg2awp7s4uc3nf/GTA5_data_db164-.c/file
- https://prnt.sc/58SpCbPG_TgJ
- https://prnt.sc/2amnJgMTeplE
- https://www.mediafire.com/file/acxg2jp6gguf18j/GTA5_dump164fromView.c/file
- https://www.mediafire.com/file/2np6f4i6iwaxp0d/GTA5_dump164typ.idc/file
- https://www.mediafire.com/file/jz2dd1ru0w36vgp/GTA5_dump164.idc/file
- https://www.mediafire.com/file/dm0ves5y6kkabms/GTA5_dump164map.map/file
- https://www.mediafire.com/file/xble0rysbp7u1a8/GTA5_dump164header.h/file
- https://prnt.sc/6wDtVxeMSkK9
- https://www.mediafire.com/file/tketz0om882ebeq/GTA5_dump164-00007FF.c/file
- (Imagebase : 7FF6F5D10000)
- https://www.mediafire.com/file/l9kkm9jfeue5k84/GTA5-Dump(2015-4-15).exe/file
- https://www.mediafire.com/file/0ye2bhd21rsy8ip/GTA5_dumpNative-164.exe/file
- https://prnt.sc/1oqMZ4-qjEYl
- https://prnt.sc/1glKZLoiguXW
- https://prnt.sc/4gnXmLUBCFd_
- and go to this address
- 48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 48 83 EC 20 BA 10 00 00 00 B9 20 03 00 00
- before search **a immediate value** of a native
- or it will have nothing in the research
Add Comment
Please, Sign In to add comment