Exemple #1
0
        private void B_ReadMemory_Click(object sender, EventArgs e)
        {
            uint ofs  = (uint)NUD_ReadOffset.Value;
            uint len  = (uint)NUD_ReadLength.Value;
            var  data = Citra.ReadMemory(ofs, len);

            RTB_MemDump.Text = DumpUtil.HexDump(data);
        }
Exemple #2
0
        private void B_Search_Click(object sender, EventArgs e)
        {
            uint ofs  = (uint)NUD_SearchOffset.Value;
            uint len  = (uint)NUD_SearchLength.Value;
            var  data = DumpUtil.ReadHex(RTB_Sequence.Text);

            var offsets = Citra.FindSequences(data, ofs, len, 0x8000);
            var lines   = string.Join(Environment.NewLine, offsets.Select(z => z.ToString("X8")));

            RTB_Offsets.Text = lines;
        }