Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function public.fallFromHeight(temp.height)
{
    lit#6 = 1;
    fn_call#7 = freezeplayer#3(lit#6);
    lit#9 = "hurt";
    player.ani = lit#9;
    lit#11 = 1;
    player.mode = lit#11;
    lit#13 = 0;
    player.alpha = lit#13;
    lit#14 = 0.05;
    temp.fallForce = lit#14;
    temp.z = temp.height;
    lit#15 = 0;
    while (temp.z > lit#15) 
    {
        lit#16 = 1;
        lit#17 = 0.25;
        builtin_fn_call#18 = min(lit#16, player.alpha + lit#17);
        player.alpha = builtin_fn_call#18;
        lit#19 = 0.1;
        fn_call#20 = freezeplayer#3(lit#19);
        player.z = temp.z;
        lit#21 = 0.1;
        temp.fallForce = temp.fallForce + lit#21;
        lit#23 = "bleh";
        lit#24 = 0.05;
        builtin_fn_call#25 = waitfor(this#22, lit#23, lit#24);
        temp.z = temp.z - temp.fallForce;
    }
    lit#26 = 0.1;
    fn_call#27 = freezeplayer#3(lit#26);
    lit#28 = 0;
    player.z = lit#28;
    lit#29 = 1;
    player.alpha = lit#29;
    lit#30 = 0;
    return lit#30;
}