Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function public.onFadeIn(temp.time)
{
    lit#2 = "FadeOut";
    fn_call#4 = cancelevents#3(lit#2);
    lit#5 = "FadeIn";
    fn_call#6 = cancelevents#3(lit#5);
    lit#7 = "FadeHide";
    fn_call#8 = cancelevents#3(lit#7);
    lit#9 = 0.05;
    temp.time = temp.time - lit#9;
    lit#10 = 0;
    // RegionId(1)
    if (temp.time <= lit#10) 
    {
        lit#11 = 500;
        fn_call#13 = hideimg#12(lit#11);
        lit#14 = 0;
        return lit#14;
    }
    // RegionId(2)
    else
    {
        lit#15 = 500;
        fn_call#17 = findimg#16(lit#15);
        // RegionId(2)
        // RegionId(3)
        with (fn_call#17) 
        {
            lit#19 = "classicgui_color_black.png";
            image#20 = lit#19;
            lit#22 = 500;
            zoom#23 = lit#22;
            lit#25 = 0;
            x#26 = lit#25;
            lit#28 = 0;
            y#29 = lit#28;
            lit#32 = true;
            this.fading = lit#32;
            lit#34 = true;
            useowncenter#35 = lit#34;
            lit#37 = 24;
            lit#38 = 24;
            rotationcenter#39 = {lit#38, lit#37};
            // RegionId(3)
            // RegionId(4)
            if (!this.initiated) 
            {
                lit#42 = 1;
                lit#43 = 0.05;
                this.increment = lit#42 / (temp.time / lit#43);
                lit#45 = 1;
                this.alpha = lit#45;
            }
            // RegionId(5)
            else
            {
                this.alpha = this.alpha - this.increment;
            }
            lit#46 = true;
            this.initiated = lit#46;
            lit#48 = 1;
            this.mode = lit#48;
            lit#50 = 4;
            layer#51 = lit#50;
        }
        lit#52 = "FadeIn";
        lit#53 = 0.05;
        fn_call#55 = scheduleEvent#54(lit#53, lit#52, temp.time);
        lit#56 = 0;
        return lit#56;
    }
}