#include "stdafx.h"
#include <windows.h>


DWORD WINAPI Double_Make_DLL(void)
{
 DWORD cshell;
 DWORD A,B;
 
 while(1)
 {
  Sleep(10);
    
  if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x31C974; // 무반동
   *(BYTE*)(cshell) = 1116471295;
  }
  
  if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x13DFBC; // 에임고정
   *(DWORD*)(cshell) = 3481993844;
  }
  
  if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x205F8B; // 노낙사
   *(DWORD*)(cshell) = 64652302;
  }
  
  if (GetAsyncKeyState(VK_NUMPAD1) & 0x61)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x206CFB; // 총무게무시 ON
   *(DWORD*)(cshell) = 1155084404;
  }
  
  if (GetAsyncKeyState(VK_NUMPAD2) & 0x62)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x206CFB; // 총무게무시 OFF
   *(DWORD*)(cshell) = 1155084405;
  }
  
  if (GetAsyncKeyState('E') & 0x45)
  {
   
   cshell = (DWORD)GetModuleHandle("cshell.dll") + 0x37F0F2; // 즉시 리스폰
   *(DWORD*)(cshell) = 757923960;
  }

 }
 return 0;
}

BOOL APIENTRY DllMain( HANDLE hModule, 
                       DWORD  ul_reason_for_call, 
                       LPVOID lpReserved
      )
{
    switch (ul_reason_for_call)
 {
  case DLL_PROCESS_ATTACH:
   MessageBox(NULL," EliteNewbie "," EliteNewbie ",MB_OK);
   CreateThread(0, 0, (LPTHREAD_START_ROUTINE)&Double_Make_DLL, 0, 0, 0);
  case DLL_THREAD_ATTACH:
  case DLL_THREAD_DETACH:
  case DLL_PROCESS_DETACH:
   break;
    }
    return TRUE; 
}


지금은 막혔겠지만 이런원리로 작동되는거맞나?