Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function preloadImages()
{
    lit#7 = "hat_auc_witchhunter.gif";
    fn_call#9 = fileupdate#8(lit#7);
    lit#11 = true;
    temp.easter = lit#11;
    // RegionId(0)
    // RegionId(1)
    if (temp.easter) 
    {
        lit#12 = "classic_easter_eggs2016.png";
        fn_call#13 = fileupdate#8(lit#12);
        lit#14 = "classic_easter_eggs2016.png";
        fn_call#15 = fileexists#0(lit#14);
        while (!fn_call#15) 
        {
            lit#17 = "LoadingImage";
            lit#18 = 1;
            builtin_fn_call#19 = waitfor(this#16, lit#17, lit#18);
        }
        lit#20 = 0;
        temp.ty = lit#20;
        temp.tx = temp.ty;
        lit#21 = 1;
        temp.i = lit#21;
        lit#22 = 100;
        while (temp.i <= lit#22) 
        {
            lit#23 = "levels/images/classic/classic_easter_2016_egg";
            lit#24 = ".png";
            temp.f = (lit#23 @ temp.i) @ lit#24;
            fn_call#25 = fileexists#0(temp.f);
            // RegionId(6)
            // RegionId(7)
            if (fn_call#25) 
            {
                temp.tx++;
                lit#26 = 5;
                // RegionId(7)
                // RegionId(8)
                if (temp.tx == lit#26) 
                {
                    lit#27 = 0;
                    temp.tx = lit#27;
                    temp.ty++;
                }
            }
            // RegionId(9)
            else
            {
                lit#29 = "GuiDrawingPanel";
                new_node#30 = new lit#29(unknown_object#28);
                temp.obj = new_node#30;
                lit#33 = 32;
                temp.obj.height = lit#33;
                temp.obj.width = temp.obj.height;
                lit#34 = 32;
                lit#35 = 32;
                lit#36 = 32;
                lit#37 = 32;
                lit#38 = "classic_easter_eggs2016.png";
                lit#39 = 0;
                lit#40 = 0;
                fn_call#42 = temp.obj.drawimagerectangle(lit#40, lit#39, lit#38, temp.tx * lit#37, temp.ty * lit#36, lit#35, lit#34);
                fn_call#44 = temp.obj.saveimage(temp.f);
                fn_call#46 = temp.obj.destroy();
                lit#47 = "GeneratedImage";
                lit#48 = 0.1;
                builtin_fn_call#49 = waitfor(this#16, lit#47, lit#48);
                temp.tx++;
                lit#50 = 5;
                // RegionId(9)
                // RegionId(10)
                if (temp.tx == lit#50) 
                {
                    lit#51 = 0;
                    temp.tx = lit#51;
                    temp.ty++;
                }
            }
            temp.i++;
        }
    }
    lit#52 = 0;
    return lit#52;
}