
int prompt_failed_backupwrite(char *filename)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  char *msg;
  undefined4 uVar5;
  
  puVar1 = PTR_DAT_0007754c;
  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00078150)();
    if (iVar4 == 0) {
      return *(int *)(PTR_DAT_0007754c + -0x7d6c);
    }
  }
  puVar2 = PTR_DAT_0007754c;
  msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);
  iVar4 = do_yesno_prompt(false,msg);
  puVar3 = PTR_mallocstrcpy_00077568;
  uVar5 = *(undefined4 *)(puVar1 + -0x7d68);
  *(int *)(puVar2 + -0x7d6c) = iVar4;
  uVar5 = (*(code *)puVar3)(uVar5,filename);
  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;
  return *(int *)(puVar2 + -0x7d6c);
}



undefined4 prompt_failed_backupwrite(undefined4 param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  puVar1 = PTR_DAT_0007754c;
  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00078150)();
    if (iVar4 == 0) {
      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);
    }
  }
  puVar2 = PTR_DAT_0007754c;
  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);
  uVar5 = do_yesno_prompt(0,uVar5);
  puVar3 = PTR_mallocstrcpy_00077568;
  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);
  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;
  uVar5 = (*(code *)puVar3)(uVar6,param_1);
  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;
  return *(undefined4 *)(puVar2 + -0x7d6c);
}


lui gp,0x6
addiu gp,gp,-0x924
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x18(sp)
lw s0,-0x7fd4(gp)
sw gp,0x10(sp)
sw s2,0x20(sp)
sw ra,0x24(sp)
sw s1,0x1c(sp)
lw a1,-0x7d68(s0)
beq a1,zero,0x0001fe8c
_or s2,a0,zero
lw t9,-0x73d0(gp)
jalr t9
_nop
beq v0,zero,0x0001fef4
_lw gp,0x10(sp)
lw a1,-0x7fc4(gp)
li a2,0x5
lw t9,-0x7454(gp)
or a0,zero,zero
lw s1,-0x7fd4(gp)
jalr t9
_addiu a1,a1,-0xcd8
or a0,zero,zero
lw gp,0x10(sp)
lw t9,-0x7ef4(gp)
bal 0x00033d80
_or a1,v0,zero
or a1,s2,zero
lw gp,0x10(sp)
lw a0,-0x7d68(s0)
lw t9,-0x7fb8(gp)
jalr t9
_sw v0,-0x7d6c(s1)
lw ra,0x24(sp)
lw s2,0x20(sp)
sw v0,-0x7d68(s0)
lw v0,-0x7d6c(s1)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw s1,-0x7fd4(gp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
lw v0,-0x7d6c(s1)
lw s1,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 prompt_failed_backupwrite(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}\n\n" (function_definition "undefined4 prompt_failed_backupwrite(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" type_identifier (function_declarator "prompt_failed_backupwrite(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0007754c;" (assignment_expression "puVar1 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x7d68) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x7d68) != 0" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7d68)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7d68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d68)" ( (binary_expression "PTR_DAT_0007754c + -0x7d68" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00078150)();" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00078150)()" identifier = (call_expression "(*(code *)PTR_strcmp_00078150)()" (parenthesized_expression "(*(code *)PTR_strcmp_00078150)" ( (pointer_expression "*(code *)PTR_strcmp_00078150" * (cast_expression "(code *)PTR_strcmp_00078150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" { (return_statement "return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);" return (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" * (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d6c)" ( (binary_expression "PTR_DAT_0007754c + -0x7d6c" identifier + number_literal) )))) ;) })) })) (expression_statement "puVar2 = PTR_DAT_0007754c;" (assignment_expression "puVar2 = PTR_DAT_0007754c" identifier = identifier) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xcd8" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = do_yesno_prompt(0,uVar5);" (assignment_expression "uVar5 = do_yesno_prompt(0,uVar5)" identifier = (call_expression "do_yesno_prompt(0,uVar5)" identifier (argument_list "(0,uVar5)" ( number_literal , identifier )))) ;) (expression_statement "puVar3 = PTR_mallocstrcpy_00077568;" (assignment_expression "puVar3 = PTR_mallocstrcpy_00077568" identifier = identifier) ;) (expression_statement "uVar6 = *(undefined4 *)(puVar1 + -0x7d68);" (assignment_expression "uVar6 = *(undefined4 *)(puVar1 + -0x7d68)" identifier = (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" * (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = (*(code *)puVar3)(uVar6,param_1);" (assignment_expression "uVar5 = (*(code *)puVar3)(uVar6,param_1)" identifier = (call_expression "(*(code *)puVar3)(uVar6,param_1)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,param_1)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7d68) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7d68) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) )))) = identifier) ;) (return_statement "return *(undefined4 *)(puVar2 + -0x7d6c);" return (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" * (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) ;) })))
(translation_unit "int prompt_failed_backupwrite(char *filename)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *msg;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  iVar4 = do_yesno_prompt(false,msg);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar5 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(int *)(puVar2 + -0x7d6c) = iVar4;\n  uVar5 = (*(code *)puVar3)(uVar5,filename);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(int *)(puVar2 + -0x7d6c);\n}\n\n" (function_definition "int prompt_failed_backupwrite(char *filename)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *msg;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  iVar4 = do_yesno_prompt(false,msg);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar5 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(int *)(puVar2 + -0x7d6c) = iVar4;\n  uVar5 = (*(code *)puVar3)(uVar5,filename);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(int *)(puVar2 + -0x7d6c);\n}" primitive_type (function_declarator "prompt_failed_backupwrite(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *msg;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  iVar4 = do_yesno_prompt(false,msg);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar5 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(int *)(puVar2 + -0x7d6c) = iVar4;\n  uVar5 = (*(code *)puVar3)(uVar5,filename);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(int *)(puVar2 + -0x7d6c);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *msg;" primitive_type (pointer_declarator "*msg" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0007754c;" (assignment_expression "puVar1 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x7d68) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x7d68) != 0" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7d68)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7d68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d68)" ( (binary_expression "PTR_DAT_0007754c + -0x7d68" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00078150)();" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00078150)()" identifier = (call_expression "(*(code *)PTR_strcmp_00078150)()" (parenthesized_expression "(*(code *)PTR_strcmp_00078150)" ( (pointer_expression "*(code *)PTR_strcmp_00078150" * (cast_expression "(code *)PTR_strcmp_00078150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return *(int *)(PTR_DAT_0007754c + -0x7d6c);\n    }" { (return_statement "return *(int *)(PTR_DAT_0007754c + -0x7d6c);" return (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7d6c)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7d6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d6c)" ( (binary_expression "PTR_DAT_0007754c + -0x7d6c" identifier + number_literal) )))) ;) })) })) (expression_statement "puVar2 = PTR_DAT_0007754c;" (assignment_expression "puVar2 = PTR_DAT_0007754c" identifier = identifier) ;) (expression_statement "msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);" (assignment_expression "msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xcd8" identifier + number_literal) , number_literal ))))) ;) (expression_statement "iVar4 = do_yesno_prompt(false,msg);" (assignment_expression "iVar4 = do_yesno_prompt(false,msg)" identifier = (call_expression "do_yesno_prompt(false,msg)" identifier (argument_list "(false,msg)" ( false , identifier )))) ;) (expression_statement "puVar3 = PTR_mallocstrcpy_00077568;" (assignment_expression "puVar3 = PTR_mallocstrcpy_00077568" identifier = identifier) ;) (expression_statement "uVar5 = *(undefined4 *)(puVar1 + -0x7d68);" (assignment_expression "uVar5 = *(undefined4 *)(puVar1 + -0x7d68)" identifier = (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar2 + -0x7d6c) = iVar4;" (assignment_expression "*(int *)(puVar2 + -0x7d6c) = iVar4" (pointer_expression "*(int *)(puVar2 + -0x7d6c)" * (cast_expression "(int *)(puVar2 + -0x7d6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = (*(code *)puVar3)(uVar5,filename);" (assignment_expression "uVar5 = (*(code *)puVar3)(uVar5,filename)" identifier = (call_expression "(*(code *)puVar3)(uVar5,filename)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,filename)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7d68) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7d68) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) )))) = identifier) ;) (return_statement "return *(int *)(puVar2 + -0x7d6c);" return (pointer_expression "*(int *)(puVar2 + -0x7d6c)" * (cast_expression "(int *)(puVar2 + -0x7d6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) ;) })))
(translation_unit "undefined4 prompt_failed_backupwrite(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}\n\n" (function_definition "undefined4 prompt_failed_backupwrite(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" type_identifier (function_declarator "prompt_failed_backupwrite(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0007754c;" (assignment_expression "puVar1 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x7d68) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x7d68) != 0" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7d68)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7d68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d68)" ( (binary_expression "PTR_DAT_0007754c + -0x7d68" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00078150)();" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00078150)()" identifier = (call_expression "(*(code *)PTR_strcmp_00078150)()" (parenthesized_expression "(*(code *)PTR_strcmp_00078150)" ( (pointer_expression "*(code *)PTR_strcmp_00078150" * (cast_expression "(code *)PTR_strcmp_00078150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" { (return_statement "return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);" return (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" * (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7d6c)" ( (binary_expression "PTR_DAT_0007754c + -0x7d6c" identifier + number_literal) )))) ;) })) })) (expression_statement "puVar2 = PTR_DAT_0007754c;" (assignment_expression "puVar2 = PTR_DAT_0007754c" identifier = identifier) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xcd8" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = do_yesno_prompt(0,uVar5);" (assignment_expression "uVar5 = do_yesno_prompt(0,uVar5)" identifier = (call_expression "do_yesno_prompt(0,uVar5)" identifier (argument_list "(0,uVar5)" ( number_literal , identifier )))) ;) (expression_statement "puVar3 = PTR_mallocstrcpy_00077568;" (assignment_expression "puVar3 = PTR_mallocstrcpy_00077568" identifier = identifier) ;) (expression_statement "uVar6 = *(undefined4 *)(puVar1 + -0x7d68);" (assignment_expression "uVar6 = *(undefined4 *)(puVar1 + -0x7d68)" identifier = (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" * (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = (*(code *)puVar3)(uVar6,param_1);" (assignment_expression "uVar5 = (*(code *)puVar3)(uVar6,param_1)" identifier = (call_expression "(*(code *)puVar3)(uVar6,param_1)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,param_1)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7d68) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7d68) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" * (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7d68)" ( (binary_expression "puVar1 + -0x7d68" identifier + number_literal) )))) = identifier) ;) (return_statement "return *(undefined4 *)(puVar2 + -0x7d6c);" return (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" * (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7d6c)" ( (binary_expression "puVar2 + -0x7d6c" identifier + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })))
(function_definition "undefined4 prompt_failed_backupwrite(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" (type_identifier "undefined4") (function_declarator "prompt_failed_backupwrite(undefined4 param_1)" (identifier "prompt_failed_backupwrite") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_DAT_0007754c;\n  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }\n  puVar2 = PTR_DAT_0007754c;\n  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);\n  uVar5 = do_yesno_prompt(0,uVar5);\n  puVar3 = PTR_mallocstrcpy_00077568;\n  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);\n  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;\n  uVar5 = (*(code *)puVar3)(uVar6,param_1);\n  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;\n  return *(undefined4 *)(puVar2 + -0x7d6c);\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (expression_statement "puVar1 = PTR_DAT_0007754c;" (assignment_expression "puVar1 = PTR_DAT_0007754c" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0007754c")) (; ";")) (if_statement "if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x7d68) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0007754c + -0x7d68) != 0" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7d68)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x7d68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x7d68)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x7d68" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x7d68")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00078150)();\n    if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_strcmp_00078150)();" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00078150)()" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_00078150)()" (parenthesized_expression "(*(code *)PTR_strcmp_00078150)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00078150" (* "*") (cast_expression "(code *)PTR_strcmp_00078150" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00078150"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);\n    }" ({ "{") (return_statement "return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);" (return "return") (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x7d6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x7d6c)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x7d6c" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x7d6c")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar2 = PTR_DAT_0007754c;" (assignment_expression "puVar2 = PTR_DAT_0007754c" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0007754c")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000780cc" (* "*") (cast_expression "(code *)PTR_dcgettext_000780cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000780cc"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xcd8" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xcd8")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar5 = do_yesno_prompt(0,uVar5);" (assignment_expression "uVar5 = do_yesno_prompt(0,uVar5)" (identifier "uVar5") (= "=") (call_expression "do_yesno_prompt(0,uVar5)" (identifier "do_yesno_prompt") (argument_list "(0,uVar5)" (( "(") (number_literal "0") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "puVar3 = PTR_mallocstrcpy_00077568;" (assignment_expression "puVar3 = PTR_mallocstrcpy_00077568" (identifier "puVar3") (= "=") (identifier "PTR_mallocstrcpy_00077568")) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(puVar1 + -0x7d68);" (assignment_expression "uVar6 = *(undefined4 *)(puVar1 + -0x7d68)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x7d68)" (( "(") (binary_expression "puVar1 + -0x7d68" (identifier "puVar1") (+ "+") (number_literal "-0x7d68")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7d6c) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x7d6c)" (( "(") (binary_expression "puVar2 + -0x7d6c" (identifier "puVar2") (+ "+") (number_literal "-0x7d6c")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar5 = (*(code *)puVar3)(uVar6,param_1);" (assignment_expression "uVar5 = (*(code *)puVar3)(uVar6,param_1)" (identifier "uVar5") (= "=") (call_expression "(*(code *)puVar3)(uVar6,param_1)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(uVar6,param_1)" (( "(") (identifier "uVar6") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x7d68) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7d68) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0x7d68)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x7d68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x7d68)" (( "(") (binary_expression "puVar1 + -0x7d68" (identifier "puVar1") (+ "+") (number_literal "-0x7d68")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (return_statement "return *(undefined4 *)(puVar2 + -0x7d6c);" (return "return") (pointer_expression "*(undefined4 *)(puVar2 + -0x7d6c)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x7d6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x7d6c)" (( "(") (binary_expression "puVar2 + -0x7d6c" (identifier "puVar2") (+ "+") (number_literal "-0x7d6c")) () ")")))) (; ";")) (} "}")))

int function_1(char *filename)

{
  type_1 *var_5;
  type_1 *var_6;
  type_1 *puVar3;
  int var_2;
  char *msg;
  type_2 uVar5;
  
  var_5 = var_1;
  if (*(int *)(var_1 + -0x7d68) != 0) {
    var_2 = (*(type_3 *)PTR_strcmp_00078150)();
    if (var_2 == 0) {
      return *(int *)(var_1 + -0x7d6c);
    }
  }
  var_6 = var_1;
  msg = (char *)(*(type_3 *)PTR_dcgettext_000780cc)(0,var_3 + -0xcd8,5);
  var_2 = var_4(false,msg);
  puVar3 = PTR_mallocstrcpy_00077568;
  uVar5 = *(type_2 *)(var_5 + -0x7d68);
  *(int *)(var_6 + -0x7d6c) = var_2;
  uVar5 = (*(type_3 *)puVar3)(uVar5,filename);
  *(type_2 *)(var_5 + -0x7d68) = uVar5;
  return *(int *)(var_6 + -0x7d6c);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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)))))))))) (expression_statement (assignment_expression left: (identifier) 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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (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) (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: (identifier))) (return_statement (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)))))))))

undefined4 MASKED(undefined4 param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  puVar1 = PTR_DAT_0007754c;
  if (*(int *)(PTR_DAT_0007754c + -0x7d68) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00078150)();
    if (iVar4 == 0) {
      return *(undefined4 *)(PTR_DAT_0007754c + -0x7d6c);
    }
  }
  puVar2 = PTR_DAT_0007754c;
  uVar5 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + -0xcd8,5);
  uVar5 = do_yesno_prompt(0,uVar5);
  puVar3 = PTR_mallocstrcpy_00077568;
  uVar6 = *(undefined4 *)(puVar1 + -0x7d68);
  *(undefined4 *)(puVar2 + -0x7d6c) = uVar5;
  uVar5 = (*(code *)puVar3)(uVar6,param_1);
  *(undefined4 *)(puVar1 + -0x7d68) = uVar5;
  return *(undefined4 *)(puVar2 + -0x7d6c);
}

