Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": [
    {
      "line": 282,
      "function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::pop_assignable",
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs"
    },
    {
      "line": 33,
      "function": "gbf_core::decompiler::handlers::special_two_operand::impl$0::handle_instruction",
      "file": ".\\gbf_core\\src\\decompiler\\handlers\\special_two_operand.rs"
    },
    {
      "line": 171,
      "function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::process_instruction",
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs"
    },
    {
      "line": 467,
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs",
      "function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::process_regions"
    },
    {
      "line": 286,
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs",
      "function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::decompile"
    }
  ]
}

Context

{
  "current_block_id": {
    "index": 0,
    "block_type": "Entry",
    "address": 9775
  },
  "current_ast_node_stack": [
    {
      "StandaloneNode": {
        "Expression": {
          "Assignable": {
            "MemberAccess": {
              "metadata": {
                "properties": {},
                "comments": []
              },
              "node_id": 91546,
              "ptr": {
                "rhs": {
                  "Identifier": {
                    "metadata": {
                      "properties": {},
                      "comments": []
                    },
                    "node_id": 91545,
                    "ptr": {
                      "ssa_version": null,
                      "id": "text"
                    }
                  }
                },
                "lhs": {
                  "Identifier": {
                    "metadata": {
                      "properties": {},
                      "comments": []
                    },
                    "node_id": 91544,
                    "ptr": {
                      "ssa_version": null,
                      "id": "temp"
                    }
                  }
                },
                "ssa_version": 14
              }
            }
          }
        }
      }
    },
    {
      "BuildingArray": []
    }
  ],
  "current_instruction": {
    "opcode": "AccessMember",
    "operand": null,
    "address": 9815
  }
}
function onGuiRCListDeleteButtonPressed(obj#0)
{
    temp.title = obj.parent.text;
    fn_call#7 = getTextTypeByTitle#6(temp.title);
    temp.texttype = fn_call#7;
    lit#8 = "GuiRC";
    lit#9 = "ListTextList";
    fn_call#11 = (lit#8 @ temp.title) @ lit#9.getselectedtext();
    temp.text = fn_call#11;
    lit#12 = null;
    // RegionId(0)
    // RegionId(1)
    if (temp.texttype != lit#12) 
    {
        lit#13 = null;
        // RegionId(1)
        // RegionId(2)
        if (temp.text != lit#13) 
        {
            fn_call#15 = showDeleteScript#14(temp.texttype, temp.text);
        }
    }
    lit#16 = 0;
    return lit#16;
}