예제 #1
0
        public bool Remove()
        {
            try
            {
                HookMemory.Write(m_address, m_originalBytes);
            }
            catch
            {
                // ignored
            }

            return(false);
        }
예제 #2
0
 public bool Remove()
 {
     try
     {
         HookMemory.Write(m_target, m_orginal.ToArray());
         IsApplied = false;
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
예제 #3
0
 public bool Apply()
 {
     try
     {
         HookMemory.Write(m_target, m_new.ToArray());
         IsApplied = true;
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
예제 #4
0
        public bool Apply()
        {
            try
            {
                HookMemory.Write(m_address, m_patchBytes);
                return(true);
            }
            catch
            {
                // ignored
            }

            return(false);
        }