bool PromptForUnknownFunctionTypes()
 {
     ainFile.FindFunctionTypes();
     if (ainFile.GetVariablesWithUnknownFunctypes().FirstOrDefault() != null)
     {
         if (MessageBox.Show("Some function pointers (FuncType variables) have an unknown type," + Environment.NewLine +
                             "the decompiler will assign them a void function type with no parameters." + Environment.NewLine +
                             "This may lead to incorrect behavior when the code is compiled or run." + Environment.NewLine +
                             "You should fix the unknown function types first by browsing the code, and editing their metadata." + Environment.NewLine +
                             "Decompile the code anyway?", "There are variables with unknown function types.", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == DialogResult.No)
         {
             return(false);
         }
     }
     return(true);
 }