Exemplo n.º 1
0
        public static uint offset_calculator(bit32.mem_help32 target_mem, uint base_address, int[] offsets)
        {
            var address = base_address;

            foreach (uint offset in offsets)
            {
                address = target_mem.read_mem <uint>(address) + offset;
            }
            return(address);
        }
Exemplo n.º 2
0
        public static uint sub_mem(bit32.mem_help32 target_mem, uint first_hex, uint second_hex)
        {
            uint address = target_mem.read_mem <uint>(first_hex) - second_hex;

            return(address);
        }