Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": []
}

Context

{
  "current_block_id": {
    "index": 4,
    "block_type": "Normal",
    "address": 1085
  },
  "current_ast_node_stack": [],
  "current_instruction": {
    "opcode": "Jne",
    "operand": {
      "Number": 1087
    },
    "address": 1084
  }
}
function GuiRCOptionsEditGuiProfilePopUpMenu.onSelect(entryid#2, entrytext#1, entryindex#0)
{
    lit#6 = "Gui Profile: ";
    temp.title = lit#6 @ entrytext#1;
    lit#7 = "Bitmaps";
    // RegionId(0)
    // RegionId(1)
    if (entrytext#1 == lit#7) 
    {
        temp.lines = remotecontrol.options.guibitmapsprofile;
    }
    // RegionId(2)
    else
    {
        lit#12 = true;
        lit#13 = "GuiRC";
        lit#14 = "Profile";
        fn_call#16 = (lit#13 @ entrytext#1) @ lit#14.savevarstoarray(lit#12);
        temp.lines = fn_call#16;
    }
    lit#20 = 1;
    lit#21 = 32;
    lit#22 = 0;
    lit#23 = 32;
    lit#24 = false;
    lit#25 = "-TextEditor";
    fn_call#27 = lit.openScript(temp.title, temp.lines, lit#24, {GuiRC.externalwindow.bounds[lit#22] + lit#23, GuiRC.externalwindow.bounds[lit#20] + lit#21});
    temp.object = fn_call#27;
    lit#29 = "-TextEditor";
    fn_call#31 = lit.setButtonProfile(temp.object, GuiRCButtonProfile#28);
    lit#33 = "-TextEditor";
    fn_call#35 = lit.setCheckBoxProfile(temp.object, GuiRCCheckBoxProfile#32);
    lit#37 = "-TextEditor";
    fn_call#39 = lit.setMLTextEditProfile(temp.object, GuiRCMLTextEditProfile#36);
    lit#41 = "-TextEditor";
    fn_call#43 = lit.setScrollProfile(temp.object, GuiRCScrollProfile#40);
    lit#45 = "-TextEditor";
    fn_call#47 = lit.setTextProfile(temp.object, GuiRCTextProfile#44);
    lit#49 = "-TextEditor";
    fn_call#51 = lit.setTextEditProfile(temp.object, GuiRCTextEditProfile#48);
    lit#53 = "-TextEditor";
    fn_call#55 = lit.setWindowProfile(temp.object, GuiRCWindowProfile#52);
    // RegionId(3)
    // RegionId(4)
    if (remotecontrol.options.noexternalstyle) 
    {
        lit#57 = "none";
    }
    // RegionId(5)
    else
    {
    }
    lit#59 = "-TextEditor";
    fn_call#61 = phi_fn_call({lit.setWindowStyle, temp.object, ...phi<idx=0, regions=()>});
    temp.object.profile = entrytext#1;
    phi<idx=0, regions=()> = this.function_357_1;
    lit#66 = 0;
    return lit#66;
}