Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": []
}

Context

{
  "current_block_id": {
    "index": 3,
    "block_type": "Normal",
    "address": 12351
  },
  "current_ast_node_stack": [
    {
      "StandaloneNode": {
        "Expression": {
          "Literal": {
            "metadata": {
              "properties": {},
              "comments": []
            },
            "node_id": 62105,
            "ptr": {
              "String": "FileBrowser_RenameField"
            }
          }
        }
      }
    },
    {
      "StandaloneNode": {
        "Expression": {
          "Literal": {
            "metadata": {
              "properties": {},
              "comments": []
            },
            "node_id": 62106,
            "ptr": {
              "String": "FileBrowser_RenameField"
            }
          }
        }
      }
    },
    {
      "StandaloneNode": {
        "Expression": {
          "Literal": {
            "metadata": {
              "properties": {},
              "comments": []
            },
            "node_id": 62107,
            "ptr": {
              "String": "FileBrowser_RenameField"
            }
          }
        }
      }
    },
    {
      "StandaloneNode": {
        "Expression": {
          "Literal": {
            "metadata": {
              "properties": {},
              "comments": []
            },
            "node_id": 62108,
            "ptr": {
              "String": "FileBrowser_RenameField"
            }
          }
        }
      }
    },
    {
      "StandaloneNode": {
        "Expression": {
          "Literal": {
            "metadata": {
              "properties": {},
              "comments": []
            },
            "ptr": {
              "String": "GuiTextEditCtrl"
            },
            "node_id": 62109
          }
        }
      }
    }
  ],
  "current_instruction": {
    "opcode": "NewObject",
    "operand": null,
    "address": 12358
  }
}
function showRenameField(selfile#0)
{
    temp.list = FileBrowser_FilesList#3;
    temp.sel = temp.list.selected;
    lit#6 = null;
    // RegionId(1)
    if (temp.sel == lit#6) 
    {
        lit#7 = 0;
        return lit#7;
    }
    // RegionId(2)
    else
    {
        temp.cols = temp.list.columns;
        // RegionId(2)
        // RegionId(3)
        with (temp.list.parent) 
        {
            lit#11 = "FileBrowser_RenameField";
            gbf_new_obj#12 = lit#11;
            lit#13 = "GuiTextEditCtrl";
            new_node#14 = new lit#13(gbf_new_obj#12);
            gbf_new_obj#15 = new_node#14;
            // RegionId(3)
            // RegionId(4)
            with (gbf_new_obj#12) 
            {
                profile#18 = GuiBlueTextEditProfile#17;
                text#20 = selfile#0;
                x#23 = (temp.list.x + temp.sel.x) + temp.list.iconwidth;
                y#25 = temp.list.y + temp.sel.y;
                lit#27 = 1;
                width#28 = temp.cols[lit#27] - temp.list.iconwidth;
                height#30 = temp.sel.height;
            }
            fn_call#32 = addcontrol#31(phi<idx=0, regions=()>);
        }
        fn_call#35 = FileBrowser_RenameField.showtop();
        lit#36 = true;
        fn_call#38 = FileBrowser_RenameField.makeFirstResponder(lit#36);
        lit#39 = 0;
        return lit#39;
    }
}