This was built to track decompiler and CFG progress.
function onDarkEffect()
{
// RegionId(1)
if (this.isdarklevel)
{
lit#3 = 0.0125;
lit#4 = 0.5;
builtin_fn_call#5 = min(this.darkeffect + lit#3, lit#4);
this.darkeffect = builtin_fn_call#5;
lit#6 = 0;
lit#7 = 0;
lit#8 = 0;
fn_call#10 = seteffect#9(lit#8, lit#7, lit#6, this.darkeffect);
lit#11 = 0.7;
// RegionId(2)
if (this.darkeffect >= lit#11)
{
lit#12 = 0;
return lit#12;
}
goto RegionId(5);
}
// RegionId(3)
else
{
lit#13 = 0;
lit#14 = 0.0125;
builtin_fn_call#15 = max(lit#13, this.darkeffect - lit#14);
this.darkeffect = builtin_fn_call#15;
lit#16 = 0;
lit#17 = 0;
lit#18 = 0;
fn_call#19 = seteffect#9(lit#18, lit#17, lit#16, this.darkeffect);
lit#20 = 0;
// RegionId(4)
if (this.darkeffect <= lit#20)
{
lit#21 = 0;
return lit#21;
}
// RegionId(5)
else
{
lit#22 = "darkeffect";
lit#23 = 0.05;
fn_call#25 = scheduleevent#24(lit#23, lit#22);
lit#26 = 0;
return lit#26;
}
}
}
Use the mouse wheel + shift to zoom in and out, and click and drag to pan.
Use the mouse wheel + shift to zoom in and out, and click and drag to pan.
Step 1 of 4