
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void start_backend(gui_data *inst)

{
  undefined *puVar1;
  Backend *pBVar2;
  char *pcVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined4 uVar7;
  void *pvVar8;
  gui_data *inst_00;
  Conf *pCVar9;
  _func_char_ptr_void_ptr_void_ptr_ptr_Conf_ptr_char_ptr_int_char_ptr_ptr_int_int *p_Var10;
  undefined *puVar11;
  char *realhost;
  int local_24;
  
  puVar11 = PTR___stack_chk_guard_000b60f8;
  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;
  pBVar2 = select_backend(inst->conf);
  pCVar9 = inst->conf;
  p_Var10 = pBVar2->init;
  inst->back = pBVar2;
  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0);
  iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1);
  iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7);
  iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8);
  pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6);
  if (pcVar3 != (char *)0x0) {
    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);
    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)
                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);
    inst->exited = 1;
    fatal_message_box(inst->window,pcVar3);
    (*(code *)PTR_safefree_000b5210)(pcVar3);
    (*(code *)PTR_exit_000b5c74)(0);
    return;
  }
  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);
  if (*pcVar3 == '\0') {
    pcVar3 = make_default_wintitle(realhost);
    set_title_and_icon(inst,pcVar3,pcVar3);
    (*(code *)PTR_safefree_000b5210)(pcVar3);
  }
  else {
    set_title_and_icon(inst,pcVar3,pcVar3);
  }
  (*(code *)PTR_safefree_000b5210)(realhost);
  (*inst->back->provide_logctx)(inst->backhandle,inst->logctx);
  (*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);
  pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)
                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);
  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;
  inst_00 = (gui_data *)0x0;
  inst->ldisc = pvVar8;
  (*(code *)puVar1)(inst->restartitem);
  if (local_24 == *(int *)puVar11) {
    return;
  }
  puVar11 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  if (inst_00->back != (Backend *)0x0) {
    return;
  }
  iVar4 = *(int *)(puVar11 + 0x46fd8);
  (**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838);
  logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838));
  (**(code **)(puVar11 + 0x475f0))(inst_00->term,0);
  start_backend(inst_00);
  inst_00->exited = 0;
  return;
}



void FUN_0006dfb4(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  int iVar7;
  char *pcVar8;
  undefined4 uVar9;
  int iVar10;
  code *pcVar11;
  undefined *puVar12;
  undefined4 local_28;
  int local_24;
  
  puVar12 = PTR___stack_chk_guard_000b60f8;
  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;
  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);
  uVar9 = param_1[0x88e];
  pcVar11 = (code *)*puVar2;
  param_1[0x345] = puVar2;
  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);
  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);
  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);
  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);
  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);
  if (iVar7 != 0) {
    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);
    param_1[0x349] = 1;
    fatal_message_box(*param_1,uVar3);
    (*(code *)PTR_safefree_000b5210)(uVar3);
    (*(code *)PTR_exit_000b5c74)(0);
    return;
  }
  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);
  if (*pcVar8 == '\0') {
    uVar3 = make_default_wintitle(local_28);
    set_title_and_icon(param_1,uVar3,uVar3);
    (*(code *)PTR_safefree_000b5210)(uVar3);
  }
  else {
    set_title_and_icon(param_1,pcVar8,pcVar8);
  }
  (*(code *)PTR_safefree_000b5210)(local_28);
  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);
  (*(code *)PTR_term_provide_resize_fn_000b5894)
            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);
  uVar3 = (*(code *)PTR_ldisc_create_000b5898)
                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);
  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;
  iVar7 = 0;
  param_1[0x344] = uVar3;
  (*(code *)puVar1)(param_1[0xb]);
  if (local_24 == *(int *)puVar12) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  if (*(int *)(iVar7 + 0xd14) != 0) {
    return;
  }
  iVar10 = *(int *)(puVar12 + 0x46fd8);
  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);
  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);
  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);
  FUN_0006dfb4(iVar7);
  *(undefined4 *)(iVar7 + 0xd24) = 0;
  return;
}


lui gp,0x5
addiu gp,gp,-0xde4
addu gp,gp,t9
addiu sp,sp,-0x50
lw t9,-0x794c(gp)
sw s2,0x38(sp)
lw s2,-0x70d8(gp)
sw s0,0x30(sp)
or s0,a0,zero
sw ra,0x4c(sp)
sw gp,0x20(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s1,0x34(sp)
lw v0,0x0(s2)
lw a0,0x2238(a0)
sw v0,0x2c(sp)
bal 0x00079108
_nop
or a1,zero,zero
lw gp,0x20(sp)
lw s1,0x2238(s0)
lw s3,0x0(v0)
sw v0,0xd14(s0)
lw t9,-0x7eb4(gp)
jalr t9
_or a0,s1,zero
li a1,0x1
lw gp,0x20(sp)
or s5,v0,zero
lw t9,-0x7f04(gp)
jalr t9
_lw a0,0x2238(s0)
li a1,0x7
lw gp,0x20(sp)
or s4,v0,zero
lw t9,-0x7f04(gp)
jalr t9
_lw a0,0x2238(s0)
li a1,0x8
lw gp,0x20(sp)
or s6,v0,zero
lw t9,-0x7f04(gp)
jalr t9
_lw a0,0x2238(s0)
addiu a1,s0,0xd18
sw v0,0x1c(sp)
addiu v0,sp,0x28
sw s6,0x18(sp)
or a3,s5,zero
sw v0,0x14(sp)
or a2,s1,zero
sw s4,0x10(sp)
or t9,s3,zero
jalr t9
_or a0,s0,zero
beq v0,zero,0x0006e110
_lw gp,0x20(sp)
lw t9,-0x7948(gp)
or s1,v0,zero
jalr t9
_lw a0,0x2238(s0)
or a2,s1,zero
lw gp,0x20(sp)
or a1,v0,zero
lw a0,-0x7fbc(gp)
lw t9,-0x7f10(gp)
jalr t9
_addiu a0,a0,-0x285c
lw gp,0x20(sp)
or a1,v0,zero
lw a0,0x0(s0)
or s1,v0,zero
li v0,0x1
lw t9,-0x79e4(gp)
bal 0x0005fa6c
_sw v0,0xd24(s0)
lw gp,0x20(sp)
lw t9,-0x7fc0(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x755c(gp)
jalr t9
_or a0,zero,zero
lw t9,-0x7eb4(gp)
li a1,0x5f
jalr t9
_lw a0,0x2238(s0)
lb v1,0x0(v0)
bne v1,zero,0x0006e214
_lw gp,0x20(sp)
lw t9,-0x7944(gp)
bal 0x00079454
_lw a0,0x28(sp)
or a0,s0,zero
lw gp,0x20(sp)
or a2,v0,zero
or a1,v0,zero
lw t9,-0x7940(gp)
bal 0x0006df18
_or s1,v0,zero
lw gp,0x20(sp)
lw t9,-0x7fc0(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x7fc0(gp)
jalr t9
_lw a0,0x28(sp)
lw v0,0xd14(s0)
lw a1,0xd20(s0)
lw t9,0x34(v0)
jalr t9
_lw a0,0xd18(s0)
lw gp,0x20(sp)
lw v0,0xd14(s0)
lw a2,0xd18(s0)
lw a0,0xd1c(s0)
lw t9,-0x793c(gp)
jalr t9
_lw a1,0x14(v0)
lw gp,0x20(sp)
lw a3,0xd18(s0)
lw a2,0xd14(s0)
lw a1,0xd1c(s0)
lw t9,-0x7938(gp)
lw a0,0x2238(s0)
jalr t9
_sw s0,0x10(sp)
or a1,zero,zero
lw gp,0x20(sp)
lw a0,0x2c(s0)
lw t9,-0x77b4(gp)
jalr t9
_sw v0,0xd10(s0)
lw v1,0x2c(sp)
lw v0,0x0(s2)
bne v1,v0,0x0006e230
_lw gp,0x20(sp)
lw ra,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x50
lw t9,-0x7940(gp)
or a2,v0,zero
or a1,v0,zero
bal 0x0006df18
_or a0,s0,zero
b 0x0006e168
_lw gp,0x20(sp)
lw t9,-0x7434(gp)
jalr t9
_nop
(translation_unit "void FUN_0006dfb4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0006dfb4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0006dfb4(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar12 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar12 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)select_backend(param_1[0x88e]);" (assignment_expression "puVar2 = (undefined4 *)select_backend(param_1[0x88e])" identifier = (cast_expression "(undefined4 *)select_backend(param_1[0x88e])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "select_backend(param_1[0x88e])" identifier (argument_list "(param_1[0x88e])" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) ))))) ;) (expression_statement "uVar9 = param_1[0x88e];" (assignment_expression "uVar9 = param_1[0x88e]" identifier = (subscript_expression "param_1[0x88e]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = (code *)*puVar2;" (assignment_expression "pcVar11 = (code *)*puVar2" identifier = (cast_expression "(code *)*puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "param_1[0x345] = puVar2;" (assignment_expression "param_1[0x345] = puVar2" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);" (assignment_expression "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" identifier = (call_expression "(*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);" (assignment_expression "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],1)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);" (assignment_expression "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],7)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);" (assignment_expression "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],8)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);" (assignment_expression "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" identifier = (call_expression "(*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" ( identifier , (binary_expression "param_1 + 0x346" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);" (assignment_expression "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" identifier = (call_expression "(*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" (parenthesized_expression "(*(code *)PTR_conf_dest_000b5888)" ( (pointer_expression "*(code *)PTR_conf_dest_000b5888" * (cast_expression "(code *)PTR_conf_dest_000b5888" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e])" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x285c" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "param_1[0x349] = 1;" (assignment_expression "param_1[0x349] = 1" (subscript_expression "param_1[0x349]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "fatal_message_box(*param_1,uVar3);" (call_expression "fatal_message_box(*param_1,uVar3)" identifier (argument_list "(*param_1,uVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000b5c74)(0);" (call_expression "(*(code *)PTR_exit_000b5c74)(0)" (parenthesized_expression "(*(code *)PTR_exit_000b5c74)" ( (pointer_expression "*(code *)PTR_exit_000b5c74" * (cast_expression "(code *)PTR_exit_000b5c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" identifier = (cast_expression "(char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],0x5f)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal ))))) ;) (if_statement "if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" if (parenthesized_expression "(*pcVar8 == '\0')" ( (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }" { (expression_statement "uVar3 = make_default_wintitle(local_28);" (assignment_expression "uVar3 = make_default_wintitle(local_28)" identifier = (call_expression "make_default_wintitle(local_28)" identifier (argument_list "(local_28)" ( identifier )))) ;) (expression_statement "set_title_and_icon(param_1,uVar3,uVar3);" (call_expression "set_title_and_icon(param_1,uVar3,uVar3)" identifier (argument_list "(param_1,uVar3,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) }) (else_clause "else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" else (compound_statement "{\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" { (expression_statement "set_title_and_icon(param_1,pcVar8,pcVar8);" (call_expression "set_title_and_icon(param_1,pcVar8,pcVar8)" identifier (argument_list "(param_1,pcVar8,pcVar8)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_safefree_000b5210)(local_28);" (call_expression "(*(code *)PTR_safefree_000b5210)(local_28)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);" (call_expression "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348])" (parenthesized_expression "(**(code **)(param_1[0x345] + 0x34))" ( (pointer_expression "**(code **)(param_1[0x345] + 0x34)" * (pointer_expression "*(code **)(param_1[0x345] + 0x34)" * (cast_expression "(code **)(param_1[0x345] + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0x345] + 0x34)" ( (binary_expression "param_1[0x345] + 0x34" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1[0x346],param_1[0x348])" ( (subscript_expression "param_1[0x346]" identifier [ number_literal ]) , (subscript_expression "param_1[0x348]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);" (call_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" (parenthesized_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)" ( (pointer_expression "*(code *)PTR_term_provide_resize_fn_000b5894" * (cast_expression "(code *)PTR_term_provide_resize_fn_000b5894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" ( (subscript_expression "param_1[0x347]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(param_1[0x345] + 0x14)" * (cast_expression "(undefined4 *)(param_1[0x345] + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0x345] + 0x14)" ( (binary_expression "param_1[0x345] + 0x14" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) + number_literal) )))) , (subscript_expression "param_1[0x346]" identifier [ number_literal ]) ))) ;) (expression_statement "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);" (assignment_expression "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" identifier = (call_expression "(*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" (parenthesized_expression "(*(code *)PTR_ldisc_create_000b5898)" ( (pointer_expression "*(code *)PTR_ldisc_create_000b5898" * (cast_expression "(code *)PTR_ldisc_create_000b5898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , (subscript_expression "param_1[0x347]" identifier [ number_literal ]) , (subscript_expression "param_1[0x345]" identifier [ number_literal ]) , (subscript_expression "param_1[0x346]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;" (assignment_expression "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c" identifier = identifier) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_1[0x344] = uVar3;" (assignment_expression "param_1[0x344] = uVar3" (subscript_expression "param_1[0x344]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1[0xb]);" (call_expression "(*(code *)puVar1)(param_1[0xb])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xb])" ( (subscript_expression "param_1[0xb]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_24 == *(int *)puVar12) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar12)" ( (binary_expression "local_24 == *(int *)puVar12" identifier == (pointer_expression "*(int *)puVar12" * (cast_expression "(int *)puVar12" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar7 + 0xd14) != 0)" ( (binary_expression "*(int *)(iVar7 + 0xd14) != 0" (pointer_expression "*(int *)(iVar7 + 0xd14)" * (cast_expression "(int *)(iVar7 + 0xd14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd14)" ( (binary_expression "iVar7 + 0xd14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar10 = *(int *)(puVar12 + 0x46fd8);" (assignment_expression "iVar10 = *(int *)(puVar12 + 0x46fd8)" identifier = (pointer_expression "*(int *)(puVar12 + 0x46fd8)" * (cast_expression "(int *)(puVar12 + 0x46fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x46fd8)" ( (binary_expression "puVar12 + 0x46fd8" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);" (call_expression "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" (parenthesized_expression "(**(code **)(puVar12 + 0x4762c))" ( (pointer_expression "**(code **)(puVar12 + 0x4762c)" * (pointer_expression "*(code **)(puVar12 + 0x4762c)" * (cast_expression "(code **)(puVar12 + 0x4762c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4762c)" ( (binary_expression "puVar12 + 0x4762c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0xd20)" * (cast_expression "(undefined4 *)(iVar7 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd20)" ( (binary_expression "iVar7 + 0xd20" identifier + number_literal) )))) , (binary_expression "iVar10 + -0x2838" identifier + number_literal) ))) ;) (expression_statement "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);" (call_expression "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" identifier (argument_list "(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0x223c)" * (cast_expression "(undefined4 *)(iVar7 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x223c)" ( (binary_expression "iVar7 + 0x223c" identifier + number_literal) )))) , (binary_expression "iVar10 + -0x2838" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);" (call_expression "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x475f0))" ( (pointer_expression "**(code **)(puVar12 + 0x475f0)" * (pointer_expression "*(code **)(puVar12 + 0x475f0)" * (cast_expression "(code **)(puVar12 + 0x475f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x475f0)" ( (binary_expression "puVar12 + 0x475f0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar7 + 0xd1c),0)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0xd1c)" * (cast_expression "(undefined4 *)(iVar7 + 0xd1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd1c)" ( (binary_expression "iVar7 + 0xd1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "FUN_0006dfb4(iVar7);" (call_expression "FUN_0006dfb4(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(iVar7 + 0xd24) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + 0xd24) = 0" (pointer_expression "*(undefined4 *)(iVar7 + 0xd24)" * (cast_expression "(undefined4 *)(iVar7 + 0xd24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd24)" ( (binary_expression "iVar7 + 0xd24" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid start_backend(gui_data *inst)\n\n{\n  undefined *puVar1;\n  Backend *pBVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *pvVar8;\n  gui_data *inst_00;\n  Conf *pCVar9;\n  _func_char_ptr_void_ptr_void_ptr_ptr_Conf_ptr_char_ptr_int_char_ptr_ptr_int_int *p_Var10;\n  undefined *puVar11;\n  char *realhost;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  pBVar2 = select_backend(inst->conf);\n  pCVar9 = inst->conf;\n  p_Var10 = pBVar2->init;\n  inst->back = pBVar2;\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0);\n  iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1);\n  iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7);\n  iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8);\n  pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6);\n  if (pcVar3 != (char *)0x0) {\n    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);\n    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);\n    inst->exited = 1;\n    fatal_message_box(inst->window,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);\n  if (*pcVar3 == '\0') {\n    pcVar3 = make_default_wintitle(realhost);\n    set_title_and_icon(inst,pcVar3,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n  }\n  else {\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }\n  (*(code *)PTR_safefree_000b5210)(realhost);\n  (*inst->back->provide_logctx)(inst->backhandle,inst->logctx);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);\n  pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  inst_00 = (gui_data *)0x0;\n  inst->ldisc = pvVar8;\n  (*(code *)puVar1)(inst->restartitem);\n  if (local_24 == *(int *)puVar11) {\n    return;\n  }\n  puVar11 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (inst_00->back != (Backend *)0x0) {\n    return;\n  }\n  iVar4 = *(int *)(puVar11 + 0x46fd8);\n  (**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838);\n  logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838));\n  (**(code **)(puVar11 + 0x475f0))(inst_00->term,0);\n  start_backend(inst_00);\n  inst_00->exited = 0;\n  return;\n}\n\n" comment (function_definition "void start_backend(gui_data *inst)\n\n{\n  undefined *puVar1;\n  Backend *pBVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *pvVar8;\n  gui_data *inst_00;\n  Conf *pCVar9;\n  _func_char_ptr_void_ptr_void_ptr_ptr_Conf_ptr_char_ptr_int_char_ptr_ptr_int_int *p_Var10;\n  undefined *puVar11;\n  char *realhost;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  pBVar2 = select_backend(inst->conf);\n  pCVar9 = inst->conf;\n  p_Var10 = pBVar2->init;\n  inst->back = pBVar2;\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0);\n  iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1);\n  iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7);\n  iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8);\n  pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6);\n  if (pcVar3 != (char *)0x0) {\n    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);\n    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);\n    inst->exited = 1;\n    fatal_message_box(inst->window,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);\n  if (*pcVar3 == '\0') {\n    pcVar3 = make_default_wintitle(realhost);\n    set_title_and_icon(inst,pcVar3,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n  }\n  else {\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }\n  (*(code *)PTR_safefree_000b5210)(realhost);\n  (*inst->back->provide_logctx)(inst->backhandle,inst->logctx);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);\n  pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  inst_00 = (gui_data *)0x0;\n  inst->ldisc = pvVar8;\n  (*(code *)puVar1)(inst->restartitem);\n  if (local_24 == *(int *)puVar11) {\n    return;\n  }\n  puVar11 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (inst_00->back != (Backend *)0x0) {\n    return;\n  }\n  iVar4 = *(int *)(puVar11 + 0x46fd8);\n  (**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838);\n  logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838));\n  (**(code **)(puVar11 + 0x475f0))(inst_00->term,0);\n  start_backend(inst_00);\n  inst_00->exited = 0;\n  return;\n}" primitive_type (function_declarator "start_backend(gui_data *inst)" identifier (parameter_list "(gui_data *inst)" ( (parameter_declaration "gui_data *inst" type_identifier (pointer_declarator "*inst" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Backend *pBVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *pvVar8;\n  gui_data *inst_00;\n  Conf *pCVar9;\n  _func_char_ptr_void_ptr_void_ptr_ptr_Conf_ptr_char_ptr_int_char_ptr_ptr_int_int *p_Var10;\n  undefined *puVar11;\n  char *realhost;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  pBVar2 = select_backend(inst->conf);\n  pCVar9 = inst->conf;\n  p_Var10 = pBVar2->init;\n  inst->back = pBVar2;\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0);\n  iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1);\n  iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7);\n  iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8);\n  pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6);\n  if (pcVar3 != (char *)0x0) {\n    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);\n    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);\n    inst->exited = 1;\n    fatal_message_box(inst->window,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);\n  if (*pcVar3 == '\0') {\n    pcVar3 = make_default_wintitle(realhost);\n    set_title_and_icon(inst,pcVar3,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n  }\n  else {\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }\n  (*(code *)PTR_safefree_000b5210)(realhost);\n  (*inst->back->provide_logctx)(inst->backhandle,inst->logctx);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);\n  pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  inst_00 = (gui_data *)0x0;\n  inst->ldisc = pvVar8;\n  (*(code *)puVar1)(inst->restartitem);\n  if (local_24 == *(int *)puVar11) {\n    return;\n  }\n  puVar11 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (inst_00->back != (Backend *)0x0) {\n    return;\n  }\n  iVar4 = *(int *)(puVar11 + 0x46fd8);\n  (**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838);\n  logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838));\n  (**(code **)(puVar11 + 0x475f0))(inst_00->term,0);\n  start_backend(inst_00);\n  inst_00->exited = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Backend *pBVar2;" type_identifier (pointer_declarator "*pBVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "gui_data *inst_00;" type_identifier (pointer_declarator "*inst_00" * identifier) ;) (declaration "Conf *pCVar9;" type_identifier (pointer_declarator "*pCVar9" * identifier) ;) (declaration "_func_char_ptr_void_ptr_void_ptr_ptr_Conf_ptr_char_ptr_int_char_ptr_ptr_int_int *p_Var10;" type_identifier (pointer_declarator "*p_Var10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "char *realhost;" primitive_type (pointer_declarator "*realhost" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar11 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar11 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pBVar2 = select_backend(inst->conf);" (assignment_expression "pBVar2 = select_backend(inst->conf)" identifier = (call_expression "select_backend(inst->conf)" identifier (argument_list "(inst->conf)" ( (field_expression "inst->conf" identifier -> field_identifier) )))) ;) (expression_statement "pCVar9 = inst->conf;" (assignment_expression "pCVar9 = inst->conf" identifier = (field_expression "inst->conf" identifier -> field_identifier)) ;) (expression_statement "p_Var10 = pBVar2->init;" (assignment_expression "p_Var10 = pBVar2->init" identifier = (field_expression "pBVar2->init" identifier -> field_identifier)) ;) (expression_statement "inst->back = pBVar2;" (assignment_expression "inst->back = pBVar2" (field_expression "inst->back" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0)" identifier = (cast_expression "(char *)(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_conf_get_str_000b531c)(pCVar9,0)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pCVar9,0)" ( identifier , number_literal ))))) ;) (expression_statement "iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1);" (assignment_expression "iVar4 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(inst->conf,1)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf,1)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7);" (assignment_expression "iVar5 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(inst->conf,7)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf,7)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8);" (assignment_expression "iVar6 = (*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(inst->conf,8)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf,8)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6);" (assignment_expression "pcVar3 = (*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6)" identifier = (call_expression "(*p_Var10)(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6)" (parenthesized_expression "(*p_Var10)" ( (pointer_expression "*p_Var10" * identifier) )) (argument_list "(inst,&inst->backhandle,pCVar9,pcVar3,iVar4,&realhost,iVar5,iVar6)" ( identifier , (pointer_expression "&inst->backhandle" & (field_expression "inst->backhandle" identifier -> field_identifier)) , identifier , identifier , identifier , (pointer_expression "&realhost" & identifier) , identifier , identifier )))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);\n    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);\n    inst->exited = 1;\n    fatal_message_box(inst->window,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);\n    pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);\n    inst->exited = 1;\n    fatal_message_box(inst->window,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" { (expression_statement "uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf);" (assignment_expression "uVar7 = (*(code *)PTR_conf_dest_000b5888)(inst->conf)" identifier = (call_expression "(*(code *)PTR_conf_dest_000b5888)(inst->conf)" (parenthesized_expression "(*(code *)PTR_conf_dest_000b5888)" ( (pointer_expression "*(code *)PTR_conf_dest_000b5888" * (cast_expression "(code *)PTR_conf_dest_000b5888" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf)" ( (field_expression "inst->conf" identifier -> field_identifier) )))) ;) (expression_statement "pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3)" identifier = (cast_expression "(char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar7,pcVar3)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x285c" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "inst->exited = 1;" (assignment_expression "inst->exited = 1" (field_expression "inst->exited" identifier -> field_identifier) = number_literal) ;) (expression_statement "fatal_message_box(inst->window,pcVar3);" (call_expression "fatal_message_box(inst->window,pcVar3)" identifier (argument_list "(inst->window,pcVar3)" ( (field_expression "inst->window" identifier -> field_identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(pcVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(pcVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000b5c74)(0);" (call_expression "(*(code *)PTR_exit_000b5c74)(0)" (parenthesized_expression "(*(code *)PTR_exit_000b5c74)" ( (pointer_expression "*(code *)PTR_exit_000b5c74" * (cast_expression "(code *)PTR_exit_000b5c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f)" identifier = (cast_expression "(char *)(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_conf_get_str_000b531c)(inst->conf,0x5f)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf,0x5f)" ( (field_expression "inst->conf" identifier -> field_identifier) , number_literal ))))) ;) (if_statement "if (*pcVar3 == '\0') {\n    pcVar3 = make_default_wintitle(realhost);\n    set_title_and_icon(inst,pcVar3,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n  }\n  else {\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }" if (parenthesized_expression "(*pcVar3 == '\0')" ( (binary_expression "*pcVar3 == '\0'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = make_default_wintitle(realhost);\n    set_title_and_icon(inst,pcVar3,pcVar3);\n    (*(code *)PTR_safefree_000b5210)(pcVar3);\n  }" { (expression_statement "pcVar3 = make_default_wintitle(realhost);" (assignment_expression "pcVar3 = make_default_wintitle(realhost)" identifier = (call_expression "make_default_wintitle(realhost)" identifier (argument_list "(realhost)" ( identifier )))) ;) (expression_statement "set_title_and_icon(inst,pcVar3,pcVar3);" (call_expression "set_title_and_icon(inst,pcVar3,pcVar3)" identifier (argument_list "(inst,pcVar3,pcVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(pcVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(pcVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) }) (else_clause "else {\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }" else (compound_statement "{\n    set_title_and_icon(inst,pcVar3,pcVar3);\n  }" { (expression_statement "set_title_and_icon(inst,pcVar3,pcVar3);" (call_expression "set_title_and_icon(inst,pcVar3,pcVar3)" identifier (argument_list "(inst,pcVar3,pcVar3)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_safefree_000b5210)(realhost);" (call_expression "(*(code *)PTR_safefree_000b5210)(realhost)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(realhost)" ( identifier ))) ;) (expression_statement "(*inst->back->provide_logctx)(inst->backhandle,inst->logctx);" (call_expression "(*inst->back->provide_logctx)(inst->backhandle,inst->logctx)" (parenthesized_expression "(*inst->back->provide_logctx)" ( (pointer_expression "*inst->back->provide_logctx" * (field_expression "inst->back->provide_logctx" (field_expression "inst->back" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(inst->backhandle,inst->logctx)" ( (field_expression "inst->backhandle" identifier -> field_identifier) , (field_expression "inst->logctx" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);" (call_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle)" (parenthesized_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)" ( (pointer_expression "*(code *)PTR_term_provide_resize_fn_000b5894" * (cast_expression "(code *)PTR_term_provide_resize_fn_000b5894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->term,inst->back->size,inst->backhandle)" ( (field_expression "inst->term" identifier -> field_identifier) , (field_expression "inst->back->size" (field_expression "inst->back" identifier -> field_identifier) -> field_identifier) , (field_expression "inst->backhandle" identifier -> field_identifier) ))) ;) (expression_statement "pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);" (assignment_expression "pvVar8 = (void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst)" identifier = (cast_expression "(void *)(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ldisc_create_000b5898)\n                             (inst->conf,inst->term,inst->back,inst->backhandle,inst)" (parenthesized_expression "(*(code *)PTR_ldisc_create_000b5898)" ( (pointer_expression "*(code *)PTR_ldisc_create_000b5898" * (cast_expression "(code *)PTR_ldisc_create_000b5898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->conf,inst->term,inst->back,inst->backhandle,inst)" ( (field_expression "inst->conf" identifier -> field_identifier) , (field_expression "inst->term" identifier -> field_identifier) , (field_expression "inst->back" identifier -> field_identifier) , (field_expression "inst->backhandle" identifier -> field_identifier) , identifier ))))) ;) (expression_statement "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;" (assignment_expression "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c" identifier = identifier) ;) (expression_statement "inst_00 = (gui_data *)0x0;" (assignment_expression "inst_00 = (gui_data *)0x0" identifier = (cast_expression "(gui_data *)0x0" ( (type_descriptor "gui_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "inst->ldisc = pvVar8;" (assignment_expression "inst->ldisc = pvVar8" (field_expression "inst->ldisc" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(inst->restartitem);" (call_expression "(*(code *)puVar1)(inst->restartitem)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(inst->restartitem)" ( (field_expression "inst->restartitem" identifier -> field_identifier) ))) ;) (if_statement "if (local_24 == *(int *)puVar11) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar11)" ( (binary_expression "local_24 == *(int *)puVar11" identifier == (pointer_expression "*(int *)puVar11" * (cast_expression "(int *)puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar11 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar11 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (inst_00->back != (Backend *)0x0) {\n    return;\n  }" if (parenthesized_expression "(inst_00->back != (Backend *)0x0)" ( (binary_expression "inst_00->back != (Backend *)0x0" (field_expression "inst_00->back" identifier -> field_identifier) != (cast_expression "(Backend *)0x0" ( (type_descriptor "Backend *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(puVar11 + 0x46fd8);" (assignment_expression "iVar4 = *(int *)(puVar11 + 0x46fd8)" identifier = (pointer_expression "*(int *)(puVar11 + 0x46fd8)" * (cast_expression "(int *)(puVar11 + 0x46fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x46fd8)" ( (binary_expression "puVar11 + 0x46fd8" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838);" (call_expression "(**(code **)(puVar11 + 0x4762c))(inst_00->logctx,iVar4 + -0x2838)" (parenthesized_expression "(**(code **)(puVar11 + 0x4762c))" ( (pointer_expression "**(code **)(puVar11 + 0x4762c)" * (pointer_expression "*(code **)(puVar11 + 0x4762c)" * (cast_expression "(code **)(puVar11 + 0x4762c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x4762c)" ( (binary_expression "puVar11 + 0x4762c" identifier + number_literal) ))))) )) (argument_list "(inst_00->logctx,iVar4 + -0x2838)" ( (field_expression "inst_00->logctx" identifier -> field_identifier) , (binary_expression "iVar4 + -0x2838" identifier + number_literal) ))) ;) (expression_statement "logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838));" (call_expression "logevent_dlg(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838))" identifier (argument_list "(inst_00->eventlogstuff,(char *)(iVar4 + -0x2838))" ( (field_expression "inst_00->eventlogstuff" identifier -> field_identifier) , (cast_expression "(char *)(iVar4 + -0x2838)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x2838)" ( (binary_expression "iVar4 + -0x2838" identifier + number_literal) ))) ))) ;) (expression_statement "(**(code **)(puVar11 + 0x475f0))(inst_00->term,0);" (call_expression "(**(code **)(puVar11 + 0x475f0))(inst_00->term,0)" (parenthesized_expression "(**(code **)(puVar11 + 0x475f0))" ( (pointer_expression "**(code **)(puVar11 + 0x475f0)" * (pointer_expression "*(code **)(puVar11 + 0x475f0)" * (cast_expression "(code **)(puVar11 + 0x475f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x475f0)" ( (binary_expression "puVar11 + 0x475f0" identifier + number_literal) ))))) )) (argument_list "(inst_00->term,0)" ( (field_expression "inst_00->term" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "start_backend(inst_00);" (call_expression "start_backend(inst_00)" identifier (argument_list "(inst_00)" ( identifier ))) ;) (expression_statement "inst_00->exited = 0;" (assignment_expression "inst_00->exited = 0" (field_expression "inst_00->exited" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006dfb4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0006dfb4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0006dfb4(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar12 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar12 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)select_backend(param_1[0x88e]);" (assignment_expression "puVar2 = (undefined4 *)select_backend(param_1[0x88e])" identifier = (cast_expression "(undefined4 *)select_backend(param_1[0x88e])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "select_backend(param_1[0x88e])" identifier (argument_list "(param_1[0x88e])" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) ))))) ;) (expression_statement "uVar9 = param_1[0x88e];" (assignment_expression "uVar9 = param_1[0x88e]" identifier = (subscript_expression "param_1[0x88e]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = (code *)*puVar2;" (assignment_expression "pcVar11 = (code *)*puVar2" identifier = (cast_expression "(code *)*puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "param_1[0x345] = puVar2;" (assignment_expression "param_1[0x345] = puVar2" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);" (assignment_expression "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" identifier = (call_expression "(*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);" (assignment_expression "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],1)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);" (assignment_expression "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],7)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);" (assignment_expression "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" ( (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" * (cast_expression "(code *)PTR_conf_get_int_000b52cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],8)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);" (assignment_expression "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" identifier = (call_expression "(*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" ( identifier , (binary_expression "param_1 + 0x346" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);" (assignment_expression "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" identifier = (call_expression "(*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" (parenthesized_expression "(*(code *)PTR_conf_dest_000b5888)" ( (pointer_expression "*(code *)PTR_conf_dest_000b5888" * (cast_expression "(code *)PTR_conf_dest_000b5888" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e])" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x285c" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "param_1[0x349] = 1;" (assignment_expression "param_1[0x349] = 1" (subscript_expression "param_1[0x349]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "fatal_message_box(*param_1,uVar3);" (call_expression "fatal_message_box(*param_1,uVar3)" identifier (argument_list "(*param_1,uVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000b5c74)(0);" (call_expression "(*(code *)PTR_exit_000b5c74)(0)" (parenthesized_expression "(*(code *)PTR_exit_000b5c74)" ( (pointer_expression "*(code *)PTR_exit_000b5c74" * (cast_expression "(code *)PTR_exit_000b5c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" identifier = (cast_expression "(char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" ( (pointer_expression "*(code *)PTR_conf_get_str_000b531c" * (cast_expression "(code *)PTR_conf_get_str_000b531c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],0x5f)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , number_literal ))))) ;) (if_statement "if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" if (parenthesized_expression "(*pcVar8 == '\0')" ( (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }" { (expression_statement "uVar3 = make_default_wintitle(local_28);" (assignment_expression "uVar3 = make_default_wintitle(local_28)" identifier = (call_expression "make_default_wintitle(local_28)" identifier (argument_list "(local_28)" ( identifier )))) ;) (expression_statement "set_title_and_icon(param_1,uVar3,uVar3);" (call_expression "set_title_and_icon(param_1,uVar3,uVar3)" identifier (argument_list "(param_1,uVar3,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier ))) ;) }) (else_clause "else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" else (compound_statement "{\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" { (expression_statement "set_title_and_icon(param_1,pcVar8,pcVar8);" (call_expression "set_title_and_icon(param_1,pcVar8,pcVar8)" identifier (argument_list "(param_1,pcVar8,pcVar8)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "(*(code *)PTR_safefree_000b5210)(local_28);" (call_expression "(*(code *)PTR_safefree_000b5210)(local_28)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" ( (pointer_expression "*(code *)PTR_safefree_000b5210" * (cast_expression "(code *)PTR_safefree_000b5210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);" (call_expression "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348])" (parenthesized_expression "(**(code **)(param_1[0x345] + 0x34))" ( (pointer_expression "**(code **)(param_1[0x345] + 0x34)" * (pointer_expression "*(code **)(param_1[0x345] + 0x34)" * (cast_expression "(code **)(param_1[0x345] + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0x345] + 0x34)" ( (binary_expression "param_1[0x345] + 0x34" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1[0x346],param_1[0x348])" ( (subscript_expression "param_1[0x346]" identifier [ number_literal ]) , (subscript_expression "param_1[0x348]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);" (call_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" (parenthesized_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)" ( (pointer_expression "*(code *)PTR_term_provide_resize_fn_000b5894" * (cast_expression "(code *)PTR_term_provide_resize_fn_000b5894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" ( (subscript_expression "param_1[0x347]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(param_1[0x345] + 0x14)" * (cast_expression "(undefined4 *)(param_1[0x345] + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0x345] + 0x14)" ( (binary_expression "param_1[0x345] + 0x14" (subscript_expression "param_1[0x345]" identifier [ number_literal ]) + number_literal) )))) , (subscript_expression "param_1[0x346]" identifier [ number_literal ]) ))) ;) (expression_statement "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);" (assignment_expression "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" identifier = (call_expression "(*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" (parenthesized_expression "(*(code *)PTR_ldisc_create_000b5898)" ( (pointer_expression "*(code *)PTR_ldisc_create_000b5898" * (cast_expression "(code *)PTR_ldisc_create_000b5898" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" ( (subscript_expression "param_1[0x88e]" identifier [ number_literal ]) , (subscript_expression "param_1[0x347]" identifier [ number_literal ]) , (subscript_expression "param_1[0x345]" identifier [ number_literal ]) , (subscript_expression "param_1[0x346]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;" (assignment_expression "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c" identifier = identifier) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_1[0x344] = uVar3;" (assignment_expression "param_1[0x344] = uVar3" (subscript_expression "param_1[0x344]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1[0xb]);" (call_expression "(*(code *)puVar1)(param_1[0xb])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xb])" ( (subscript_expression "param_1[0xb]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_24 == *(int *)puVar12) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar12)" ( (binary_expression "local_24 == *(int *)puVar12" identifier == (pointer_expression "*(int *)puVar12" * (cast_expression "(int *)puVar12" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar7 + 0xd14) != 0)" ( (binary_expression "*(int *)(iVar7 + 0xd14) != 0" (pointer_expression "*(int *)(iVar7 + 0xd14)" * (cast_expression "(int *)(iVar7 + 0xd14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd14)" ( (binary_expression "iVar7 + 0xd14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar10 = *(int *)(puVar12 + 0x46fd8);" (assignment_expression "iVar10 = *(int *)(puVar12 + 0x46fd8)" identifier = (pointer_expression "*(int *)(puVar12 + 0x46fd8)" * (cast_expression "(int *)(puVar12 + 0x46fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x46fd8)" ( (binary_expression "puVar12 + 0x46fd8" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);" (call_expression "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" (parenthesized_expression "(**(code **)(puVar12 + 0x4762c))" ( (pointer_expression "**(code **)(puVar12 + 0x4762c)" * (pointer_expression "*(code **)(puVar12 + 0x4762c)" * (cast_expression "(code **)(puVar12 + 0x4762c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4762c)" ( (binary_expression "puVar12 + 0x4762c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0xd20)" * (cast_expression "(undefined4 *)(iVar7 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd20)" ( (binary_expression "iVar7 + 0xd20" identifier + number_literal) )))) , (binary_expression "iVar10 + -0x2838" identifier + number_literal) ))) ;) (expression_statement "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);" (call_expression "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" identifier (argument_list "(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0x223c)" * (cast_expression "(undefined4 *)(iVar7 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x223c)" ( (binary_expression "iVar7 + 0x223c" identifier + number_literal) )))) , (binary_expression "iVar10 + -0x2838" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);" (call_expression "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x475f0))" ( (pointer_expression "**(code **)(puVar12 + 0x475f0)" * (pointer_expression "*(code **)(puVar12 + 0x475f0)" * (cast_expression "(code **)(puVar12 + 0x475f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x475f0)" ( (binary_expression "puVar12 + 0x475f0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar7 + 0xd1c),0)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0xd1c)" * (cast_expression "(undefined4 *)(iVar7 + 0xd1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd1c)" ( (binary_expression "iVar7 + 0xd1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "FUN_0006dfb4(iVar7);" (call_expression "FUN_0006dfb4(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(iVar7 + 0xd24) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + 0xd24) = 0" (pointer_expression "*(undefined4 *)(iVar7 + 0xd24)" * (cast_expression "(undefined4 *)(iVar7 + 0xd24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xd24)" ( (binary_expression "iVar7 + 0xd24" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0006dfb4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006dfb4(undefined4 *param_1)" (identifier "FUN_0006dfb4") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  int iVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar12 = PTR___stack_chk_guard_000b60f8;\n  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;\n  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);\n  uVar9 = param_1[0x88e];\n  pcVar11 = (code *)*puVar2;\n  param_1[0x345] = puVar2;\n  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);\n  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);\n  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);\n  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);\n  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);\n  if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }\n  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);\n  if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }\n  (*(code *)PTR_safefree_000b5210)(local_28);\n  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);\n  (*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);\n  uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);\n  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;\n  iVar7 = 0;\n  param_1[0x344] = uVar3;\n  (*(code *)puVar1)(param_1[0xb]);\n  if (local_24 == *(int *)puVar12) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }\n  iVar10 = *(int *)(puVar12 + 0x46fd8);\n  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);\n  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);\n  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);\n  FUN_0006dfb4(iVar7);\n  *(undefined4 *)(iVar7 + 0xd24) = 0;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar12 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar12 = PTR___stack_chk_guard_000b60f8" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_guard_000b60f8")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b60f8" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b60f8")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)select_backend(param_1[0x88e]);" (assignment_expression "puVar2 = (undefined4 *)select_backend(param_1[0x88e])" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)select_backend(param_1[0x88e])" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "select_backend(param_1[0x88e])" (identifier "select_backend") (argument_list "(param_1[0x88e])" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) () ")"))))) (; ";")) (expression_statement "uVar9 = param_1[0x88e];" (assignment_expression "uVar9 = param_1[0x88e]" (identifier "uVar9") (= "=") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]"))) (; ";")) (expression_statement "pcVar11 = (code *)*puVar2;" (assignment_expression "pcVar11 = (code *)*puVar2" (identifier "pcVar11") (= "=") (cast_expression "(code *)*puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "param_1[0x345] = puVar2;" (assignment_expression "param_1[0x345] = puVar2" (subscript_expression "param_1[0x345]" (identifier "param_1") ([ "[") (number_literal "0x345") (] "]")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);" (assignment_expression "uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_conf_get_str_000b531c)(uVar9,0)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" (( "(") (pointer_expression "*(code *)PTR_conf_get_str_000b531c" (* "*") (cast_expression "(code *)PTR_conf_get_str_000b531c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_str_000b531c"))) () ")")) (argument_list "(uVar9,0)" (( "(") (identifier "uVar9") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);" (assignment_expression "uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" (* "*") (cast_expression "(code *)PTR_conf_get_int_000b52cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_000b52cc"))) () ")")) (argument_list "(param_1[0x88e],1)" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);" (assignment_expression "uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" (* "*") (cast_expression "(code *)PTR_conf_get_int_000b52cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_000b52cc"))) () ")")) (argument_list "(param_1[0x88e],7)" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);" (assignment_expression "uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000b52cc)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_000b52cc" (* "*") (cast_expression "(code *)PTR_conf_get_int_000b52cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_000b52cc"))) () ")")) (argument_list "(param_1[0x88e],8)" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);" (assignment_expression "iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" (identifier "iVar7") (= "=") (call_expression "(*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_1 + 0x346" (identifier "param_1") (+ "+") (number_literal "0x346")) (, ",") (identifier "uVar9") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);\n    param_1[0x349] = 1;\n    fatal_message_box(*param_1,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n    (*(code *)PTR_exit_000b5c74)(0);\n    return;\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);" (assignment_expression "uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_conf_dest_000b5888)(param_1[0x88e])" (parenthesized_expression "(*(code *)PTR_conf_dest_000b5888)" (( "(") (pointer_expression "*(code *)PTR_conf_dest_000b5888" (* "*") (cast_expression "(code *)PTR_conf_dest_000b5888" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_dest_000b5888"))) () ")")) (argument_list "(param_1[0x88e])" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" (( "(") (pointer_expression "*(code *)PTR_dupprintf_000b52c0" (* "*") (cast_expression "(code *)PTR_dupprintf_000b52c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupprintf_000b52c0"))) () ")")) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7)" (( "(") (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x285c" (identifier "PTR_s_XXXXXXXXXX___________000b5214") (+ "+") (number_literal "-0x285c")) (, ",") (identifier "uVar3") (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "param_1[0x349] = 1;" (assignment_expression "param_1[0x349] = 1" (subscript_expression "param_1[0x349]" (identifier "param_1") ([ "[") (number_literal "0x349") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "fatal_message_box(*param_1,uVar3);" (call_expression "fatal_message_box(*param_1,uVar3)" (identifier "fatal_message_box") (argument_list "(*param_1,uVar3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b5210" (* "*") (cast_expression "(code *)PTR_safefree_000b5210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b5210"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_exit_000b5c74)(0);" (call_expression "(*(code *)PTR_exit_000b5c74)(0)" (parenthesized_expression "(*(code *)PTR_exit_000b5c74)" (( "(") (pointer_expression "*(code *)PTR_exit_000b5c74" (* "*") (cast_expression "(code *)PTR_exit_000b5c74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000b5c74"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" (identifier "pcVar8") (= "=") (cast_expression "(char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f)" (parenthesized_expression "(*(code *)PTR_conf_get_str_000b531c)" (( "(") (pointer_expression "*(code *)PTR_conf_get_str_000b531c" (* "*") (cast_expression "(code *)PTR_conf_get_str_000b531c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_str_000b531c"))) () ")")) (argument_list "(param_1[0x88e],0x5f)" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) (, ",") (number_literal "0x5f") () ")"))))) (; ";")) (if_statement "if (*pcVar8 == '\0') {\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }\n  else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" (if "if") (parenthesized_expression "(*pcVar8 == '\0')" (( "(") (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar3 = make_default_wintitle(local_28);\n    set_title_and_icon(param_1,uVar3,uVar3);\n    (*(code *)PTR_safefree_000b5210)(uVar3);\n  }" ({ "{") (expression_statement "uVar3 = make_default_wintitle(local_28);" (assignment_expression "uVar3 = make_default_wintitle(local_28)" (identifier "uVar3") (= "=") (call_expression "make_default_wintitle(local_28)" (identifier "make_default_wintitle") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")")))) (; ";")) (expression_statement "set_title_and_icon(param_1,uVar3,uVar3);" (call_expression "set_title_and_icon(param_1,uVar3,uVar3)" (identifier "set_title_and_icon") (argument_list "(param_1,uVar3,uVar3)" (( "(") (identifier "param_1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000b5210)(uVar3);" (call_expression "(*(code *)PTR_safefree_000b5210)(uVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b5210" (* "*") (cast_expression "(code *)PTR_safefree_000b5210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b5210"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" (else "else") (compound_statement "{\n    set_title_and_icon(param_1,pcVar8,pcVar8);\n  }" ({ "{") (expression_statement "set_title_and_icon(param_1,pcVar8,pcVar8);" (call_expression "set_title_and_icon(param_1,pcVar8,pcVar8)" (identifier "set_title_and_icon") (argument_list "(param_1,pcVar8,pcVar8)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar8") (, ",") (identifier "pcVar8") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_safefree_000b5210)(local_28);" (call_expression "(*(code *)PTR_safefree_000b5210)(local_28)" (parenthesized_expression "(*(code *)PTR_safefree_000b5210)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b5210" (* "*") (cast_expression "(code *)PTR_safefree_000b5210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b5210"))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);" (call_expression "(**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348])" (parenthesized_expression "(**(code **)(param_1[0x345] + 0x34))" (( "(") (pointer_expression "**(code **)(param_1[0x345] + 0x34)" (* "*") (pointer_expression "*(code **)(param_1[0x345] + 0x34)" (* "*") (cast_expression "(code **)(param_1[0x345] + 0x34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[0x345] + 0x34)" (( "(") (binary_expression "param_1[0x345] + 0x34" (subscript_expression "param_1[0x345]" (identifier "param_1") ([ "[") (number_literal "0x345") (] "]")) (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (argument_list "(param_1[0x346],param_1[0x348])" (( "(") (subscript_expression "param_1[0x346]" (identifier "param_1") ([ "[") (number_literal "0x346") (] "]")) (, ",") (subscript_expression "param_1[0x348]" (identifier "param_1") ([ "[") (number_literal "0x348") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);" (call_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)\n            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" (parenthesized_expression "(*(code *)PTR_term_provide_resize_fn_000b5894)" (( "(") (pointer_expression "*(code *)PTR_term_provide_resize_fn_000b5894" (* "*") (cast_expression "(code *)PTR_term_provide_resize_fn_000b5894" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_term_provide_resize_fn_000b5894"))) () ")")) (argument_list "(param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346])" (( "(") (subscript_expression "param_1[0x347]" (identifier "param_1") ([ "[") (number_literal "0x347") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(param_1[0x345] + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1[0x345] + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0x345] + 0x14)" (( "(") (binary_expression "param_1[0x345] + 0x14" (subscript_expression "param_1[0x345]" (identifier "param_1") ([ "[") (number_literal "0x345") (] "]")) (+ "+") (number_literal "0x14")) () ")")))) (, ",") (subscript_expression "param_1[0x346]" (identifier "param_1") ([ "[") (number_literal "0x346") (] "]")) () ")"))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);" (assignment_expression "uVar3 = (*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_ldisc_create_000b5898)\n                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" (parenthesized_expression "(*(code *)PTR_ldisc_create_000b5898)" (( "(") (pointer_expression "*(code *)PTR_ldisc_create_000b5898" (* "*") (cast_expression "(code *)PTR_ldisc_create_000b5898" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ldisc_create_000b5898"))) () ")")) (argument_list "(param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1)" (( "(") (subscript_expression "param_1[0x88e]" (identifier "param_1") ([ "[") (number_literal "0x88e") (] "]")) (, ",") (subscript_expression "param_1[0x347]" (identifier "param_1") ([ "[") (number_literal "0x347") (] "]")) (, ",") (subscript_expression "param_1[0x345]" (identifier "param_1") ([ "[") (number_literal "0x345") (] "]")) (, ",") (subscript_expression "param_1[0x346]" (identifier "param_1") ([ "[") (number_literal "0x346") (] "]")) (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;" (assignment_expression "puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c" (identifier "puVar1") (= "=") (identifier "PTR_gtk_widget_set_sensitive_000b5a1c")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x344] = uVar3;" (assignment_expression "param_1[0x344] = uVar3" (subscript_expression "param_1[0x344]" (identifier "param_1") ([ "[") (number_literal "0x344") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "(*(code *)puVar1)(param_1[0xb]);" (call_expression "(*(code *)puVar1)(param_1[0xb])" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1[0xb])" (( "(") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) () ")"))) (; ";")) (if_statement "if (local_24 == *(int *)puVar12) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar12)" (( "(") (binary_expression "local_24 == *(int *)puVar12" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar12" (* "*") (cast_expression "(int *)puVar12" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar12 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000b5d9c" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_fail_000b5d9c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b5d9c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(iVar7 + 0xd14) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar7 + 0xd14) != 0)" (( "(") (binary_expression "*(int *)(iVar7 + 0xd14) != 0" (pointer_expression "*(int *)(iVar7 + 0xd14)" (* "*") (cast_expression "(int *)(iVar7 + 0xd14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xd14)" (( "(") (binary_expression "iVar7 + 0xd14" (identifier "iVar7") (+ "+") (number_literal "0xd14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar10 = *(int *)(puVar12 + 0x46fd8);" (assignment_expression "iVar10 = *(int *)(puVar12 + 0x46fd8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar12 + 0x46fd8)" (* "*") (cast_expression "(int *)(puVar12 + 0x46fd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x46fd8)" (( "(") (binary_expression "puVar12 + 0x46fd8" (identifier "puVar12") (+ "+") (number_literal "0x46fd8")) () ")"))))) (; ";")) (expression_statement "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);" (call_expression "(**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" (parenthesized_expression "(**(code **)(puVar12 + 0x4762c))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4762c)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4762c)" (* "*") (cast_expression "(code **)(puVar12 + 0x4762c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4762c)" (( "(") (binary_expression "puVar12 + 0x4762c" (identifier "puVar12") (+ "+") (number_literal "0x4762c")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838)" (( "(") (pointer_expression "*(undefined4 *)(iVar7 + 0xd20)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0xd20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xd20)" (( "(") (binary_expression "iVar7 + 0xd20" (identifier "iVar7") (+ "+") (number_literal "0xd20")) () ")")))) (, ",") (binary_expression "iVar10 + -0x2838" (identifier "iVar10") (+ "+") (number_literal "-0x2838")) () ")"))) (; ";")) (expression_statement "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);" (call_expression "logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" (identifier "logevent_dlg") (argument_list "(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838)" (( "(") (pointer_expression "*(undefined4 *)(iVar7 + 0x223c)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x223c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x223c)" (( "(") (binary_expression "iVar7 + 0x223c" (identifier "iVar7") (+ "+") (number_literal "0x223c")) () ")")))) (, ",") (binary_expression "iVar10 + -0x2838" (identifier "iVar10") (+ "+") (number_literal "-0x2838")) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);" (call_expression "(**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x475f0))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x475f0)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x475f0)" (* "*") (cast_expression "(code **)(puVar12 + 0x475f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x475f0)" (( "(") (binary_expression "puVar12 + 0x475f0" (identifier "puVar12") (+ "+") (number_literal "0x475f0")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar7 + 0xd1c),0)" (( "(") (pointer_expression "*(undefined4 *)(iVar7 + 0xd1c)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0xd1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xd1c)" (( "(") (binary_expression "iVar7 + 0xd1c" (identifier "iVar7") (+ "+") (number_literal "0xd1c")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_0006dfb4(iVar7);" (call_expression "FUN_0006dfb4(iVar7)" (identifier "FUN_0006dfb4") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0xd24) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + 0xd24) = 0" (pointer_expression "*(undefined4 *)(iVar7 + 0xd24)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0xd24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xd24)" (( "(") (binary_expression "iVar7 + 0xd24" (identifier "iVar7") (+ "+") (number_literal "0xd24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 *inst)

{
  type_2 *puVar1;
  type_3 *pBVar2;
  char *var_2;
  int var_9;
  int iVar5;
  int iVar6;
  type_4 uVar7;
  void *pvVar8;
  type_1 *inst_00;
  type_5 *pCVar9;
  type_6 *p_Var10;
  type_2 *var_8;
  char *realhost;
  int var_7;
  
  var_8 = PTR___stack_chk_guard_000b60f8;
  var_7 = *(int *)PTR___stack_chk_guard_000b60f8;
  pBVar2 = var_1(inst->conf);
  pCVar9 = inst->conf;
  p_Var10 = pBVar2->init;
  inst->back = pBVar2;
  var_2 = (char *)(*(type_7 *)PTR_conf_get_str_000b531c)(pCVar9,0);
  var_9 = (*(type_7 *)PTR_conf_get_int_000b52cc)(inst->conf,1);
  iVar5 = (*(type_7 *)PTR_conf_get_int_000b52cc)(inst->conf,7);
  iVar6 = (*(type_7 *)PTR_conf_get_int_000b52cc)(inst->conf,8);
  var_2 = (*p_Var10)(inst,&inst->backhandle,pCVar9,var_2,var_9,&realhost,iVar5,iVar6);
  if (var_2 != (char *)0x0) {
    uVar7 = (*(type_7 *)PTR_conf_dest_000b5888)(inst->conf);
    var_2 = (char *)(*(type_7 *)PTR_dupprintf_000b52c0)
                               (var_3 + -0x285c,uVar7,var_2);
    inst->exited = 1;
    var_4(inst->window,var_2);
    (*(type_7 *)PTR_safefree_000b5210)(var_2);
    (*(type_7 *)PTR_exit_000b5c74)(0);
    return;
  }
  var_2 = (char *)(*(type_7 *)PTR_conf_get_str_000b531c)(inst->conf,0x5f);
  if (*var_2 == '\0') {
    var_2 = var_5(realhost);
    var_6(inst,var_2,var_2);
    (*(type_7 *)PTR_safefree_000b5210)(var_2);
  }
  else {
    var_6(inst,var_2,var_2);
  }
  (*(type_7 *)PTR_safefree_000b5210)(realhost);
  (*inst->back->provide_logctx)(inst->backhandle,inst->logctx);
  (*(type_7 *)PTR_term_provide_resize_fn_000b5894)(inst->term,inst->back->size,inst->backhandle);
  pvVar8 = (void *)(*(type_7 *)PTR_ldisc_create_000b5898)
                             (inst->conf,inst->term,inst->back,inst->backhandle,inst);
  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;
  inst_00 = (type_1 *)0x0;
  inst->ldisc = pvVar8;
  (*(type_7 *)puVar1)(inst->restartitem);
  if (var_7 == *(int *)var_8) {
    return;
  }
  var_8 = PTR___stack_chk_fail_000b5d9c;
  (*(type_7 *)PTR___stack_chk_fail_000b5d9c)();
  if (inst_00->back != (type_3 *)0x0) {
    return;
  }
  var_9 = *(int *)(var_8 + 0x46fd8);
  (**(type_7 **)(var_8 + 0x4762c))(inst_00->logctx,var_9 + -0x2838);
  var_10(inst_00->eventlogstuff,(char *)(var_9 + -0x2838));
  (**(type_7 **)(var_8 + 0x475f0))(inst_00->term,0);
  function_1(inst_00);
  inst_00->exited = 0;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  int iVar7;
  char *pcVar8;
  undefined4 uVar9;
  int iVar10;
  code *pcVar11;
  undefined *puVar12;
  undefined4 local_28;
  int local_24;
  
  puVar12 = PTR___stack_chk_guard_000b60f8;
  local_24 = *(int *)PTR___stack_chk_guard_000b60f8;
  puVar2 = (undefined4 *)select_backend(param_1[0x88e]);
  uVar9 = param_1[0x88e];
  pcVar11 = (code *)*puVar2;
  param_1[0x345] = puVar2;
  uVar3 = (*(code *)PTR_conf_get_str_000b531c)(uVar9,0);
  uVar4 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],1);
  uVar5 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],7);
  uVar6 = (*(code *)PTR_conf_get_int_000b52cc)(param_1[0x88e],8);
  iVar7 = (*pcVar11)(param_1,param_1 + 0x346,uVar9,uVar3,uVar4,&local_28,uVar5,uVar6);
  if (iVar7 != 0) {
    uVar3 = (*(code *)PTR_conf_dest_000b5888)(param_1[0x88e]);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x285c,uVar3,iVar7);
    param_1[0x349] = 1;
    fatal_message_box(*param_1,uVar3);
    (*(code *)PTR_safefree_000b5210)(uVar3);
    (*(code *)PTR_exit_000b5c74)(0);
    return;
  }
  pcVar8 = (char *)(*(code *)PTR_conf_get_str_000b531c)(param_1[0x88e],0x5f);
  if (*pcVar8 == '\0') {
    uVar3 = make_default_wintitle(local_28);
    set_title_and_icon(param_1,uVar3,uVar3);
    (*(code *)PTR_safefree_000b5210)(uVar3);
  }
  else {
    set_title_and_icon(param_1,pcVar8,pcVar8);
  }
  (*(code *)PTR_safefree_000b5210)(local_28);
  (**(code **)(param_1[0x345] + 0x34))(param_1[0x346],param_1[0x348]);
  (*(code *)PTR_term_provide_resize_fn_000b5894)
            (param_1[0x347],*(undefined4 *)(param_1[0x345] + 0x14),param_1[0x346]);
  uVar3 = (*(code *)PTR_ldisc_create_000b5898)
                    (param_1[0x88e],param_1[0x347],param_1[0x345],param_1[0x346],param_1);
  puVar1 = PTR_gtk_widget_set_sensitive_000b5a1c;
  iVar7 = 0;
  param_1[0x344] = uVar3;
  (*(code *)puVar1)(param_1[0xb]);
  if (local_24 == *(int *)puVar12) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  if (*(int *)(iVar7 + 0xd14) != 0) {
    return;
  }
  iVar10 = *(int *)(puVar12 + 0x46fd8);
  (**(code **)(puVar12 + 0x4762c))(*(undefined4 *)(iVar7 + 0xd20),iVar10 + -0x2838);
  logevent_dlg(*(undefined4 *)(iVar7 + 0x223c),iVar10 + -0x2838);
  (**(code **)(puVar12 + 0x475f0))(*(undefined4 *)(iVar7 + 0xd1c),0);
  MASKED(iVar7);
  *(undefined4 *)(iVar7 + 0xd24) = 0;
  return;
}

