Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function cacheFoundLoot(temp.itm)
{
    // RegionId(1)
    if (temp.itm in client.foundLootItems) 
    {
        lit#4 = 0;
        return lit#4;
    }
    // RegionId(2)
    else
    {
        lit#5 = null;
        // RegionId(3)
        if (temp.itm == lit#5) 
        {
            lit#6 = 0;
            return lit#6;
        }
        // RegionId(4)
        else
        {
            lit#7 = 0;
            // RegionId(5)
            if (temp.itm == lit#7) 
            {
                lit#8 = 0;
                return lit#8;
            }
            // RegionId(6)
            else
            {
                builtin_fn_call#9 = client.foundLootItems.add(temp.itm);
                lit#10 = 0;
                return lit#10;
            }
        }
    }
}