Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

function onFileDownloaded(filename#0)
{
    if (<temp.filename>#2 in <this.watchedfiles>#5) 
    {
        fn_call#10 = temp.textlines.loadlines("scriptfiles/" @ <temp.filename>#2);
        fn_call#12 = showTextEditor("editastext", <temp.filename>#2, <temp.textlines>#7, false);
        builtin_fn_call#13 = this.watchedfiles.remove(<temp.filename>#2);
    }
    if (<temp.filename>#2 == <this.filetoopen>#15) 
    {
        <this.filetoopen>#16 = "";
        fn_call#18 = Adventure_openDefaultViewer(<temp.filename>#2, 0);
    }
    return 0;
}