Example #1
0
        internal static T smethod_6 <T>(string string_4, string string_5, string string_6, string string_7) where T : struct
        {
            IntPtr ptr = smethod_9(string_4, string_5, string_6, string_7);

            if (ptr == IntPtr.Zero)
            {
                return(default(T));
            }
            return(ExternalProcessMemory_0.Read <T>(Class272_0.method_26(ptr)));
        }
Example #2
0
        internal T method_2 <T>(string string_4) where T : struct
        {
            IntPtr ptr = this.method_5(string_4);

            if (ptr == IntPtr.Zero)
            {
                return(default(T));
            }
            return(ExternalProcessMemory_0.Read <T>(Class272_0.method_26(ptr)));
        }
Example #3
0
 private T method_20 <T>(IntPtr intptr_1) where T : struct
 {
     if (intptr_1 == IntPtr.Zero)
     {
         return(default(T));
     }
     if (typeof(T) == typeof(bool))
     {
         IntPtr addr = Class272_0.method_26(intptr_1);
         return((T)(ExternalProcessMemory_0.Read <byte>(addr) > 0));
     }
     return(ExternalProcessMemory_0.Read <T>(Class272_0.method_26(intptr_1)));
 }
Example #4
0
        internal static T smethod_11 <T>(string string_4, string string_5, string string_6, string string_7, Class272.Enum20[] enum20_0, params object[] object_0) where T : struct
        {
            IntPtr ptr = smethod_10(string_4, string_5, string_6, string_7, enum20_0, object_0);

            if (ptr == IntPtr.Zero)
            {
                return(default(T));
            }
            if (typeof(T) == typeof(bool))
            {
                IntPtr addr = Class272_0.method_26(ptr);
                return((T)(ExternalProcessMemory_0.Read <byte>(addr) > 0));
            }
            return(ExternalProcessMemory_0.Read <T>(Class272_0.method_26(ptr)));
        }