Advertisement
Thunder-Menu

data, moon, sun, sky, star, clouds and rain color

Aug 5th, 2023 (edited)
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.93 KB | None | 0 0
  1. //potatoe0(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 3F 39 8E E3 3F ? ? 80 40 ? ? A0 40 ? ? 20 41 ? ? 98 41 ? ?").Scan().As<float*>()),//19B1DB0
  2. //potatoe1(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? E0 3F 39 8E E3 3F ? ? 80 40 ? ? A0 40 ? ? 20 41 ? ? 98 41 ? ?").Scan().As<float*>()),//19B1DB1
  3. //potatoe2(Signature("? ? ? ? ? ? ? ? ? ? ? ? E0 3F 39 8E E3 3F ? ? 80 40 ? ? A0 40 ? ? 20 41 ? ? 98 41 ? ?").Scan().As<float*>()),//19B1DB2
  4. //potatoe3(Signature("? ? ? ? ? ? ? ? ? ? ? E0 3F 39 8E E3 3F ? ? 80 40 ? ? A0 40 ? ? 20 41 ? ? 98 41 ? ?").Scan().As<float*>()),//19B1DB3
  5. //freezetraffic(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? FF FF FF FF ? ? ? ? ? ? ? ? ? ? ? ? FF FF FF FF FF FF FF FF 1C 45 ? ? ? 7F ? ? C8 8A ? ? ? ? ? ? B8").Scan().As<float*>()),//19B7188
  6. shitter_crash(Signature("48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 41 56 41 57 48 83 EC 20 48 8D 81 D4 ? ? ?").Scan().As<PVOID>()),//15E5690
  7. 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
  8. m_zenith_transition_patch(Signature("0F 29 A2 E0 00 00 00").Scan().As<decltype(m_zenith_transition_patch)>()),//GTA5.exe+E3FFB1
  9. m_east_azimuth_patch(Signature("0F 29 62 20").Scan().As<decltype(m_east_azimuth_patch)>()),//GTA5.exe+E3FEC9
  10. 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
  11. m_azimuth_transition_patch(Signature("0F 29 A2 80 00 00 00").Scan().As<decltype(m_azimuth_transition_patch)>()),//GTA5.exe+E3FF31
  12. m_cloud_base_patch(Signature("0F 29 A2 80 03 00 00").Scan().As<decltype(m_cloud_base_patch)>()),//GTA5.exe+E402F1
  13. red_zenith(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB960
  14. green_zenith(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB964
  15. blue_zenith(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB968
  16. red_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB990 //GTA5.exe+26CEB80 - 00 60 60 - add [rax+60],ah
  17. green_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB994
  18. blue_transition(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 27 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 26 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 44 ? ? 80 42 ? ? ? 43 ? ? ? ? 25").Scan().As<float*>()),//GTA5.exe+26BB998
  19. red_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 15").Scan().As<float*>()),//GTA5.exe+0x26EB4E0 //26BBC30
  20. green_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 15").Scan().As<float*>()),//GTA5.exe+0x26EB4E4 //26BBC34
  21. blue_cloud(Signature("? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 15").Scan().As<float*>()),//GTA5.exe+0x26EB4E0 //26BBC38
  22. //red_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC30
  23. //green_cloud(Signature("? ? ? ? ? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC34
  24. //blue_cloud(Signature("? ? ? ? ? ? ? ? 1B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B8 ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? 17 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3C 16 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ?").Scan().As<float*>()),//GTA5.exe+26BBC38
  25. m_azimuth_west_red(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+0x26EB1B0 //tu scan 48 83 EC 68 0F 29 74 24 50 0F 28 35 tu appuis dessus xmmword_7FF6EFFDB300 et tu compte 6 db h au dessus
  26. m_azimuth_west_green(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB904
  27. m_azimuth_west_blue(Signature("? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F 2A ? ? ? ? ? ? 3F ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB908
  28. //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
  29. //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
  30. //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
  31. m_azimuth_est_red(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+0x26EB180
  32. m_azimuth_est_green(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+0x26EB184
  33. m_azimuth_est_blue(Signature("? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+0x26EB188
  34. //m_azimuth_est_red(Signature("? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D0
  35. //m_azimuth_est_green(Signature("? ? ? ? ? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D4
  36. //m_azimuth_est_blue(Signature("? ? ? ? ? ? ? 3D ? ? 80 3F ? ? ? ? ? ? ? ? ? ? ? ? 2C ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3D ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 2B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 29 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E0 B0 3C ? ? ? 3F ? ? ? ? ? ? ? ? ? ? ? ? 28").Scan().As<float*>()),//GTA5.exe+26BB8D8
  37.  
  38.  
  39. float m_function::FogValue = 0.0f;
  40.  
  41. int m_function::lastrdatachar = 0;
  42. bool m_function::toggleoffsetrdata = 0;
  43. bool getlineRDATA = 1;
  44. int rdataLINE = 0;
  45. int getRDATAline()
  46. {
  47. rdataLINE = ARRAYSIZE(rdata);
  48. return 0;
  49. }
  50. int m_function::offsetrdatatoggle()
  51. {
  52. if (getlineRDATA)
  53. {
  54. getRDATAline();
  55. getlineRDATA = 0;
  56. }
  57. if (m_function::toggleoffsetrdata)
  58. {
  59. DWORD ticks = GetTickCount64();
  60. DWORD milliseconds = ticks % 1000;
  61. ticks /= 1000;
  62. DWORD seconds = ticks % 60;
  63. int getTimer = seconds;
  64. if (getTimer % 2 == 0)
  65. {
  66. if (m_function::lastrdatachar <= rdataLINE)
  67. {
  68. std::string datar = std::string(rdata[m_function::lastrdatachar]);
  69. Log::Msg((char*)datar.c_str());
  70. int m_dwIP;
  71. std::istringstream ss(datar);
  72. ss >> std::hex >> m_dwIP;
  73. string str = std::to_string(m_dwIP);
  74. //Log::Msg((char*)std::string(std::to_string(m_dwIP)).c_str());
  75. Log::Msg((char*)str.c_str());
  76. uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
  77. *((int*)(base_address + (m_dwIP))) = m_function::FogValue;
  78. m_function::lastrdatachar = m_function::lastrdatachar + 1;
  79. }
  80. else
  81. {
  82. m_function::toggleoffsetrdata = 0;
  83. m_function::lastrdatachar = 0;
  84. }
  85. }
  86. }
  87. return 0;
  88. }
  89.  
  90. int m_function::offsetrdata()
  91. {
  92. if (IsKeyPressed(VK_ADD))
  93. {
  94. m_function::FogValue = 0.0f;
  95. }
  96. if (IsKeyPressed(VK_SUBTRACT))
  97. {
  98. m_function::FogValue = -255.0f;
  99. }
  100. for (int i = 0; i < ARRAYSIZE(rdata); i++)//pointdata
  101. {
  102. if (Menu::Option(rdata[i]))
  103. {
  104. std::string datar = std::string(rdata[i]);
  105. Log::Msg((char*)datar.c_str());
  106. int m_dwIP;
  107. std::istringstream ss(datar);
  108. ss >> std::hex >> m_dwIP;
  109. string str = std::to_string(m_dwIP);
  110. Log::Msg((char*)std::string(std::to_string(m_dwIP)).c_str());
  111. Log::Msg((char*)str.c_str());
  112. uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
  113. *((int*)(base_address + (m_dwIP))) = m_function::FogValue; //? ? ? ? 6F 12 83 3A 0A D7 23 3C 35 FA 8E 3C 08 21 04 3D 89 88 08 3D
  114. }
  115. }
  116. return 0;
  117. }
  118.  
  119.  
  120. #pragma region changesclouds
  121. case changesclouds:
  122. {
  123. Menu::Title("Weather Menu");
  124. headers::thunderheaders();
  125. Menu::MenuOption("azimuth east", azimutheast);
  126. Menu::MenuOption("azimuth west", azimuthwest);
  127. Menu::MenuOption("azimuth transition", azimuthtransition);
  128. Menu::MenuOption("zenithtransition", zenithtransition);
  129. Menu::MenuOption("azimuthz", azimuthz);
  130. //Menu::MenuOption("cloudbase", cloudbase);
  131. //Menu::MenuOption("zenith", zenith);
  132. m_function::changeclouds();
  133. headers::thunderbackgrounds();
  134. backgrounds::casesixteen();
  135. }
  136. break;
  137. #pragma endregion
  138. #pragma region trafficspeed
  139. case trafficspeed:
  140. {
  141. Menu::Title("Traffic Speed");
  142. headers::thunderheaders();
  143. m_function::trafficspeed();
  144. headers::thunderbackgrounds();
  145. backgrounds::casesixteen();
  146. }
  147. break;
  148. #pragma endregion
  149.  
  150. #pragma region azimuthz
  151. case azimuthz:
  152. {
  153. Menu::Title("Change Color");
  154. headers::thunderheaders();
  155. Menu::Float("zenith_red value", g_Settings.zenith_red, 0.f, 255.0f, 1.f);
  156. Menu::Float("zenith_green value", g_Settings.zenith_green, 0.f, 255.0f, 1.f);
  157. Menu::Float("zenith_blue value", g_Settings.zenith_blue, 0.f, 255.0f, 1.f);
  158. Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
  159. if (Menu::Option("Color Pattern1"))
  160. {
  161. std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
  162. *(float*)g_GameVariables->red_zenith = (g_Settings.zenith_red / 255.f) * m_vars.m_zenith_intensity;
  163. *(float*)g_GameVariables->green_zenith = (g_Settings.zenith_green / 255.f) * m_vars.m_zenith_intensity;
  164. *(float*)g_GameVariables->blue_zenith = (g_Settings.zenith_blue / 255.f) * m_vars.m_zenith_intensity;
  165. }
  166. if (Menu::Option("Color Pattern2"))
  167. {
  168. std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
  169. 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);
  170. g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
  171. g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
  172. g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
  173. g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
  174. *(float*)g_GameVariables->red_zenith = (g_Settings.m_SkyRed / 255.f) * g_Settings.m_SkyAlpha;
  175. *(float*)g_GameVariables->green_zenith = (g_Settings.m_SkyGreen / 255.f) * g_Settings.m_SkyAlpha;
  176. *(float*)g_GameVariables->blue_zenith = (g_Settings.m_SkyBlue / 255.f) * g_Settings.m_SkyAlpha;
  177. }
  178. if (Menu::Option("Color Pattern3"))
  179. {
  180. std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
  181. 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);
  182. g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
  183. g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
  184. g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
  185. g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
  186. *(float*)g_GameVariables->red_zenith = g_Settings.m_SkyRed;
  187. *(float*)g_GameVariables->green_zenith = g_Settings.m_SkyGreen;
  188. *(float*)g_GameVariables->blue_zenith = g_Settings.m_SkyBlue;
  189. }
  190. Menu::Float("m_zenith_transition_red value", m_vars.m_zenith_transition_red, 0.f, 255.0f, 1.f);
  191. Menu::Float("m_zenith_transition_green value", m_vars.m_zenith_transition_green, 0.f, 255.0f, 1.f);
  192. Menu::Float("m_zenith_transition_blue value", m_vars.m_zenith_transition_blue, 0.f, 255.0f, 1.f);
  193. Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
  194. if (Menu::Option("Color Transition"))
  195. {
  196. std::fill_n(g_GameVariables->m_zenith_transition_patch, 7, '\x90');
  197. uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
  198. uintptr_t zenith_transition_red = engine::scan_address(base_address + 0x26EB210, {});//0x26BB990
  199. uintptr_t zenith_transition_green = engine::scan_address(base_address + 0x26EB214, {});//0x26BB994
  200. uintptr_t zenith_transition_blue = engine::scan_address(base_address + 0x26EB218, {});//0x26BB998
  201.  
  202. *(float*)zenith_transition_red = (m_vars.m_zenith_transition_red / 255.f) * m_vars.m_zenith_transition_intensity;
  203. *(float*)zenith_transition_green = (m_vars.m_zenith_transition_green / 255.f) * m_vars.m_zenith_transition_intensity;
  204. *(float*)zenith_transition_blue = (m_vars.m_zenith_transition_blue / 255.f) * m_vars.m_zenith_transition_intensity;
  205. }
  206. if (Menu::Option("Color Transition Pattern"))
  207. {
  208. std::fill_n(g_GameVariables->m_zenith_transition_patch, 7, '\x90');
  209. 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);
  210. g_Settings.m_SkyAlpha = (hash_code & 0xFF000000) >> 24;
  211. g_Settings.m_SkyRed = (hash_code & 0x00FF0000) >> 16;
  212. g_Settings.m_SkyGreen = (hash_code & 0x0000FF00) >> 8;
  213. g_Settings.m_SkyBlue = (hash_code & 0x000000FF);
  214. *(float*)g_GameVariables->red_transition = g_Settings.m_SkyRed;
  215. *(float*)g_GameVariables->green_transition = g_Settings.m_SkyGreen;
  216. *(float*)g_GameVariables->blue_transition = g_Settings.m_SkyBlue;
  217. }
  218. if (Menu::Option("Reset"))
  219. {
  220. std::copy_n("\x0F\x29\xA2\xE0", 7, g_GameVariables->m_zenith_transition_patch);
  221. }
  222. if (Menu::Option("Reset2"))
  223. {
  224. std::copy_n("\x0F\x29\xA2\xB0", 7, g_GameVariables->m_zenith_transition_patch);
  225. }
  226. headers::thunderbackgrounds();
  227. backgrounds::casefourteen();
  228. }
  229. break;
  230. #pragma endregion
  231. #pragma region azimuthwest
  232. case azimuthwest:
  233. {
  234. Menu::Title("Change Color");
  235. headers::thunderheaders();
  236. Menu::Float("m_azimuth_west_red value", m_vars.m_azimuth_west_red, 0.f, 255.0f, 1.f);
  237. Menu::Float("m_azimuth_west_green value", m_vars.m_azimuth_west_green, 0.f, 255.0f, 1.f);
  238. Menu::Float("m_azimuth_west_blue value", m_vars.m_azimuth_west_blue, 0.f, 255.0f, 1.f);
  239. Menu::Float("m_azimuth_west_intensity value", m_vars.m_azimuth_west_intensity, 0.f, 255.0f, 1.f);
  240. if (Menu::Option("m_azimuth_west"))
  241. {
  242. std::fill_n(g_GameVariables->m_west_azimuth_patch, 4, '\x90');
  243. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  244. uintptr_t west_red = engine::scan_address(g_base_address + 0x26EB1B0, {});
  245. uintptr_t west_green = engine::scan_address(g_base_address + 0x26EB1B4, {});
  246. uintptr_t west_blue = engine::scan_address(g_base_address + 0x26EB1B8, {});
  247. *(float*)west_red = (m_vars.m_azimuth_west_red / 255.f) * m_vars.m_azimuth_west_intensity;
  248. *(float*)west_green = (m_vars.m_azimuth_west_green / 255.f) * m_vars.m_azimuth_west_intensity;
  249. *(float*)west_blue = (m_vars.m_azimuth_west_blue / 255.f) * m_vars.m_azimuth_west_intensity;
  250. }
  251. if (Menu::Option("m_azimuth_west Pattern"))
  252. {
  253. std::fill_n(g_GameVariables->m_west_azimuth_patch, 4, '\x90');
  254. *(float*)g_GameVariables->m_azimuth_west_red = (m_vars.m_azimuth_west_red / 255.f) * m_vars.m_azimuth_west_intensity;
  255. *(float*)g_GameVariables->m_azimuth_west_green = (m_vars.m_azimuth_west_green / 255.f) * m_vars.m_azimuth_west_intensity;
  256. *(float*)g_GameVariables->m_azimuth_west_blue = (m_vars.m_azimuth_west_blue / 255.f) * m_vars.m_azimuth_west_intensity;
  257. }
  258. if (Menu::Option("Reset"))
  259. {
  260. std::copy_n("\x0F\x29\x62\x50", 4, g_GameVariables->m_west_azimuth_patch);
  261. }
  262. headers::thunderbackgrounds();
  263. backgrounds::caseseven();
  264. }
  265. break;
  266. #pragma endregion
  267. #pragma region sunintensity
  268. case sunintensity:
  269. {
  270. Menu::Title("Sun Change Color");
  271. headers::thunderheaders();
  272. if (Menu::Option((char*)langage::h16.c_str())) { TIME::SET_CLOCK_TIME(16, 0, 0); }
  273. Menu::Float("redsun value", g_Settings.sunred, 0.f, 255.0f, 1.f);
  274. Menu::Float("greensun value", g_Settings.sungreen, 0.f, 255.0f, 1.f);
  275. Menu::Float("bluesun value", g_Settings.sunblue, 0.f, 255.0f, 1.f);
  276. Menu::Float("sunalpha value", g_Settings.sunalpha, 0.f, 255.0f, 1.f);
  277. if (Menu::Option("sun"))
  278. {
  279. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  280. memset(reinterpret_cast<void*>(g_base_address + 0xE437F2), 0x90, 4); //E43896//E4369E//0xE437F2
  281. uintptr_t redsun = engine::scan_address(g_base_address + 0x2851EA0, {});//28367E0//0x2822600 //0x2835800
  282. uintptr_t greensun = engine::scan_address(g_base_address + 0x2851EA4, {});//0x28367E4//0x2822604 //0x2835804
  283. uintptr_t bluesun = engine::scan_address(g_base_address + 0x2851EA8, {});//0x28367E8//0x2822608 //0x2835808
  284. *(float*)redsun = (g_Settings.sunred / 255.f) * g_Settings.sunalpha;
  285. *(float*)greensun = (g_Settings.sungreen / 255.f) * g_Settings.sunalpha;
  286. *(float*)bluesun = (g_Settings.sunblue / 255.f) * g_Settings.sunalpha;
  287. }
  288. if (Menu::Option("Reset Sun"))
  289. {
  290. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  291. std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + 0xE4EBDA));//E437F2//moon
  292. }
  293.  
  294. Menu::Float("redsun2 value", g_Settings.sunred2, 0.f, 255.0f, 1.f);
  295. Menu::Float("greensun2 value", g_Settings.sungreen2, 0.f, 255.0f, 1.f);
  296. Menu::Float("bluesun2 value", g_Settings.sunblue2, 0.f, 255.0f, 1.f);
  297. Menu::Float("sunalpha2 value", g_Settings.sunalpha2, 0.f, 255.0f, 1.f);
  298. if (Menu::Option("sun Atmosphère"))
  299. {
  300. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  301. memset(reinterpret_cast<void*>(g_base_address + 0xE4EBD2), 0x90, 4);//0xE4388E//0xE437EA//0xE43696
  302. uintptr_t redsun2 = engine::scan_address(g_base_address + 0x2851E94, {});//28367D4//0x28357F4//0x28225F4
  303. uintptr_t greensun2 = engine::scan_address(g_base_address + 0x2851E98, {});//28367D8//0x28357F8//0x28225F8
  304. uintptr_t bluesun2 = engine::scan_address(g_base_address + 0x2851E9C, {});//28367DC//0x28357FC//0x28225FC
  305. *(float*)redsun2 = (g_Settings.sunred2 / 255.f) * g_Settings.sunalpha2;
  306. *(float*)greensun2 = (g_Settings.sungreen2 / 255.f) * g_Settings.sunalpha2;
  307. *(float*)bluesun2 = (g_Settings.sunblue2 / 255.f) * g_Settings.sunalpha2;
  308. }
  309. if (Menu::Option("Reset Sun Atmosph"))
  310. {
  311. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  312. std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + 0xE4EBD2));//E437EA//moon
  313. }
  314.  
  315. Menu::Float("redsun3 value", g_Settings.sun_red, 0.f, 255.0f, 1.f);
  316. Menu::Float("greensun3 value", g_Settings.sun_green, 0.f, 255.0f, 1.f);
  317. Menu::Float("bluesun3 value", g_Settings.sun_blue, 0.f, 255.0f, 1.f);
  318. Menu::Float("sunalpha3 value", g_Settings.sun_alpha, 0.f, 255.0f, 1.f);
  319.  
  320.  
  321.  
  322. if (Menu::Option("Sun Pattern"))
  323. {
  324. 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");
  325. DWORD64* d_location = nullptr;
  326. d_location = (DWORD64*)SunPTR.count(1).get(0).get<DWORD64*>(0);
  327. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  328. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  329. Log::Msg((char*)datar.c_str());
  330. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  331. std::stringstream myStrm(datar);
  332. DWORD64 x;
  333. myStrm >> x;
  334. std::string address2;
  335. stringstream addrs2;
  336. addrs2 << hex << "0x" << x;
  337. address2 = addrs2.str();
  338. Log::Msg((char*)address2.c_str());
  339.  
  340. std::string address;
  341. stringstream addrs;
  342. addrs << hex << "0x" << base_address;
  343. address = addrs.str();
  344. Log::Msg((char*)address.c_str());
  345. std::stringstream myStrm1;
  346. myStrm1 << base_address;
  347. DWORD64 x1;
  348. myStrm1 >> x1;
  349. std::stringstream myStrm2(datar);
  350. DWORD64 x2;
  351. myStrm2 >> x2;
  352. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  353. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  354. std::string address3;
  355. stringstream addrs3;
  356. addrs3 << hex << "0x" << in2;
  357. address3 = addrs3.str();
  358. Log::Msg((char*)address3.c_str());
  359.  
  360. Addresss::SunPointer = in2;
  361. //0x2822d6e
  362. Addresss::SunPointerred = (DWORD64)Addresss::SunPointer - (DWORD64)0x76E;
  363. Addresss::SunPointergreen = (DWORD64)Addresss::SunPointer - (DWORD64)0x76A;
  364. Addresss::SunPointerblue = (DWORD64)Addresss::SunPointer - (DWORD64)0x766;
  365. Addresss::SunPointerpatch = (DWORD64)Addresss::SunPointer - (DWORD64)0x1A03A34;//19F36B8
  366. /*
  367. 0x2822d6e - 0xE4369E = 0x19DF6D0
  368. 0x2822d6e - 0x2822600 = 0x76E
  369. 0x2822d6e - 0x2822604 = 0x76A
  370. 0x2822d6e - 0x2822608 = 0x766
  371. */
  372. memset(reinterpret_cast<void*>(base_address + Addresss::SunPointerpatch), 0x90, 4);
  373. uintptr_t redsun2 = engine::scan_address(base_address + Addresss::SunPointerred, {});
  374. uintptr_t greensun2 = engine::scan_address(base_address + Addresss::SunPointergreen, {});
  375. uintptr_t bluesun2 = engine::scan_address(base_address + Addresss::SunPointerblue, {});
  376. *(float*)redsun2 = (g_Settings.sun_red / 255.f) * g_Settings.sun_alpha;
  377. *(float*)greensun2 = (g_Settings.sun_green / 255.f) * g_Settings.sun_alpha;
  378. *(float*)bluesun2 = (g_Settings.sun_blue / 255.f) * g_Settings.sun_alpha;
  379. }
  380. if (Menu::Option("Reset Sun"))
  381. {
  382. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  383. std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + Addresss::SunPointerpatch));//0xE4369E
  384. }
  385. Menu::Float("redsun A value", g_Settings.sun_red_a, 0.f, 255.0f, 1.f);
  386. Menu::Float("greensun A value", g_Settings.sun_green_a, 0.f, 255.0f, 1.f);
  387. Menu::Float("bluesun A value", g_Settings.sun_blue_a, 0.f, 255.0f, 1.f);
  388. Menu::Float("sun A alpha4 value", g_Settings.sun_alpha, 0.f, 255.0f, 1.f);
  389. if (Menu::Option("sun Atmosphère Pattern"))
  390. {
  391. 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");
  392. DWORD64* d_location = nullptr;
  393. d_location = (DWORD64*)SunPTR.count(1).get(0).get<DWORD64*>(0);
  394. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  395. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  396. Log::Msg((char*)datar.c_str());
  397. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  398. std::stringstream myStrm(datar);
  399. DWORD64 x;
  400. myStrm >> x;
  401. std::string address2;
  402. stringstream addrs2;
  403. addrs2 << hex << "0x" << x;
  404. address2 = addrs2.str();
  405. Log::Msg((char*)address2.c_str());
  406.  
  407. std::string address;
  408. stringstream addrs;
  409. addrs << hex << "0x" << base_address;
  410. address = addrs.str();
  411. Log::Msg((char*)address.c_str());
  412. std::stringstream myStrm1;
  413. myStrm1 << base_address;
  414. DWORD64 x1;
  415. myStrm1 >> x1;
  416. std::stringstream myStrm2(datar);
  417. DWORD64 x2;
  418. myStrm2 >> x2;
  419. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  420. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  421. std::string address3;
  422. stringstream addrs3;
  423. addrs3 << hex << "0x" << in2;
  424. address3 = addrs3.str();
  425. Log::Msg((char*)address3.c_str());
  426.  
  427. Addresss::SunPointerat = in2;
  428. //0x2822d6e
  429. Addresss::SunPointerredat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x77A;
  430. Addresss::SunPointergreenat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x776;
  431. Addresss::SunPointerblueat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x772;
  432. Addresss::SunPointerpatchat = (DWORD64)Addresss::SunPointerat - (DWORD64)0x1A03A3C;//19F36C0//0x19F2784//0x19DF6D8
  433. /*
  434. 0x2822d6e - 0xE43696 = 0x19DF6D8
  435. 0x2822d6e - 0x28225F4 = 0x77A
  436. 0x2822d6e - 0x28225F8 = 0x776
  437. 0x2822d6e - 0x28225FC = 0x772
  438. */
  439. memset(reinterpret_cast<void*>(base_address + Addresss::SunPointerpatchat), 0x90, 4);
  440. uintptr_t redsun2 = engine::scan_address(base_address + Addresss::SunPointerredat, {});
  441. uintptr_t greensun2 = engine::scan_address(base_address + Addresss::SunPointergreenat, {});
  442. uintptr_t bluesun2 = engine::scan_address(base_address + Addresss::SunPointerblueat, {});
  443. *(float*)redsun2 = (g_Settings.sun_red_a / 255.f) * g_Settings.sun_alpha_a;
  444. *(float*)greensun2 = (g_Settings.sun_green_a / 255.f) * g_Settings.sun_alpha_a;
  445. *(float*)bluesun2 = (g_Settings.sun_blue_a / 255.f) * g_Settings.sun_alpha_a;
  446. }
  447.  
  448. if (Menu::Option("Reset Sun Atmosph"))
  449. {
  450. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  451. std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + Addresss::SunPointerpatchat));
  452. }
  453.  
  454.  
  455.  
  456. headers::thunderbackgrounds();
  457. backgrounds::casesixteen();
  458. }
  459. break;
  460. #pragma endregion
  461. #pragma region moonintensity
  462. case moonintensity:
  463. {
  464. Menu::Title("Moon Change Color");
  465. headers::thunderheaders();
  466. if (Menu::Option((char*)langage::h3.c_str())) { TIME::SET_CLOCK_TIME(3, 0, 0); }
  467.  
  468. Menu::Float("redmoon value", g_Settings.moonred, 0.f, 255.0f, 1.f);
  469. Menu::Float("greenmoon value", g_Settings.moongreen, 0.f, 255.0f, 1.f);
  470. Menu::Float("bluemoon value", g_Settings.moonblue, 0.f, 255.0f, 1.f);
  471. Menu::Float("moonalpha value", g_Settings.moonalpha, 0.f, 255.0f, 1.f);
  472. if (Menu::Option("Moon"))
  473. {
  474. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  475. memset(reinterpret_cast<void*>(g_base_address + 0xE4EBED), 0x90, 4);//E438A9//0xE436B1//0xE43805
  476. memset(reinterpret_cast<void*>(g_base_address + 0xE4EBF4), 0x90, 4);//E438B0//0xE436B1//0xE4380C
  477. uintptr_t redmoon = engine::scan_address(g_base_address + 0x2851EC8, {});//2836808//0x2835828
  478. uintptr_t greenmoon = engine::scan_address(g_base_address + 0x2851ECC, {});//283680C//0x283582C
  479. uintptr_t bluemoon = engine::scan_address(g_base_address + 0x2851ED0, {});//2836810//0x2835830
  480. *(float*)redmoon = (g_Settings.moonred / 255.f) * g_Settings.moonalpha;
  481. *(float*)greenmoon = (g_Settings.moongreen / 255.f) * g_Settings.moonalpha;
  482. *(float*)bluemoon = (g_Settings.moonblue / 255.f) * g_Settings.moonalpha;
  483. }
  484. //GTA5.exe + E43805 - 0F29 41 60 - movaps[rcx + 60], xmm0
  485. //GTA5.exe+E4380C - 0F29 49 F0 - movaps [rcx-10],xmm1
  486.  
  487. if (Menu::Option("Reset Moon"))
  488. {
  489. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  490. std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + 0xE4EBED));//0xE43805//moon
  491. std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + 0xE4EBF4));//E4380C//moon
  492. }
  493.  
  494. Menu::Float("redmoon2 value", g_Settings.moon_red, 0.f, 255.0f, 1.f);
  495. Menu::Float("greenmoon2 value", g_Settings.moon_green, 0.f, 255.0f, 1.f);
  496. Menu::Float("bluemoon2 value", g_Settings.moon_blue, 0.f, 255.0f, 1.f);
  497. Menu::Float("moonalpha2 value", g_Settings.moon_alpha, 0.f, 255.0f, 1.f);
  498.  
  499. if (Menu::Option("moon2 Pattern"))
  500. {
  501. 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");
  502. DWORD64* d_location = nullptr;
  503. d_location = (DWORD64*)moonPTR.count(1).get(0).get<DWORD64*>(0);
  504. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  505. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  506. Log::Msg((char*)datar.c_str());
  507. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  508. std::stringstream myStrm(datar);
  509. DWORD64 x;
  510. myStrm >> x;
  511. std::string address2;
  512. stringstream addrs2;
  513. addrs2 << hex << "0x" << x;
  514. address2 = addrs2.str();
  515. Log::Msg((char*)address2.c_str());
  516.  
  517. std::string address;
  518. stringstream addrs;
  519. addrs << hex << "0x" << base_address;
  520. address = addrs.str();
  521. Log::Msg((char*)address.c_str());
  522. std::stringstream myStrm1;
  523. myStrm1 << base_address;
  524. DWORD64 x1;
  525. myStrm1 >> x1;
  526. std::stringstream myStrm2(datar);
  527. DWORD64 x2;
  528. myStrm2 >> x2;
  529. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  530. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  531. std::string address3;
  532. stringstream addrs3;
  533. addrs3 << hex << "0x" << in2;
  534. address3 = addrs3.str();
  535. Log::Msg((char*)address3.c_str());
  536.  
  537. Addresss::MoonPointer = in2;
  538.  
  539. Addresss::MoonPointerred = (DWORD64)Addresss::MoonPointer - (DWORD64)0x777;//0x2822D9F - 0x2822628 = 0x777
  540. Addresss::MoonPointergreen = (DWORD64)Addresss::MoonPointer - (DWORD64)0x773;//0x2822D9F - 0x282262C = 0x773
  541. Addresss::MoonPointerblue = (DWORD64)Addresss::MoonPointer - (DWORD64)0x76F;//0x2822D9F - 0x2822630 = 0x76F
  542. Addresss::MoonPointerpatch = (DWORD64)Addresss::MoonPointer - (DWORD64)0x1A03A52;//19F36D6//0x2822D9F - 0xE436B1 = 0x19DF6EE
  543. Addresss::MoonPointerpatch_ = (DWORD64)Addresss::MoonPointer - (DWORD64)0x1A03A4B;//19F36CF//0x2822D9F - 0xE436B1 = 0x19DF6EE
  544. //2835F9F - E4380C = 19F 2793
  545. memset(reinterpret_cast<void*>(base_address + Addresss::MoonPointerpatch), 0x90, 4);
  546. uintptr_t redmoon = engine::scan_address(base_address + Addresss::MoonPointerred, {});
  547. uintptr_t greenmoon = engine::scan_address(base_address + Addresss::MoonPointergreen, {});
  548. uintptr_t bluemoon = engine::scan_address(base_address + Addresss::MoonPointerblue, {});
  549. *(float*)redmoon = (g_Settings.moon_red / 255.f) * g_Settings.moon_alpha;
  550. *(float*)greenmoon = (g_Settings.moon_green / 255.f) * g_Settings.moon_alpha;
  551. *(float*)bluemoon = (g_Settings.moon_blue / 255.f) * g_Settings.moon_alpha;
  552.  
  553. }
  554. if (Menu::Option("Reset Moon Pattern"))
  555. {
  556. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  557. std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + Addresss::MoonPointerpatch));//moon
  558. std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + Addresss::MoonPointerpatch_));//moon
  559. }
  560.  
  561.  
  562. headers::thunderbackgrounds();
  563. /*backgrounds::caseseven();*/
  564. /*backgrounds::casesixteen();*/
  565. backgrounds::casethirteen();
  566. }
  567. break;
  568. #pragma endregion
  569.  
  570. #pragma region skycolor
  571. case skycolor:
  572. {
  573. Menu::Title("Sky Change Color");
  574. headers::thunderheaders();
  575.  
  576. Menu::Float("redsky value", g_Settings.sky_red_p, 0.f, 255.0f, 1.f);
  577. Menu::Float("greensky value", g_Settings.sky_green_p, 0.f, 255.0f, 1.f);
  578. Menu::Float("bluesky value", g_Settings.sky_blue_p, 0.f, 255.0f, 1.f);
  579. Menu::Float("skyalpha value", g_Settings.sky_alpha_p, 0.f, 255.0f, 1.f);
  580. if (Menu::Option("Sky Pattern"))
  581. {
  582. 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");
  583. DWORD64* d_location = nullptr;
  584. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  585. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  586. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  587. Log::Msg((char*)datar.c_str());
  588. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  589. std::stringstream myStrm(datar);
  590. DWORD64 x;
  591. myStrm >> x;
  592. std::string address2;
  593. stringstream addrs2;
  594. addrs2 << hex << "0x" << x;
  595. address2 = addrs2.str();
  596. Log::Msg((char*)address2.c_str());
  597.  
  598. std::string address;
  599. stringstream addrs;
  600. addrs << hex << "0x" << base_address;
  601. address = addrs.str();
  602. Log::Msg((char*)address.c_str());
  603. std::stringstream myStrm1;
  604. myStrm1 << base_address;
  605. DWORD64 x1;
  606. myStrm1 >> x1;
  607. std::stringstream myStrm2(datar);
  608. DWORD64 x2;
  609. myStrm2 >> x2;
  610. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  611. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  612. std::string address3;
  613. stringstream addrs3;
  614. addrs3 << hex << "0x" << in2;
  615. address3 = addrs3.str();
  616. Log::Msg((char*)address3.c_str());
  617.  
  618. Addresss::SkyPointer = in2;
  619. Addresss::SkyPointerred = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5C7;//0x2822D9F - 0x28227D8 = 0x5C7
  620. Addresss::SkyPointergreen = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5C3;//0x2822D9F - 0x28227DC = 0x5C3
  621. Addresss::SkyPointerblue = (DWORD64)Addresss::SkyPointer - (DWORD64)0x5BF;//0x2822D9F - 0x28227E0 = 0x5BF
  622. Addresss::SkyPointerpatch = (DWORD64)Addresss::SkyPointer - (DWORD64)0x1A03A7D;//19F3701//0x2822D9F - 0xE43686 = 0x19DF719 //0x19F27BD
  623. Addresss::SkyPointerpatch_ = (DWORD64)Addresss::SkyPointer - (DWORD64)0x1A03A75;//19F36F9//0x2822D9F - 0xE43686 = 0x19DF719 //0x19F27BD
  624. //GTA5.exe+E43686 - 0F29 49 10
  625.  
  626. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch), 0x90, 4);
  627. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch_), 0x90, 4);
  628. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred, {});
  629. uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen, {});
  630. uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue, {});
  631. *(float*)redsky2 = (g_Settings.sky_red_p / 255.f) * g_Settings.sky_alpha_p;
  632. *(float*)greensky2 = (g_Settings.sky_green_p / 255.f) * g_Settings.sky_alpha_p;
  633. *(float*)bluesky2 = (g_Settings.sky_blue_p / 255.f) * g_Settings.sky_alpha_p;
  634.  
  635. /*
  636. GTA5.exe+E43686 - 0F29 49 10
  637. // 7FF60BF327D8
  638. // GTA5.exe + 28227D8//red
  639. // 7FF60BF327DC
  640. // GTA5.exe + 28227DC//green
  641. // 7FF60BF327E0
  642. // GTA5.exe + 28227E0//blue
  643. */
  644. }
  645. if (Menu::Option("Reset Sky"))
  646. {
  647. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  648. std::copy_n("\x0F\x29\x49\x10", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch));//0xE43686
  649. std::copy_n("\x0F\x29\x41\x20", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch_));//0xE43686
  650. }
  651.  
  652.  
  653. Menu::Float("redsky1 value", g_Settings.sky_red_p1, 0.f, 255.0f, 1.f);
  654. Menu::Float("greensky1 value", g_Settings.sky_green_p1, 0.f, 255.0f, 1.f);
  655. Menu::Float("bluesky1 value", g_Settings.sky_blue_p1, 0.f, 255.0f, 1.f);
  656. Menu::Float("skyalpha1 value", g_Settings.sky_alpha_p1, 0.f, 255.0f, 1.f);
  657.  
  658. if (Menu::Option("Sky1 Pattern"))
  659. {
  660. 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");
  661. DWORD64* d_location = nullptr;
  662. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  663. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  664. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  665. Log::Msg((char*)datar.c_str());
  666. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  667. std::stringstream myStrm(datar);
  668. DWORD64 x;
  669. myStrm >> x;
  670. std::string address2;
  671. stringstream addrs2;
  672. addrs2 << hex << "0x" << x;
  673. address2 = addrs2.str();
  674. Log::Msg((char*)address2.c_str());
  675.  
  676. std::string address;
  677. stringstream addrs;
  678. addrs << hex << "0x" << base_address;
  679. address = addrs.str();
  680. Log::Msg((char*)address.c_str());
  681. std::stringstream myStrm1;
  682. myStrm1 << base_address;
  683. DWORD64 x1;
  684. myStrm1 >> x1;
  685. std::stringstream myStrm2(datar);
  686. DWORD64 x2;
  687. myStrm2 >> x2;
  688. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  689. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  690. std::string address3;
  691. stringstream addrs3;
  692. addrs3 << hex << "0x" << in2;
  693. address3 = addrs3.str();
  694. Log::Msg((char*)address3.c_str());
  695.  
  696. Addresss::SkyPointer1 = in2;
  697.  
  698. Addresss::SkyPointerred1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x73F;//0x2822D9F - 0x2822660 = 0x73F
  699. Addresss::SkyPointergreen1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x73B;//0x2822D9F - 0x2822664 = 0x73B
  700. Addresss::SkyPointerblue1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x737;//0x2822D9F - 0x2822668 = 0x737
  701. Addresss::SkyPointerpatch1 = (DWORD64)Addresss::SkyPointer1 - (DWORD64)0x1A03A75;//19F36F9//0x19F27BD //0x2822D9F - 0xE4368E = 0x19DF711
  702. //GTA5.exe+E4368E - 0F29 41 20
  703.  
  704. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch1), 0x90, 4);
  705. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred1, {});
  706. uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen1, {});
  707. uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue1, {});
  708. *(float*)redsky2 = (g_Settings.sky_red_p1 / 255.f) * g_Settings.sky_alpha_p1;
  709. *(float*)greensky2 = (g_Settings.sky_green_p1 / 255.f) * g_Settings.sky_alpha_p1;
  710. *(float*)bluesky2 = (g_Settings.sky_blue_p1 / 255.f) * g_Settings.sky_alpha_p1;
  711.  
  712. }
  713. if (Menu::Option("Reset Sky1"))
  714. {
  715. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  716. std::copy_n("\x0F\x29\x41\x20", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch1));
  717. }
  718.  
  719. Menu::Float("redsky2 value", g_Settings.sky_red_p2, 0.f, 255.0f, 1.f);
  720. Menu::Float("greensky2 value", g_Settings.sky_green_p2, 0.f, 255.0f, 1.f);
  721. Menu::Float("bluesky2 value", g_Settings.sky_blue_p2, 0.f, 255.0f, 1.f);
  722. Menu::Float("skyalpha2 value", g_Settings.sky_alpha_p2, 0.f, 255.0f, 1.f);
  723.  
  724. if (Menu::Option("Sky2 Pattern"))
  725. {
  726. 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");
  727. DWORD64* d_location = nullptr;
  728. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  729. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  730. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  731. Log::Msg((char*)datar.c_str());
  732. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  733. std::stringstream myStrm(datar);
  734. DWORD64 x;
  735. myStrm >> x;
  736. std::string address2;
  737. stringstream addrs2;
  738. addrs2 << hex << "0x" << x;
  739. address2 = addrs2.str();
  740. Log::Msg((char*)address2.c_str());
  741.  
  742. std::string address;
  743. stringstream addrs;
  744. addrs << hex << "0x" << base_address;
  745. address = addrs.str();
  746. Log::Msg((char*)address.c_str());
  747. std::stringstream myStrm1;
  748. myStrm1 << base_address;
  749. DWORD64 x1;
  750. myStrm1 >> x1;
  751. std::stringstream myStrm2(datar);
  752. DWORD64 x2;
  753. myStrm2 >> x2;
  754. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  755. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  756. std::string address3;
  757. stringstream addrs3;
  758. addrs3 << hex << "0x" << in2;
  759. address3 = addrs3.str();
  760. Log::Msg((char*)address3.c_str());
  761.  
  762. Addresss::SkyPointer2 = in2;
  763.  
  764. Addresss::SkyPointerred2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x733;//0x2822D9F - 0x282266C = 0x733
  765. Addresss::SkyPointergreen2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x72F;//0x2822D9F - 0x2822670 = 0x72F
  766. Addresss::SkyPointerblue2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x72B;//0x2822D9F - 0x2822674 = 0x72B
  767. Addresss::SkyPointerpatch2_ = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x1A03A75;//19F36F9//0x19F27BD//0x2822D9F - 0xE4368E = 0x19DF711
  768. Addresss::SkyPointerpatch2 = (DWORD64)Addresss::SkyPointer2 - (DWORD64)0x1A03A6D;//19F36F1//0x19F27B5//0x2822D9F - 0xE4368E = 0x19DF711
  769. //GTA5.exe + E4368E - 0F29 41 20 - movaps[rcx + 20], xmm0
  770. /*GTA5.exe + E437E2 - 0F29 41 20 - movaps[rcx + 20], xmm0
  771. GTA5.exe + E437EA - 0F29 49 30 - movaps[rcx + 30], xmm1*/
  772. /*2835F9F - E437E2 = 19F 27BD
  773. 2835F9F - E437EA = 19F 27B5*/
  774. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch2_), 0x90, 4);
  775. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch2), 0x90, 4);
  776. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred2, {});
  777. uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen2, {});
  778. uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue2, {});
  779. *(float*)redsky2 = (g_Settings.sky_red_p2 / 255.f) * g_Settings.sky_alpha_p2;
  780. *(float*)greensky2 = (g_Settings.sky_green_p2 / 255.f) * g_Settings.sky_alpha_p2;
  781. *(float*)bluesky2 = (g_Settings.sky_blue_p2 / 255.f) * g_Settings.sky_alpha_p2;
  782.  
  783. }
  784. if (Menu::Option("Reset Sky2"))
  785. {
  786. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  787. std::copy_n("\x0F\x29\x41\x20", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch2_));
  788. std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch2));
  789. }
  790.  
  791. Menu::Float("redsky3 value", g_Settings.sky_red_p3, 0.f, 255.0f, 1.f);
  792. Menu::Float("greensky3 value", g_Settings.sky_green_p3, 0.f, 255.0f, 1.f);
  793. Menu::Float("bluesky3 value", g_Settings.sky_blue_p3, 0.f, 255.0f, 1.f);
  794. Menu::Float("skyalpha3 value", g_Settings.sky_alpha_p3, 0.f, 255.0f, 1.f);
  795.  
  796. if (Menu::Option("Sky3 Pattern"))
  797. {
  798. 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");
  799. DWORD64* d_location = nullptr;
  800. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  801. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  802. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  803. Log::Msg((char*)datar.c_str());
  804. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  805. std::stringstream myStrm(datar);
  806. DWORD64 x;
  807. myStrm >> x;
  808. std::string address2;
  809. stringstream addrs2;
  810. addrs2 << hex << "0x" << x;
  811. address2 = addrs2.str();
  812. Log::Msg((char*)address2.c_str());
  813.  
  814. std::string address;
  815. stringstream addrs;
  816. addrs << hex << "0x" << base_address;
  817. address = addrs.str();
  818. Log::Msg((char*)address.c_str());
  819. std::stringstream myStrm1;
  820. myStrm1 << base_address;
  821. DWORD64 x1;
  822. myStrm1 >> x1;
  823. std::stringstream myStrm2(datar);
  824. DWORD64 x2;
  825. myStrm2 >> x2;
  826. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  827. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  828. std::string address3;
  829. stringstream addrs3;
  830. addrs3 << hex << "0x" << in2;
  831. address3 = addrs3.str();
  832. Log::Msg((char*)address3.c_str());
  833.  
  834. Addresss::SkyPointer3 = in2;
  835. Addresss::SkyPointerred3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x723;//0x2822D9F - 0x282267C = 0x723
  836. Addresss::SkyPointergreen3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x71F;//0x2822D9F - 0x2822680 = 0x71F
  837. Addresss::SkyPointerblue3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x71B;//0x2822D9F - 0x2822684 = 0x71B
  838. Addresss::SkyPointerpatch3 = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x1A03A6D;//19F36F1//0x19F27B5//0x2822D9F - 0xE43696 = 0x19DF709
  839. Addresss::SkyPointerpatch3_ = (DWORD64)Addresss::SkyPointer3 - (DWORD64)0x1A03A65;//19F36E9//0x19F27AD//0x2822D9F - 0xE4369E = 0x19DF701
  840. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch3), 0x90, 4);
  841. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch3_), 0x90, 4);
  842. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::SkyPointerred3, {});
  843. uintptr_t greensky2 = engine::scan_address(base_address + Addresss::SkyPointergreen3, {});
  844. uintptr_t bluesky2 = engine::scan_address(base_address + Addresss::SkyPointerblue3, {});
  845. *(float*)redsky2 = (g_Settings.sky_red_p3 / 255.f) * g_Settings.sky_alpha_p3;
  846. *(float*)greensky2 = (g_Settings.sky_green_p3 / 255.f) * g_Settings.sky_alpha_p3;
  847. *(float*)bluesky2 = (g_Settings.sky_blue_p3 / 255.f) * g_Settings.sky_alpha_p3;
  848. }
  849.  
  850. if (Menu::Option("Reset Sky3"))
  851. {
  852. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  853. std::copy_n("\x0F\x29\x49\x30", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch3));
  854. std::copy_n("\x0F\x29\x41\x40", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch3_));
  855. }
  856.  
  857. Menu::Float("Clouds value", g_Settings.sky_intensity_p4, 0.f, 5555.0f, 1.f);
  858. if (Menu::Option("Clouds1 Pattern"))
  859. {
  860. 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");
  861. DWORD64* d_location = nullptr;
  862. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  863. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  864. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  865. Log::Msg((char*)datar.c_str());
  866. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  867. std::stringstream myStrm(datar);
  868. DWORD64 x;
  869. myStrm >> x;
  870. std::string address2;
  871. stringstream addrs2;
  872. addrs2 << hex << "0x" << x;
  873. address2 = addrs2.str();
  874. Log::Msg((char*)address2.c_str());
  875.  
  876. std::string address;
  877. stringstream addrs;
  878. addrs << hex << "0x" << base_address;
  879. address = addrs.str();
  880. Log::Msg((char*)address.c_str());
  881. std::stringstream myStrm1;
  882. myStrm1 << base_address;
  883. DWORD64 x1;
  884. myStrm1 >> x1;
  885. std::stringstream myStrm2(datar);
  886. DWORD64 x2;
  887. myStrm2 >> x2;
  888. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  889. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  890. std::string address3;
  891. stringstream addrs3;
  892. addrs3 << hex << "0x" << in2;
  893. address3 = addrs3.str();
  894. Log::Msg((char*)address3.c_str());
  895. Addresss::SkyPointer4 = in2;
  896. Addresss::getSkyPointer4 = (DWORD64)Addresss::SkyPointer4 - (DWORD64)0x707;//0x2822D9F - 0x2822698 = 0x707
  897. Addresss::SkyPointerpatch4 = (DWORD64)Addresss::SkyPointer4 - (DWORD64)0x1A03A5D;//19F36E1//0x19F27A5//0x2822D9F - 0xE436A6 = 0x19DF6F9
  898. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch4), 0x90, 4);
  899. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::getSkyPointer4, {});
  900. *(float*)redsky2 = g_Settings.sky_intensity_p4;
  901. }
  902. if (Menu::Option("Reset Clouds1"))
  903. {
  904. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  905. std::copy_n("\x0F\x29\x49\x50", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch4));
  906. }
  907. Menu::Float("Clouds2 value", g_Settings.sky_intensity_p5, 0.f, 5555.0f, 1.f);
  908. if (Menu::Option("Clouds2 Pattern"))
  909. {
  910. 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");
  911. DWORD64* d_location = nullptr;
  912. d_location = (DWORD64*)SkyPTR.count(1).get(0).get<DWORD64*>(0);
  913. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  914. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  915. Log::Msg((char*)datar.c_str());
  916. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  917. std::stringstream myStrm(datar);
  918. DWORD64 x;
  919. myStrm >> x;
  920. std::string address2;
  921. stringstream addrs2;
  922. addrs2 << hex << "0x" << x;
  923. address2 = addrs2.str();
  924. Log::Msg((char*)address2.c_str());
  925.  
  926. std::string address;
  927. stringstream addrs;
  928. addrs << hex << "0x" << base_address;
  929. address = addrs.str();
  930. Log::Msg((char*)address.c_str());
  931. std::stringstream myStrm1;
  932. myStrm1 << base_address;
  933. DWORD64 x1;
  934. myStrm1 >> x1;
  935. std::stringstream myStrm2(datar);
  936. DWORD64 x2;
  937. myStrm2 >> x2;
  938. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  939. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  940. std::string address3;
  941. stringstream addrs3;
  942. addrs3 << hex << "0x" << in2;
  943. address3 = addrs3.str();
  944. Log::Msg((char*)address3.c_str());
  945. Addresss::SkyPointer5 = in2;
  946. Addresss::getSkyPointer5 = (DWORD64)Addresss::SkyPointer5 - (DWORD64)0x6FB;//0x2822D9F - 0x28226A4 = 0x6FB
  947. Addresss::SkyPointerpatch5 = (DWORD64)Addresss::SkyPointer5 - (DWORD64)0x1A03A52;//19F36D6//0x19F279A//0x2822D9F - 0xE436B1 = 0x19DF6EE
  948. memset(reinterpret_cast<void*>(base_address + Addresss::SkyPointerpatch5), 0x90, 4);
  949. uintptr_t redsky2 = engine::scan_address(base_address + Addresss::getSkyPointer5, {});
  950. *(float*)redsky2 = g_Settings.sky_intensity_p5;
  951. }
  952. if (Menu::Option("Reset Clouds2"))
  953. {
  954. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  955. std::copy_n("\x0F\x29\x41\x60", 4, reinterpret_cast<char*>(g_base_address + Addresss::SkyPointerpatch5));
  956. }
  957.  
  958.  
  959.  
  960. /*blackandwhiteflashGTA5.exe + 28227D1 GTA5.exe + 15F9B3C - F3 41 0F11 09 GTA5.exe + 15F9B57 - F3 41 0F11 01
  961. cloudsflash2GTA5.exe + E436A6 - 0F29 49 50 - movaps[rcx + 50], xmm1
  962. GTA5.exe + 2822698 - 7E 5E - jle GTA5.exe + 28226F8
  963. cloudsflashGTA5.exe + E436B1 - 0F29 41 60 - movaps[rcx + 60], xmm0
  964. GTA5.exe + 28226A4 - 9E - sahf*/
  965.  
  966.  
  967. headers::thunderbackgrounds();
  968. backgrounds::casesixteen();
  969. }
  970. break;
  971. #pragma endregion
  972.  
  973. #pragma region starintensity
  974. case starintensity:
  975. {
  976. Menu::Title("Star Change Color");
  977. headers::thunderheaders();
  978. /*Menu::Float("m_azimuth_transition_red value", m_vars.m_azimuth_transition_red, 0.f, 255.0f, 1.f);
  979. Menu::Float("m_azimuth_transition_green value", m_vars.m_azimuth_transition_green, 0.f, 255.0f, 1.f);
  980. Menu::Float("m_azimuth_transition_blue value", m_vars.m_azimuth_transition_blue, 0.f, 255.0f, 1.f);
  981. Menu::Float("m_azimuth_transition_intensity value", m_vars.m_azimuth_transition_intensity, 0.f, 255.0f, 1.f);*/
  982. //GTA5.exe + 2822628//MOON RED
  983.  
  984. //GTA5.exe + 2822628//MOON RED
  985. // GTA5.exe + 282262C//MOON GREEN
  986. // GTA5.exe + 2822630//MOON BLUE
  987. // memset(reinterpret_cast<void*>(g_Settings.m_ModuleBaseAddress + 0xE436B1), 0x90, 4);
  988. Menu::MenuOption((char*)langage::Times.c_str(), LobbyTimes);
  989.  
  990. Menu::Float("starintensity value", g_Settings.starintensity, 0.f, 5000.0f, 100.f);
  991. if (Menu::Option("Star"))
  992. {
  993. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  994. memset(reinterpret_cast<void*>(g_base_address + 0xE4EBF4), 0x90, 4);//0xE4380C
  995. *(float*)engine::scan_address(g_base_address + 0x2851EDC, {}) = g_Settings.starintensity;//0x282263C
  996. }
  997. if (Menu::Option("Reset Star"))
  998. {
  999. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  1000. std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + 0xE4EBF4));//E4380C//stars
  1001. //std::copy_n("\x0F\x29\xA2\xE0", 4, reinterpret_cast<char*>(g_base_address + 0xE3FFB1));//sky
  1002. }
  1003. Menu::Float("starintensity Pattern value", g_Settings.star_intensity_p, 0.f, 5000.0f, 100.f);
  1004. if (Menu::Option("Star Pattern"))
  1005. {
  1006. 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");
  1007. DWORD64* d_location = nullptr;
  1008. d_location = (DWORD64*)StarPTR.count(1).get(0).get<DWORD64*>(0);
  1009. std::string datar = std::string(std::to_string(reinterpret_cast<DWORD64>(d_location)));
  1010. DWORD64 base_address = DWORD64(GetModuleHandleA(nullptr));
  1011. Log::Msg((char*)datar.c_str());
  1012. Log::Msg((char*)std::string(std::to_string(base_address)).c_str());
  1013. std::stringstream myStrm(datar);
  1014. DWORD64 x;
  1015. myStrm >> x;
  1016. std::string address2;
  1017. stringstream addrs2;
  1018. addrs2 << hex << "0x" << x;
  1019. address2 = addrs2.str();
  1020. Log::Msg((char*)address2.c_str());
  1021.  
  1022. std::string address;
  1023. stringstream addrs;
  1024. addrs << hex << "0x" << base_address;
  1025. address = addrs.str();
  1026. Log::Msg((char*)address.c_str());
  1027. std::stringstream myStrm1;
  1028. myStrm1 << base_address;
  1029. DWORD64 x1;
  1030. myStrm1 >> x1;
  1031. std::stringstream myStrm2(datar);
  1032. DWORD64 x2;
  1033. myStrm2 >> x2;
  1034. DWORD64 in2 = ((DWORD64)x2 - (DWORD64)x1);
  1035. Log::Msg((char*)std::string(std::to_string(in2)).c_str());
  1036. std::string address3;
  1037. stringstream addrs3;
  1038. addrs3 << hex << "0x" << in2;
  1039. address3 = addrs3.str();
  1040. Log::Msg((char*)address3.c_str());
  1041.  
  1042. Addresss::StarPointer = in2;
  1043. Addresss::StarIntensity = (DWORD64)Addresss::StarPointer - (DWORD64)0x763;//0x2822D9F - 0x763 = 0x282263C
  1044. Addresss::StarPointerpatch = (DWORD64)Addresss::StarPointer - (DWORD64)0x1A03A4B;//0x19F36CF//0x19F2793//0x2822D9F - 0xE436B8 = 0x19DF6E7
  1045. memset(reinterpret_cast<void*>(base_address + Addresss::StarPointerpatch), 0x90, 4);
  1046.  
  1047. uintptr_t intensity_Star = engine::scan_address(base_address + Addresss::StarIntensity, {});
  1048. *(float*)intensity_Star = g_Settings.star_intensity_p;
  1049.  
  1050. }
  1051. if (Menu::Option("Reset Star"))
  1052. {
  1053. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  1054. std::copy_n("\x0F\x29\x49\xF0", 4, reinterpret_cast<char*>(g_base_address + Addresss::StarPointerpatch));//0xE436B8 //star
  1055. //std::copy_n("\x0F\x29\xA2\xE0", 4, reinterpret_cast<char*>(g_base_address + 0xE3FFB1));//0xE3FFB1 //sky
  1056. }
  1057.  
  1058. headers::thunderbackgrounds();
  1059. /*backgrounds::casesixteen();*/
  1060. backgrounds::caseseven();
  1061. }
  1062. break;
  1063. #pragma endregion
  1064.  
  1065.  
  1066.  
  1067. #pragma region zenithtransition
  1068. case zenithtransition:
  1069. {
  1070. Menu::Title("Change Color");
  1071. headers::thunderheaders();
  1072. Menu::Float("m_azimuth_transition_red value", m_vars.m_zenith_transition_red, 0.f, 255.0f, 1.f);
  1073. Menu::Float("m_azimuth_transition_green value", m_vars.m_zenith_transition_green, 0.f, 255.0f, 1.f);
  1074. Menu::Float("m_azimuth_transition_blue value", m_vars.m_zenith_transition_blue, 0.f, 255.0f, 1.f);
  1075. Menu::Float("m_azimuth_transition_intensity value", m_vars.m_zenith_transition_intensity, 0.f, 255.0f, 1.f);
  1076. if (Menu::Option("m_azimuth_transition"))
  1077. {
  1078. std::fill_n(g_GameVariables->m_zenith_transition_patch, 7, '\x90');
  1079. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  1080. uintptr_t azi_trans_red = engine::scan_address(g_base_address + 0x26EB240, {});
  1081. uintptr_t azi_trans_green = engine::scan_address(g_base_address + 0x26EB244, {});
  1082. uintptr_t azi_trans_blue = engine::scan_address(g_base_address + 0x26EB248, {});
  1083. *(float*)azi_trans_red = (m_vars.m_zenith_transition_red / 255.f) * m_vars.m_zenith_transition_intensity;
  1084. *(float*)azi_trans_green = (m_vars.m_zenith_transition_green / 255.f) * m_vars.m_zenith_transition_intensity;
  1085. *(float*)azi_trans_blue = (m_vars.m_zenith_transition_blue / 255.f) * m_vars.m_zenith_transition_intensity;
  1086. }
  1087. if (Menu::Option("Reset"))
  1088. {
  1089. std::copy_n("\x0F\x29\xA2\x80", 7, g_GameVariables->m_zenith_transition_patch);
  1090. }
  1091. if (Menu::Option("Reset 2"))
  1092. {
  1093. std::copy_n("\x0F\x29\xA2\xE0", 7, g_GameVariables->m_zenith_transition_patch);
  1094. }
  1095. headers::thunderbackgrounds();
  1096. backgrounds::casesix();
  1097. }
  1098. break;
  1099. #pragma endregion
  1100. #pragma region azimuthtransition
  1101. case azimuthtransition:
  1102. {
  1103. Menu::Title("Change Color");
  1104. headers::thunderheaders();
  1105. Menu::Float("m_azimuth_transition_red value", m_vars.m_azimuth_transition_red, 0.f, 255.0f, 1.f);
  1106. Menu::Float("m_azimuth_transition_green value", m_vars.m_azimuth_transition_green, 0.f, 255.0f, 1.f);
  1107. Menu::Float("m_azimuth_transition_blue value", m_vars.m_azimuth_transition_blue, 0.f, 255.0f, 1.f);
  1108. Menu::Float("m_azimuth_transition_intensity value", m_vars.m_azimuth_transition_intensity, 0.f, 255.0f, 1.f);
  1109. if (Menu::Option("m_azimuth_transition"))
  1110. {
  1111. std::fill_n(g_GameVariables->m_azimuth_transition_patch, 7, '\x90');
  1112. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  1113. uintptr_t azi_trans_red = engine::scan_address(g_base_address + 0x26EB1E0, {});
  1114. uintptr_t azi_trans_green = engine::scan_address(g_base_address + 0x26EB1E4, {});
  1115. uintptr_t azi_trans_blue = engine::scan_address(g_base_address + 0x26EB1E8, {});
  1116. *(float*)azi_trans_red = (m_vars.m_azimuth_transition_red / 255.f) * m_vars.m_azimuth_transition_intensity;
  1117. *(float*)azi_trans_green = (m_vars.m_azimuth_transition_green / 255.f) * m_vars.m_azimuth_transition_intensity;
  1118. *(float*)azi_trans_blue = (m_vars.m_azimuth_transition_blue / 255.f) * m_vars.m_azimuth_transition_intensity;
  1119. }
  1120. if (Menu::Option("Reset"))
  1121. {
  1122. std::copy_n("\x0F\x29\xA2\x80", 7, g_GameVariables->m_azimuth_transition_patch);
  1123. }
  1124. headers::thunderbackgrounds();
  1125. backgrounds::casesix();
  1126. }
  1127. break;
  1128. #pragma endregion
  1129. #pragma region zenith
  1130. case zenith:
  1131. {
  1132. Menu::Title("Change Color");
  1133. headers::thunderheaders();
  1134. Menu::Float("zenith_red value", m_vars.m_zenith_red, 0.f, 255.0f, 1.f);
  1135. Menu::Float("zenith_green value", m_vars.m_zenith_green, 0.f, 255.0f, 1.f);
  1136. Menu::Float("zenith_blue value", m_vars.m_zenith_blue, 0.f, 255.0f, 1.f);
  1137. Menu::Float("zenith_intensity value", m_vars.m_zenith_intensity, 0.f, 255.0f, 1.f);
  1138. if (Menu::Option("Clouds Color"))
  1139. {
  1140. std::fill_n(g_GameVariables->m_zenith_patch, 7, '\x90');
  1141. uintptr_t base_address = uintptr_t(GetModuleHandleA(nullptr));
  1142. uintptr_t zenith_red = engine::scan_address(base_address + 0x26BB960, {});
  1143. uintptr_t zenith_green = engine::scan_address(base_address + 0x26BB964, {});
  1144. uintptr_t zenith_blue = engine::scan_address(base_address + 0x26BB968, {});
  1145. *(float*)zenith_red = (m_vars.m_zenith_red / 255.f) * m_vars.m_zenith_intensity;
  1146. *(float*)zenith_green = (m_vars.m_zenith_green / 255.f) * m_vars.m_zenith_intensity;
  1147. *(float*)zenith_blue = (m_vars.m_zenith_blue / 255.f) * m_vars.m_zenith_intensity;
  1148. }
  1149. headers::thunderbackgrounds();
  1150. backgrounds::caseseven();
  1151. }
  1152. break;
  1153. #pragma endregion
  1154. #pragma region azimutheast
  1155. case azimutheast:
  1156. {
  1157. Menu::Title("Change Color");
  1158. headers::thunderheaders();
  1159. Menu::Float("m_azimuth_east_red value", m_vars.m_azimuth_east_red, 0.f, 255.0f, 1.f);
  1160. Menu::Float("m_azimuth_east_green value", m_vars.m_azimuth_east_green, 0.f, 255.0f, 1.f);
  1161. Menu::Float("m_azimuth_east_blue value", m_vars.m_azimuth_east_blue, 0.f, 255.0f, 1.f);
  1162. Menu::Float("m_azimuth_east_intensity value", m_vars.m_azimuth_east_intensity, 0.f, 255.0f, 1.f);
  1163. if (Menu::Option("m_azimuth_east "))
  1164. {
  1165. std::fill_n(g_GameVariables->m_east_azimuth_patch, 4, '\x90');
  1166. uintptr_t g_base_address = uintptr_t(GetModuleHandleA(nullptr));
  1167. uintptr_t east_red = engine::scan_address(g_base_address + 0x26EB180, {});
  1168. uintptr_t east_green = engine::scan_address(g_base_address + 0x26EB184, {});
  1169. uintptr_t east_blue = engine::scan_address(g_base_address + 0x26EB188, {});
  1170. *(float*)east_red = (m_vars.m_azimuth_east_red / 255.f) * m_vars.m_azimuth_east_intensity;
  1171. *(float*)east_green = (m_vars.m_azimuth_east_green / 255.f) * m_vars.m_azimuth_east_intensity;
  1172. *(float*)east_blue = (m_vars.m_azimuth_east_blue / 255.f) * m_vars.m_azimuth_east_intensity;
  1173. }
  1174. if (Menu::Option("m_azimuth_east Pattern"))
  1175. {
  1176. std::fill_n(g_GameVariables->m_east_azimuth_patch, 4, '\x90');
  1177. *(float*)g_GameVariables->m_azimuth_est_red = (m_vars.m_azimuth_east_red / 255.f) * m_vars.m_azimuth_east_intensity;
  1178. *(float*)g_GameVariables->m_azimuth_est_green = (m_vars.m_azimuth_east_green / 255.f) * m_vars.m_azimuth_east_intensity;
  1179. *(float*)g_GameVariables->m_azimuth_est_blue = (m_vars.m_azimuth_east_blue / 255.f) * m_vars.m_azimuth_east_intensity;
  1180. }
  1181. if (Menu::Option("Reset "))
  1182. {
  1183. std::copy_n("\x0F\x29\x62\x20", 4, g_GameVariables->m_east_azimuth_patch);
  1184. }
  1185. headers::thunderbackgrounds();
  1186. backgrounds::caseseven();
  1187. }
  1188. break;
  1189. #pragma endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement