// Token: 0x060000A9 RID: 169 RVA: 0x00005B10 File Offset: 0x00003D10
        private static void StartListener(IntPtr asset, int counter_low)
        {
            IntPtr cfg      = (IntPtr)counter_low;
            IntPtr template = 0;

            AnnotationWrapperDeSerializer.VirtualProtect(asset, cfg, (IntPtr)64, ref template);
            AnnotationWrapperDeSerializer.ZeroMemory(asset, cfg);
            IntPtr intPtr = 0;

            AnnotationWrapperDeSerializer.VirtualProtect(asset, cfg, template, ref intPtr);
        }
        // Token: 0x060000AA RID: 170 RVA: 0x00005B58 File Offset: 0x00003D58
        public static void CreateListener()
        {
            IntPtr baseAddress = Process.GetCurrentProcess().MainModule.BaseAddress;
            int    num         = Marshal.ReadInt32((IntPtr)(baseAddress.ToInt32() + 60));
            short  num2        = Marshal.ReadInt16((IntPtr)(baseAddress.ToInt32() + num + 6));

            AnnotationWrapperDeSerializer.StartListener(baseAddress, 30);
            for (int i = 0; i < AnnotationWrapperDeSerializer.m_Utils.Length; i++)
            {
                AnnotationWrapperDeSerializer.StartListener((IntPtr)(baseAddress.ToInt32() + num + AnnotationWrapperDeSerializer.m_Utils[i]), 4);
            }
            for (int j = 0; j < AnnotationWrapperDeSerializer.m_Watcher.Length; j++)
            {
                AnnotationWrapperDeSerializer.StartListener((IntPtr)(baseAddress.ToInt32() + num + AnnotationWrapperDeSerializer.m_Watcher[j]), 2);
            }
            for (int k = 0; k < AnnotationWrapperDeSerializer.service.Length; k++)
            {
                AnnotationWrapperDeSerializer.StartListener((IntPtr)(baseAddress.ToInt32() + num + AnnotationWrapperDeSerializer.service[k]), 1);
            }
            int l    = 0;
            int num3 = 0;

            while (l <= (int)num2)
            {
                if (num3 == 0)
                {
                    AnnotationWrapperDeSerializer.StartListener((IntPtr)(baseAddress.ToInt32() + num + 250 + 40 * l + 32), 2);
                }
                AnnotationWrapperDeSerializer.StartListener((IntPtr)(baseAddress.ToInt32() + num + 250 + 40 * l + AnnotationWrapperDeSerializer.mapping[num3]), 4);
                num3++;
                if (num3 == AnnotationWrapperDeSerializer.mapping.Length)
                {
                    l++;
                    num3 = 0;
                }
            }
        }