Advertisement
Guest User

rcc full code

a guest
May 26th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.15 KB | None | 0 0
  1. <Windows.h>
  2.  
  3. #define WallArray 0x469124
  4. #define ModelNode 0x1ACB7D4
  5. bool SK = false;
  6. bool TagosPader = false;
  7. bool Multo = false;
  8. void RCC(void)
  9. {
  10.     DWORD pWallarray = *(DWORD *)(WallArray + 0xA);
  11.     if (GetAsyncKeyState(VK_F1) & 1) TagosPader = (!TagosPader);
  12.     if (TagosPader)
  13.     {
  14.         memcpy((PVOID)(pWallarray + 0xA4), (PBYTE)"\x00\x00\x00\x00\x00\x00", 6);
  15.     }
  16.     else
  17.     {
  18.         memcpy((PVOID)(pWallarray + 0xA4), (PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
  19.     }
  20.     if (GetAsyncKeyState(VK_F2) & 1) Multo = (!Multo);
  21.     if(Multo)
  22.     {
  23.         *(DWORD*)(pWallarray + 0xB8) = 0xE;
  24.     }
  25.     else
  26.     {
  27.     *(DWORD*)(pWallarray + 0xB8) = 5;
  28.     }
  29.     DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
  30.     DWORD pNodeMgr = *(DWORD*)(CShell + ModelNode);
  31.         if (pNodeMgr)
  32.         {
  33.             if (pNodeMgr != 0)
  34.             {
  35.                 for (int i = 0; i < 89; i++)
  36.                 {
  37.                     for (int x = 0; x < 3; x++)
  38.                     {
  39.                         if (GetAsyncKeyState(VK_F9) & 1) SK = (!SK);
  40.                         if (SK)
  41.                         {
  42.                             *(float*)((pNodeMgr + 0x38 + x * 4) + (i * 0x9c)) = 110;
  43.                         }
  44.                         else
  45.                         {
  46.                             *(float*)((pNodeMgr + 0x38) + (i * 0x9c)) = 18;
  47.                         }
  48.                     }
  49.                 }
  50.             }
  51.         }
  52. }
  53. bool Ready2Hook()
  54. {
  55.     if (GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFx.fxd") != NULL)
  56.         return 1;
  57.     return 0;
  58. }
  59. void HackEngine()
  60. {
  61.     while (!Ready2Hook())
  62.         Sleep(200);
  63.  
  64.     while (true)
  65.     {
  66.         RCC();
  67.     }
  68. }
  69. extern "C" __declspec(dllexport) BOOL WINAPI DllMain(HMODULE hDLL, DWORD dwReason, LPVOID lpvRe)
  70. {
  71.     if (dwReason == DLL_PROCESS_ATTACH)
  72.     {
  73.         DisableThreadLibraryCalls(hDLL);
  74.         MessageBoxA(0, "RCC OF RAML \n "
  75.                     "Activated"
  76.                  "\n", "RCC Update 2", 0);
  77.         CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)HackEngine, hDLL, NULL, NULL);
  78.     }
  79.     return true;
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement