terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawSunAndMoon()

void Terraria.Main.DrawSunAndMoon ( Main::SceneArea sceneArea,
Microsoft::Xna::Framework::Graphics::Color moonColor,
Microsoft::Xna::Framework::Graphics::Color sunColor,
float tempMushroomInfluence )
inlineprivate

Definition at line 17053 of file Main.cs.

17054 {
17055 if (!true)
17056 {
17057 }
17058 int num = sceneArea.bgTopY;
17059 float totalWidth = sceneArea.totalWidth;
17060 long num2;
17061 if (this != null)
17062 {
17063 num2 = 32752L;
17064 return;
17065 }
17066 if (num2 == 0L)
17067 {
17068 }
17069 double num4;
17070 double num3 = Math.Pow(num4, 250.0);
17071 if (32752 == 0)
17072 {
17073 }
17074 int num5 = 4829;
17075 int num6;
17076 if (num5 == 0)
17077 {
17078 if (num6 == 0)
17079 {
17080 }
17081 return;
17082 }
17083 if (num5 == 0)
17084 {
17085 }
17086 if (num5 == 0)
17087 {
17088 }
17089 num6 = 1;
17090 int num7;
17091 if (num7 != 0)
17092 {
17093 return;
17094 }
17095 long num8 = 0L;
17096 int num9;
17097 if (num9 == 0)
17098 {
17099 }
17100 Star.SpawnStars((int)num8);
17101 }
class f__AnonymousType0<< Count > j__TPar
static double Pow(double x, double y)
Definition Math.cs:336

References j__TPar, Microsoft.Xna.Framework.Input.L, System.Math.Pow(), and Terraria.Star.SpawnStars().