public bool Remove() { try { HookMemory.Write(m_address, m_originalBytes); } catch { // ignored } return(false); }
public bool Remove() { try { HookMemory.Write(m_target, m_orginal.ToArray()); IsApplied = false; return(true); } catch (Exception) { return(false); } }
public bool Apply() { try { HookMemory.Write(m_target, m_new.ToArray()); IsApplied = true; return(true); } catch (Exception) { return(false); } }
public bool Apply() { try { HookMemory.Write(m_address, m_patchBytes); return(true); } catch { // ignored } return(false); }