Exemple #1
0
 private uint GetJumpAdresseDX()
 {
     try
     {
         if (D3D.IsD3D11(Memory.ProcessId))
         {
             return(D3D.D3D11Adresse());
         }
         return(D3D.D3D9Adresse(Memory.ProcessId));
     }
     catch (Exception e)
     {
         Logging.WriteError("GetJumpAdresse(): " + e);
     }
     return(0);
 }
Exemple #2
0
 public static bool WowIsUsed(int processId)
 {
     try
     {
         //return false;
         uint pJump = 0;
         if (D3D.IsD3D11(processId))
         {
             pJump = D3D.D3D11Adresse();
         }
         else
         {
             pJump = D3D.D3D9Adresse(processId);
         }
         var memory = new BlackMagic(processId);
         return(memory.ReadByte(pJump) == 0xE9);
     }
     catch (Exception e)
     {
         Logging.WriteError("WowIsUsed(int processId): " + e);
     }
     return(false);
 }