Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": [
    {
      "line": 282,
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs",
      "function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::pop_assignable"
    },
    {
      "line": 33,
      "file": ".\\gbf_core\\src\\decompiler\\handlers\\special_two_operand.rs",
      "function": "gbf_core::decompiler::handlers::special_two_operand::impl$0::handle_instruction"
    },
    {
      "line": 171,
      "function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::process_instruction",
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs"
    },
    {
      "line": 467,
      "function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::process_regions",
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs"
    },
    {
      "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": 10397
  },
  "current_ast_node_stack": [
    {
      "BuildingArray": []
    }
  ],
  "current_instruction": {
    "opcode": "AccessMember",
    "operand": null,
    "address": 10432
  }
}
function onGuiRCAddScriptCloseQuery(obj#0)
{
    lit#4 = "_";
    builtin_fn_call#5 = obj.name.pos(lit#4);
    lit#6 = 1;
    lit#7 = -1;
    builtin_fn_call#8 = obj.name.substring(builtin_fn_call#5 + lit#6, lit#7);
    temp.identity = builtin_fn_call#8;
    lit#9 = "GuiRCAddScript_";
    fn_call#11 = lit#9 @ temp.identity.destroy();
    lit#12 = 0;
    return lit#12;
}