I managed to decompile it, but my editor doesn't allow me to edit the files.
(On the main post I say I decompile it but all I really got was the sidelist, now I can see the code aswell.)
It seems the file relies on a few other varibles in diffrent areas.
In commoncode-dll PepperShaker is used for the validation.
In ShellShockHelper.exe under AgentFireShellShockHelperComponents the Kitchen.cs is used for validation and uses PepperShaker.
In AgentFireShellShockHelperModels KitchenResult is used in the validation, which also uses the PepperShaker.
Code:
private async void Validation()
{
// ISSUE: reference to a compiler-generated field
int num1 = this.\u003C\u003E1__state;
while (true)
{
long? steamAccountId = this.SteamAccountID;
if (steamAccountId.HasValue)
{
steamAccountId = this.SteamAccountID;
KitchenResult kitchenResult = await Kitchen.CheckIn(steamAccountId.Value);
KitchenResult result = kitchenResult;
if (result == KitchenResult.Closed)
{
this.CanWeEatIt = false;
this.ShouldShowFreeShots = false;
this.ShowPaypal = false;
}
else
{
steamAccountId = this.SteamAccountID;
int? nullable = await Kitchen.HowLongCanITakeIt(steamAccountId.Value);
int? shotsMade = nullable;
nullable = new int?();
if (!shotsMade.HasValue)
{
this.CanWeEatIt = false;
this.ShouldShowFreeShots = false;
this.ShowPaypal = false;
}
else if (result == KitchenResult.PepperedAndSugared | result == KitchenResult.PepperedAndSugaredAndCreamed)
{
this.ShowPaypal = false;
this.ShouldShowFreeShots = false;
this.CanWeEatIt = true;
this.CanWePoopIt = result == KitchenResult.PepperedAndSugaredAndCreamed;
}
else if (result == KitchenResult.Peppered)
{
this.CanWeEatIt = true;
this.ShowPaypal = this.FreeShotsLeft <= 10;
this.FreeShotsLeft = 50 - shotsMade.Value;
this.ShouldShowFreeShots = this.FreeShotsLeft <= 50;
if (this.FreeShotsLeft == 40)
this.IsToolboxExpanded = true;
}
else
{
this.ShowPaypal = true;
this.CanWeEatIt = false;
this.FreeShotsLeft = 0;
this.ShouldShowFreeShots = true;
}
shotsMade = new int?();
}
this.IsToolboxExpanded = this.IsToolboxExpanded | this.ShowPaypal;
}
steamAccountId = this.SteamAccountID;
if (!steamAccountId.HasValue)
{
int i = 0;
while (true)
{
int num2;
if (i < 10)
{
steamAccountId = this.SteamAccountID;
num2 = !steamAccountId.HasValue ? 1 : 0;
}
else
num2 = 0;
if (num2 != 0)
{
await Task.Delay(100);
++i;
}
else
break;
}
}
else
await Task.Delay(2500);
}
}