Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function public.onTrackClientsideBaddyHit(temp.baddy)
{
    lit#2 = "player.";
    lit#3 = "disableclientsidebaddyhitdetection";
    fn_call#5 = md5#4(lit#3);
    builtin_fn_call#6 = makevar(lit#2 @ fn_call#5);
    // RegionId(1)
    if (builtin_fn_call#6) 
    {
        lit#7 = true;
        return lit#7;
    }
    // RegionId(2)
    else
    {
        lit#8 = "player.";
        lit#9 = "lastbaddyhit";
        fn_call#10 = md5#4(lit#9);
        builtin_fn_call#11 = makevar(lit#8 @ fn_call#10);
        builtin_fn_call#12 = builtin_fn_call#11.add(temp.baddy);
        lit#13 = "onForgetClientsideBaddy";
        fn_call#15 = cancelEvents#14(lit#13);
        lit#16 = null;
        lit#17 = "onForgetClientsideBaddy";
        lit#18 = 3;
        fn_call#20 = scheduleEvent#19(lit#18, lit#17, lit#16);
        lit#21 = "player.";
        lit#22 = "lastbaddyhit";
        fn_call#23 = md5#4(lit#22);
        builtin_fn_call#24 = makevar(lit#21 @ fn_call#23);
        builtin_fn_call#25 = builtin_fn_call#24.size();
        lit#26 = 10;
        // RegionId(3)
        if (builtin_fn_call#25 > lit#26) 
        {
            lit#27 = "player.";
            lit#28 = "disableclientsidebaddyhitdetection";
            fn_call#29 = md5#4(lit#28);
            builtin_fn_call#30 = makevar(lit#27 @ fn_call#29);
            lit#31 = true;
            builtin_fn_call#32 = lit#31;
            lit#33 = true;
            return lit#33;
        }
        // RegionId(4)
        else
        {
            lit#34 = 0;
            return lit#34;
        }
    }
}