Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": []
}

Context

{
  "current_block_id": {
    "index": 0,
    "block_type": "Entry",
    "address": 22675
  },
  "current_ast_node_stack": [
    {
      "StandaloneNode": {
        "Expression": {
          "Assignable": {
            "Identifier": {
              "metadata": {
                "properties": {},
                "comments": []
              },
              "node_id": 118388,
              "ptr": {
                "ssa_version": 6,
                "id": "fn_call"
              }
            }
          }
        }
      }
    }
  ],
  "current_instruction": {
    "opcode": "Negate",
    "operand": null,
    "address": 22691
  }
}
function public.addPlayerlistMenuEntries()
{
    fn_call#4 = this.isOpen();
    // RegionId(1)
    if (!fn_call#4) 
    {
        lit#5 = 0;
        return lit#5;
    }
    // RegionId(2)
    else
    {
        lit#6 = "-Playerlist";
        fn_call#8 = findweapon#7(lit#6);
        temp.obj = fn_call#8;
        lit#9 = "Open attributes";
        lit#10 = 101;
        fn_call#12 = temp.obj.addCustomMenuEntry(lit#10, lit#9);
        lit#13 = "Open weapons";
        lit#14 = 102;
        fn_call#15 = temp.obj.addCustomMenuEntry(lit#14, lit#13);
        lit#16 = "Open flags";
        lit#17 = 103;
        fn_call#18 = temp.obj.addCustomMenuEntry(lit#17, lit#16);
        lit#19 = "Open chests";
        lit#20 = 104;
        fn_call#21 = temp.obj.addCustomMenuEntry(lit#20, lit#19);
        lit#22 = "Open rights";
        lit#23 = 105;
        fn_call#24 = temp.obj.addCustomMenuEntry(lit#23, lit#22);
        lit#25 = "Open comments";
        lit#26 = 106;
        fn_call#27 = temp.obj.addCustomMenuEntry(lit#26, lit#25);
        lit#28 = "Open ban info";
        lit#29 = 107;
        fn_call#30 = temp.obj.addCustomMenuEntry(lit#29, lit#28);
        lit#31 = "Disconnect";
        lit#32 = 108;
        fn_call#33 = temp.obj.addCustomMenuEntry(lit#32, lit#31);
        lit#34 = "Admin message";
        lit#35 = 109;
        fn_call#36 = temp.obj.addCustomMenuEntry(lit#35, lit#34);
        lit#37 = 0;
        return lit#37;
    }
}