Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function public.onBlackOut()
{
    lit#0 = 300;
    fn_call#2 = findimg#1(lit#0);
    // RegionId(0)
    // RegionId(1)
    with (fn_call#2) 
    {
        lit#5 = 0;
        lit#7 = 0;
        lit#8 = 0;
        lit#9 = 0;
        polygon#10 = {lit#9, lit#8, screenwidth#6, lit#7, screenwidth#6, screenheight#4, lit#5, screenheight#4};
        lit#12 = 4;
        layer#13 = lit#12;
        lit#17 = 0;
        blue#18 = lit#17;
        green#19 = blue#16;
        red#20 = green#15;
        lit#22 = 1;
        alpha#23 = lit#22;
        lit#26 = 1;
        this.mode = lit#26;
    }
    lit#27 = null;
    lit#28 = "EndBlackOut";
    lit#29 = 10;
    fn_call#31 = scheduleEvent#30(lit#29, lit#28, lit#27);
    lit#32 = 0;
    return lit#32;
}