
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: bool open(Input_file * this, Dirsearch * dirpath, Task * task, int *
   pindex) */

int __thiscall gold::Input_file::open(Input_file *this,char *__file,int __oflag,...)

{
  Object_format OVar1;
  _Alloc_hider _Var2;
  bool bVar3;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  int iVar4;
  int *piVar5;
  char *pcVar6;
  char *format;
  int *in_stack_00000010;
  string name;
  
  name._M_string_length = 0;
  name.field_2._M_local_buf[0] = '\0';
  name._M_dataplus._M_p = (pointer)&name.field_2;
                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */
  bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,
                    &this->is_in_sysroot_,&this->found_name_,&name);
  iVar4 = CONCAT31(extraout_var,bVar3);
  if (bVar3) {
    OVar1 = (this->input_argument_->options_).format_enum_;
    if (OVar1 == OBJECT_FORMAT_ELF) {
      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);
      this->format_ = FORMAT_ELF;
      if ((char)iVar4 != '\0') goto LAB_000698f6;
    }
    else {
      if (OVar1 != OBJECT_FORMAT_BINARY) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");
      }
      bVar3 = open_binary(this,(Task *)__oflag,&name);
      iVar4 = CONCAT31(extraout_var_00,bVar3);
      this->format_ = FORMAT_BINARY;
      if (bVar3) goto LAB_000698f6;
    }
    piVar5 = __errno_location();
    pcVar6 = strerror(*piVar5);
    _Var2 = name._M_dataplus;
    format = (char *)gettext("cannot open %s: %s");
    gold_error(format,_Var2._M_p,pcVar6);
    this->format_ = FORMAT_NONE;
  }
LAB_000698f6:
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)name._M_dataplus._M_p != &name.field_2) {
    operator_delete(name._M_dataplus._M_p);
  }
  return iVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined1 *puVar2;
  char cVar3;
  undefined4 uVar4;
  int *piVar5;
  char *pcVar6;
  undefined4 uVar7;
  undefined1 *local_34;
  undefined4 local_30;
  undefined1 local_2c [28];
  
  local_30 = 0;
  local_2c[0] = 0;
  local_34 = local_2c;
                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */
  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);
  if ((char)uVar4 != '\0') {
    iVar1 = *(int *)(*param_1 + 0x3c);
    if (iVar1 == 0) {
      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);
      param_1[0x24] = 1;
      cVar3 = (char)uVar4;
    }
    else {
      if (iVar1 != 1) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);
      }
      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);
      param_1[0x24] = 2;
      cVar3 = (char)uVar4;
    }
    if (cVar3 == '\0') {
      piVar5 = __errno_location();
      pcVar6 = strerror(*piVar5);
      puVar2 = local_34;
      uVar7 = gettext("cannot open %s: %s");
      FUN_000654b0(uVar7,puVar2,pcVar6);
      param_1[0x24] = 0;
    }
  }
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  return uVar4;
}


CALL 0x000559e6
ADD EAX,0x32578b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
LEA EBX,[EBP + -0x30]
SUB ESP,0x44
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x3c],EAX
LEA EAX,[EBP + -0x28]
MOV dword ptr [EBP + -0x40],EAX
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[ESI + 0x4]
PUSH EBX
PUSH EAX
LEA EAX,[ESI + 0x8c]
PUSH EAX
PUSH dword ptr [ESI]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x2c],0x0
MOV byte ptr [EBP + -0x28],0x0
CALL 0x00068ec0
MOV EDI,EAX
ADD ESP,0x20
TEST AL,AL
JZ 0x000698f6
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0x3c]
TEST EAX,EAX
JZ 0x00069920
CMP EAX,0x1
JNZ 0x00069999
SUB ESP,0x4
PUSH EBX
PUSH dword ptr [EBP + 0x10]
PUSH ESI
CALL 0x00067ff0
MOV dword ptr [ESI + 0x90],0x2
MOV EDI,EAX
ADD ESP,0x10
MOV EAX,EDI
TEST AL,AL
JZ 0x00069945
MOV EAX,dword ptr [EBP + -0x30]
CMP EAX,dword ptr [EBP + -0x40]
JZ 0x0006990d
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[ESI + 0x1c]
PUSH EBX
PUSH dword ptr [EBP + 0x10]
PUSH EAX
CALL 0x000667c0
MOV dword ptr [ESI + 0x90],0x1
MOV EDI,EAX
ADD ESP,0x10
MOV EAX,EDI
TEST AL,AL
JNZ 0x000698f6
MOV EBX,dword ptr [EBP + -0x3c]
CALL 0x00029090
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00029100
MOV EDX,dword ptr [EBP + -0x30]
MOV dword ptr [EBP + -0x48],EAX
MOV dword ptr [EBP + -0x44],EDX
MOV EDX,dword ptr [EBP + -0x3c]
LEA EAX,[EDX + 0xffef847d]
MOV EBX,EDX
MOV dword ptr [ESP],EAX
CALL 0x000293b0
MOV ECX,dword ptr [EBP + -0x48]
MOV EDX,dword ptr [EBP + -0x44]
ADD ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
PUSH ECX
PUSH EDX
PUSH EAX
CALL 0x000654b0
MOV dword ptr [ESI + 0x90],0x0
ADD ESP,0x10
JMP 0x000698f6
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EAX
LEA EAX,[EBX + 0xffef85c0]
PUSH EAX
LEA EAX,[EBX + 0xffef8354]
PUSH 0x450
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}\n\n" comment (function_definition "undefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) comment (expression_statement "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);" (assignment_expression "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" identifier = (call_expression "FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" identifier (argument_list "(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" ( identifier , identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "param_1 + 0x23" identifier + number_literal) , (binary_expression "param_1 + 1" identifier + number_literal) , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" if (parenthesized_expression "((char)uVar4 != '\0')" ( (binary_expression "(char)uVar4 != '\0'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" { (expression_statement "iVar1 = *(int *)(*param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(*param_1 + 0x3c)" * (cast_expression "(int *)(*param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x3c)" ( (binary_expression "*param_1 + 0x3c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }" { (expression_statement "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);" (assignment_expression "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34)" identifier = (call_expression "FUN_000667c0(param_1 + 7,param_3,&local_34)" identifier (argument_list "(param_1 + 7,param_3,&local_34)" ( (binary_expression "param_1 + 7" identifier + number_literal) , identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "param_1[0x24] = 1;" (assignment_expression "param_1[0x24] = 1" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" else (compound_statement "{\n      if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" { (if_statement "if (iVar1 != 1) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" identifier (argument_list "("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002875c0" & identifier) , identifier ))) ;) })) (expression_statement "uVar4 = FUN_00067ff0(param_1,param_3,&local_34);" (assignment_expression "uVar4 = FUN_00067ff0(param_1,param_3,&local_34)" identifier = (call_expression "FUN_00067ff0(param_1,param_3,&local_34)" identifier (argument_list "(param_1,param_3,&local_34)" ( identifier , identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "param_1[0x24] = 2;" (assignment_expression "param_1[0x24] = 2" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }))) (if_statement "if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" { (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" identifier = (call_expression "strerror(*piVar5)" identifier (argument_list "(*piVar5)" ( (pointer_expression "*piVar5" * identifier) )))) ;) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" identifier = identifier) ;) (expression_statement "uVar7 = gettext("cannot open %s: %s");" (assignment_expression "uVar7 = gettext("cannot open %s: %s")" identifier = (call_expression "gettext("cannot open %s: %s")" identifier (argument_list "("cannot open %s: %s")" ( (string_literal ""cannot open %s: %s"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar7,puVar2,pcVar6);" (call_expression "FUN_000654b0(uVar7,puVar2,pcVar6)" identifier (argument_list "(uVar7,puVar2,pcVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) })) })) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: bool open(Input_file * this, Dirsearch * dirpath, Task * task, int *\n   pindex) */\n\nint __thiscall gold::Input_file::open(Input_file *this,char *__file,int __oflag,...)\n\n{\n  Object_format OVar1;\n  _Alloc_hider _Var2;\n  bool bVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  int iVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *format;\n  int *in_stack_00000010;\n  string name;\n  \n  name._M_string_length = 0;\n  name.field_2._M_local_buf[0] = '\0';\n  name._M_dataplus._M_p = (pointer)&name.field_2;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name);\n  iVar4 = CONCAT31(extraout_var,bVar3);\n  if (bVar3) {\n    OVar1 = (this->input_argument_->options_).format_enum_;\n    if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    _Var2 = name._M_dataplus;\n    format = (char *)gettext("cannot open %s: %s");\n    gold_error(format,_Var2._M_p,pcVar6);\n    this->format_ = FORMAT_NONE;\n  }\nLAB_000698f6:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return iVar4;\n}\n\n" comment comment (function_definition "int __thiscall gold::Input_file::open(Input_file *this,char *__file,int __oflag,...)\n\n{\n  Object_format OVar1;\n  _Alloc_hider _Var2;\n  bool bVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  int iVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *format;\n  int *in_stack_00000010;\n  string name;\n  \n  name._M_string_length = 0;\n  name.field_2._M_local_buf[0] = '\0';\n  name._M_dataplus._M_p = (pointer)&name.field_2;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name);\n  iVar4 = CONCAT31(extraout_var,bVar3);\n  if (bVar3) {\n    OVar1 = (this->input_argument_->options_).format_enum_;\n    if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    _Var2 = name._M_dataplus;\n    format = (char *)gettext("cannot open %s: %s");\n    gold_error(format,_Var2._M_p,pcVar6);\n    this->format_ = FORMAT_NONE;\n  }\nLAB_000698f6:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return iVar4;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Input_file::" identifier : : identifier : :) (function_declarator "open(Input_file *this,char *__file,int __oflag,...)" identifier (parameter_list "(Input_file *this,char *__file,int __oflag,...)" ( (parameter_declaration "Input_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *__file" primitive_type (pointer_declarator "*__file" * identifier)) , (parameter_declaration "int __oflag" primitive_type identifier) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  Object_format OVar1;\n  _Alloc_hider _Var2;\n  bool bVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  int iVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *format;\n  int *in_stack_00000010;\n  string name;\n  \n  name._M_string_length = 0;\n  name.field_2._M_local_buf[0] = '\0';\n  name._M_dataplus._M_p = (pointer)&name.field_2;\n                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */\n  bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name);\n  iVar4 = CONCAT31(extraout_var,bVar3);\n  if (bVar3) {\n    OVar1 = (this->input_argument_->options_).format_enum_;\n    if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    _Var2 = name._M_dataplus;\n    format = (char *)gettext("cannot open %s: %s");\n    gold_error(format,_Var2._M_p,pcVar6);\n    this->format_ = FORMAT_NONE;\n  }\nLAB_000698f6:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return iVar4;\n}" { (declaration "Object_format OVar1;" type_identifier identifier ;) (declaration "_Alloc_hider _Var2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int *in_stack_00000010;" primitive_type (pointer_declarator "*in_stack_00000010" * identifier) ;) (declaration "string name;" type_identifier identifier ;) (expression_statement "name._M_string_length = 0;" (assignment_expression "name._M_string_length = 0" (field_expression "name._M_string_length" identifier . field_identifier) = number_literal) ;) (expression_statement "name.field_2._M_local_buf[0] = '\0';" (assignment_expression "name.field_2._M_local_buf[0] = '\0'" (subscript_expression "name.field_2._M_local_buf[0]" (field_expression "name.field_2._M_local_buf" (field_expression "name.field_2" identifier . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "name._M_dataplus._M_p = (pointer)&name.field_2;" (assignment_expression "name._M_dataplus._M_p = (pointer)&name.field_2" (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&name.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "name.field_2" identifier . field_identifier))) ;) comment (expression_statement "bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name);" (assignment_expression "bVar3 = find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name)" identifier = (call_expression "find_file((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name)" identifier (argument_list "((Dirsearch *)__file,in_stack_00000010,this->input_argument_,\n                    &this->is_in_sysroot_,&this->found_name_,&name)" ( (cast_expression "(Dirsearch *)__file" ( (type_descriptor "Dirsearch *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (field_expression "this->input_argument_" identifier -> field_identifier) , (pointer_expression "&this->is_in_sysroot_" & (field_expression "this->is_in_sysroot_" identifier -> field_identifier)) , (pointer_expression "&this->found_name_" & (field_expression "this->found_name_" identifier -> field_identifier)) , (pointer_expression "&name" & identifier) )))) ;) (expression_statement "iVar4 = CONCAT31(extraout_var,bVar3);" (assignment_expression "iVar4 = CONCAT31(extraout_var,bVar3)" identifier = (call_expression "CONCAT31(extraout_var,bVar3)" identifier (argument_list "(extraout_var,bVar3)" ( identifier , identifier )))) ;) (if_statement "if (bVar3) {\n    OVar1 = (this->input_argument_->options_).format_enum_;\n    if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    _Var2 = name._M_dataplus;\n    format = (char *)gettext("cannot open %s: %s");\n    gold_error(format,_Var2._M_p,pcVar6);\n    this->format_ = FORMAT_NONE;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    OVar1 = (this->input_argument_->options_).format_enum_;\n    if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    _Var2 = name._M_dataplus;\n    format = (char *)gettext("cannot open %s: %s");\n    gold_error(format,_Var2._M_p,pcVar6);\n    this->format_ = FORMAT_NONE;\n  }" { (expression_statement "OVar1 = (this->input_argument_->options_).format_enum_;" (assignment_expression "OVar1 = (this->input_argument_->options_).format_enum_" identifier = (field_expression "(this->input_argument_->options_).format_enum_" (parenthesized_expression "(this->input_argument_->options_)" ( (field_expression "this->input_argument_->options_" (field_expression "this->input_argument_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (if_statement "if (OVar1 == OBJECT_FORMAT_ELF) {\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }\n    else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }" if (parenthesized_expression "(OVar1 == OBJECT_FORMAT_ELF)" ( (binary_expression "OVar1 == OBJECT_FORMAT_ELF" identifier == identifier) )) (compound_statement "{\n      iVar4 = File_read::open(&this->file_,(char *)__oflag,(int)&name);\n      this->format_ = FORMAT_ELF;\n      if ((char)iVar4 != '\0') goto LAB_000698f6;\n    }" { (ERROR "iVar4 = File_read::" (assignment_expression "iVar4 = File_read" identifier = identifier) : :) (expression_statement "open(&this->file_,(char *)__oflag,(int)&name);" (call_expression "open(&this->file_,(char *)__oflag,(int)&name)" identifier (argument_list "(&this->file_,(char *)__oflag,(int)&name)" ( (pointer_expression "&this->file_" & (field_expression "this->file_" identifier -> field_identifier)) , (cast_expression "(char *)__oflag" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(int)&name" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&name" & identifier)) ))) ;) (expression_statement "this->format_ = FORMAT_ELF;" (assignment_expression "this->format_ = FORMAT_ELF" (field_expression "this->format_" identifier -> field_identifier) = identifier) ;) (if_statement "if ((char)iVar4 != '\0') goto LAB_000698f6;" if (parenthesized_expression "((char)iVar4 != '\0')" ( (binary_expression "(char)iVar4 != '\0'" (cast_expression "(char)iVar4" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000698f6;" goto statement_identifier ;)) }) (else_clause "else {\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }" else (compound_statement "{\n      if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }\n      bVar3 = open_binary(this,(Task *)__oflag,&name);\n      iVar4 = CONCAT31(extraout_var_00,bVar3);\n      this->format_ = FORMAT_BINARY;\n      if (bVar3) goto LAB_000698f6;\n    }" { (if_statement "if (OVar1 != OBJECT_FORMAT_BINARY) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }" if (parenthesized_expression "(OVar1 != OBJECT_FORMAT_BINARY)" ( (binary_expression "OVar1 != OBJECT_FORMAT_BINARY" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x450,"open");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/fileread.cc",0x450,"open");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0x450,"open")" identifier (argument_list "("../../gold/fileread.cc",0x450,"open")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""open"" " string_content ") ))) ;) })) (expression_statement "bVar3 = open_binary(this,(Task *)__oflag,&name);" (assignment_expression "bVar3 = open_binary(this,(Task *)__oflag,&name)" identifier = (call_expression "open_binary(this,(Task *)__oflag,&name)" identifier (argument_list "(this,(Task *)__oflag,&name)" ( identifier , (cast_expression "(Task *)__oflag" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&name" & identifier) )))) ;) (expression_statement "iVar4 = CONCAT31(extraout_var_00,bVar3);" (assignment_expression "iVar4 = CONCAT31(extraout_var_00,bVar3)" identifier = (call_expression "CONCAT31(extraout_var_00,bVar3)" identifier (argument_list "(extraout_var_00,bVar3)" ( identifier , identifier )))) ;) (expression_statement "this->format_ = FORMAT_BINARY;" (assignment_expression "this->format_ = FORMAT_BINARY" (field_expression "this->format_" identifier -> field_identifier) = identifier) ;) (if_statement "if (bVar3) goto LAB_000698f6;" if (parenthesized_expression "(bVar3)" ( identifier )) (goto_statement "goto LAB_000698f6;" goto statement_identifier ;)) }))) (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" identifier = (call_expression "strerror(*piVar5)" identifier (argument_list "(*piVar5)" ( (pointer_expression "*piVar5" * identifier) )))) ;) (expression_statement "_Var2 = name._M_dataplus;" (assignment_expression "_Var2 = name._M_dataplus" identifier = (field_expression "name._M_dataplus" identifier . field_identifier)) ;) (expression_statement "format = (char *)gettext("cannot open %s: %s");" (assignment_expression "format = (char *)gettext("cannot open %s: %s")" identifier = (cast_expression "(char *)gettext("cannot open %s: %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("cannot open %s: %s")" identifier (argument_list "("cannot open %s: %s")" ( (string_literal ""cannot open %s: %s"" " string_content ") ))))) ;) (expression_statement "gold_error(format,_Var2._M_p,pcVar6);" (call_expression "gold_error(format,_Var2._M_p,pcVar6)" identifier (argument_list "(format,_Var2._M_p,pcVar6)" ( identifier , (field_expression "_Var2._M_p" identifier . field_identifier) , identifier ))) ;) (expression_statement "this->format_ = FORMAT_NONE;" (assignment_expression "this->format_ = FORMAT_NONE" (field_expression "this->format_" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_000698f6:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }" statement_identifier : (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2" (binary_expression "allocator<char>_>_9\n       *)name._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)name._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&name.field_2" & (field_expression "name.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(name._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(name._M_dataplus._M_p);" (call_expression "operator_delete(name._M_dataplus._M_p)" identifier (argument_list "(name._M_dataplus._M_p)" ( (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "undefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    \n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    \n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    \n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);" (assignment_expression "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" identifier = (call_expression "FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" identifier (argument_list "(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" ( identifier , identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "param_1 + 0x23" identifier + number_literal) , (binary_expression "param_1 + 1" identifier + number_literal) , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" if (parenthesized_expression "((char)uVar4 != '\0')" ( (binary_expression "(char)uVar4 != '\0'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" { (expression_statement "iVar1 = *(int *)(*param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(*param_1 + 0x3c)" * (cast_expression "(int *)(*param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x3c)" ( (binary_expression "*param_1 + 0x3c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }" { (expression_statement "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);" (assignment_expression "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34)" identifier = (call_expression "FUN_000667c0(param_1 + 7,param_3,&local_34)" identifier (argument_list "(param_1 + 7,param_3,&local_34)" ( (binary_expression "param_1 + 7" identifier + number_literal) , identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "param_1[0x24] = 1;" (assignment_expression "param_1[0x24] = 1" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" else (compound_statement "{\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" { (if_statement "if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" { (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" identifier (argument_list "("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002875c0" & identifier) , identifier ))) ;) })) (expression_statement "uVar4 = FUN_00067ff0(param_1,param_3,&local_34);" (assignment_expression "uVar4 = FUN_00067ff0(param_1,param_3,&local_34)" identifier = (call_expression "FUN_00067ff0(param_1,param_3,&local_34)" identifier (argument_list "(param_1,param_3,&local_34)" ( identifier , identifier , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "param_1[0x24] = 2;" (assignment_expression "param_1[0x24] = 2" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }))) (if_statement "if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" { (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" identifier = (call_expression "strerror(*piVar5)" identifier (argument_list "(*piVar5)" ( (pointer_expression "*piVar5" * identifier) )))) ;) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" identifier = identifier) ;) (expression_statement "uVar7 = gettext("cannot open %s: %s");" (assignment_expression "uVar7 = gettext("cannot open %s: %s")" identifier = (call_expression "gettext("cannot open %s: %s")" identifier (argument_list "("cannot open %s: %s")" ( (string_literal ""cannot open %s: %s"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar7,puVar2,pcVar6);" (call_expression "FUN_000654b0(uVar7,puVar2,pcVar6)" identifier (argument_list "(uVar7,puVar2,pcVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) })) })) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    \n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_00069870(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00069870") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  char cVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  undefined1 *local_34;\n  undefined4 local_30;\n  undefined1 local_2c [28];\n  \n  local_30 = 0;\n  local_2c[0] = 0;\n  local_34 = local_2c;\n                    \n  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);\n  if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return uVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);" (assignment_expression "uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" (identifier "uVar4") (= "=") (call_expression "FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" (identifier "FUN_00068ec0") (argument_list "(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34)" (( "(") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "param_1 + 0x23" (identifier "param_1") (+ "+") (number_literal "0x23")) (, ",") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (if_statement "if ((char)uVar4 != '\0') {\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" (if "if") (parenthesized_expression "((char)uVar4 != '\0')" (( "(") (binary_expression "(char)uVar4 != '\0'" (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar1 = *(int *)(*param_1 + 0x3c);\n    if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }\n    if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(*param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*param_1 + 0x3c)" (* "*") (cast_expression "(int *)(*param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x3c)" (( "(") (binary_expression "*param_1 + 0x3c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }\n    else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);\n      param_1[0x24] = 1;\n      cVar3 = (char)uVar4;\n    }" ({ "{") (expression_statement "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);" (assignment_expression "uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34)" (identifier "uVar4") (= "=") (call_expression "FUN_000667c0(param_1 + 7,param_3,&local_34)" (identifier "FUN_000667c0") (argument_list "(param_1 + 7,param_3,&local_34)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (expression_statement "param_1[0x24] = 1;" (assignment_expression "param_1[0x24] = 1" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" (identifier "cVar3") (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (} "}")) (else_clause "else {\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" (else "else") (compound_statement "{\n      if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }\n      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);\n      param_1[0x24] = 2;\n      cVar3 = (char)uVar4;\n    }" ({ "{") (if_statement "if (iVar1 != 1) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" (if "if") (parenthesized_expression "(iVar1 != 1)" (( "(") (binary_expression "iVar1 != 1" (identifier "iVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1)" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0x450") (, ",") (pointer_expression "&DAT_002875c0" (& "&") (identifier "DAT_002875c0")) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_00067ff0(param_1,param_3,&local_34);" (assignment_expression "uVar4 = FUN_00067ff0(param_1,param_3,&local_34)" (identifier "uVar4") (= "=") (call_expression "FUN_00067ff0(param_1,param_3,&local_34)" (identifier "FUN_00067ff0") (argument_list "(param_1,param_3,&local_34)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (expression_statement "param_1[0x24] = 2;" (assignment_expression "param_1[0x24] = 2" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "cVar3 = (char)uVar4;" (assignment_expression "cVar3 = (char)uVar4" (identifier "cVar3") (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (} "}")))) (if_statement "if (cVar3 == '\0') {\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      piVar5 = __errno_location();\n      pcVar6 = strerror(*piVar5);\n      puVar2 = local_34;\n      uVar7 = gettext("cannot open %s: %s");\n      FUN_000654b0(uVar7,puVar2,pcVar6);\n      param_1[0x24] = 0;\n    }" ({ "{") (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" (identifier "piVar5") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" (identifier "pcVar6") (= "=") (call_expression "strerror(*piVar5)" (identifier "strerror") (argument_list "(*piVar5)" (( "(") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) () ")")))) (; ";")) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" (identifier "puVar2") (= "=") (identifier "local_34")) (; ";")) (expression_statement "uVar7 = gettext("cannot open %s: %s");" (assignment_expression "uVar7 = gettext("cannot open %s: %s")" (identifier "uVar7") (= "=") (call_expression "gettext("cannot open %s: %s")" (identifier "gettext") (argument_list "("cannot open %s: %s")" (( "(") (string_literal ""cannot open %s: %s"" (" """) (string_content "cannot open %s: %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar7,puVar2,pcVar6);" (call_expression "FUN_000654b0(uVar7,puVar2,pcVar6)" (identifier "FUN_000654b0") (argument_list "(uVar7,puVar2,pcVar6)" (( "(") (identifier "uVar7") (, ",") (identifier "puVar2") (, ",") (identifier "pcVar6") () ")"))) (; ";")) (expression_statement "param_1[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: bool open(Input_file * this, Dirsearch * dirpath, Task * task, int *
   pindex) */

int __thiscall gold::type_1::function_1(type_1 *this,char *__file,int __oflag,...)

{
  type_2 var_3;
  type_3 _Var2;
  bool bVar3;
  type_4 extraout_var;
  type_4 extraout_var_00;
  int iVar4;
  int *piVar5;
  char *pcVar6;
  char *format;
  int *in_stack_00000010;
  type_5 name;
  
  name._M_string_length = 0;
  name.field_2._M_local_buf[0] = '\0';
  name._M_dataplus._M_p = (pointer)&name.field_2;
                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */
  bVar3 = var_1((type_6 *)__file,in_stack_00000010,this->input_argument_,
                    &this->is_in_sysroot_,&this->found_name_,&name);
  iVar4 = var_2(extraout_var,bVar3);
  if (bVar3) {
    var_3 = (this->input_argument_->options_).format_enum_;
    if (var_3 == var_4) {
      iVar4 = File_read::function_1(&this->file_,(char *)__oflag,(int)&name);
      this->format_ = FORMAT_ELF;
      if ((char)iVar4 != '\0') goto LAB_000698f6;
    }
    else {
      if (var_3 != var_5) {
                    /* WARNING: Subroutine does not return */
        var_6("../../gold/fileread.cc",0x450,"open");
      }
      bVar3 = var_7(this,(type_7 *)__oflag,&name);
      iVar4 = var_2(extraout_var_00,bVar3);
      this->format_ = FORMAT_BINARY;
      if (bVar3) goto LAB_000698f6;
    }
    piVar5 = var_8();
    pcVar6 = var_9(*piVar5);
    _Var2 = name._M_dataplus;
    format = (char *)var_10("cannot open %s: %s");
    var_11(format,_Var2._M_p,pcVar6);
    this->format_ = FORMAT_NONE;
  }
LAB_000698f6:
  if ((anon_union_16_2_edb7204a_for_basic_string<var_13,_std::char_traits<var_13>,_std::var_12<var_13>var_14>var_15
       *)name._M_dataplus._M_p != &name.field_2) {
    var_16(name._M_dataplus._M_p);
  }
  return iVar4;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_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: (pointer_expression argument: (identifier)) right: (number_literal))))))) (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: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (pointer_expression argument: (identifier)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined1 *puVar2;
  char cVar3;
  undefined4 uVar4;
  int *piVar5;
  char *pcVar6;
  undefined4 uVar7;
  undefined1 *local_34;
  undefined4 local_30;
  undefined1 local_2c [28];
  
  local_30 = 0;
  local_2c[0] = 0;
  local_34 = local_2c;
                    /* try { // try from 000698b4 to 000699b4 has its CatchHandler @ 000699b5 */
  uVar4 = FUN_00068ec0(param_2,param_4,*param_1,param_1 + 0x23,param_1 + 1,&local_34);
  if ((char)uVar4 != '\0') {
    iVar1 = *(int *)(*param_1 + 0x3c);
    if (iVar1 == 0) {
      uVar4 = FUN_000667c0(param_1 + 7,param_3,&local_34);
      param_1[0x24] = 1;
      cVar3 = (char)uVar4;
    }
    else {
      if (iVar1 != 1) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/fileread.cc",0x450,&DAT_002875c0,iVar1);
      }
      uVar4 = FUN_00067ff0(param_1,param_3,&local_34);
      param_1[0x24] = 2;
      cVar3 = (char)uVar4;
    }
    if (cVar3 == '\0') {
      piVar5 = __errno_location();
      pcVar6 = strerror(*piVar5);
      puVar2 = local_34;
      uVar7 = gettext("cannot open %s: %s");
      FUN_000654b0(uVar7,puVar2,pcVar6);
      param_1[0x24] = 0;
    }
  }
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  return uVar4;
}

