public static int smethod_9(out string[] string_0) { IntPtr intPtr = Marshal.AllocCoTaskMem(32767); int privateProfileSectionNames = Class6.GetPrivateProfileSectionNames(intPtr, 32767, Class6.iniPath); if (privateProfileSectionNames == 0) { string_0 = null; return(-1); } string text = Marshal.PtrToStringAnsi(intPtr, privateProfileSectionNames).ToString(); Marshal.FreeCoTaskMem(intPtr); string text2 = text.Substring(0, text.Length - 1); char[] separator = new char[1]; string_0 = text2.Split(separator); return(0); }