
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool open(File_read * this, Task * task, string * name, uchar *
   contents, off_t size) */

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

{
  bool bVar1;
  View *v;
  uchar *in_stack_00000010;
  section_size_type in_stack_00000014;
  undefined4 in_stack_00000018;
  Task_token *in_stack_ffffffe4;
  Task *in_stack_ffffffe8;
  Task_token *this_1;
  
  this_1 = (Task_token *)0x67ef9;
  if ((this->token_).is_blocker_ != false) {
                    /* WARNING: Subroutine does not return */
    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);
  }
  if (((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&
      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {
    std::string::_M_assign((string *)this,(string *)__oflag);
    v = (View *)operator_new(0x24);
    *(undefined4 *)&v->start_ = 0;
    *(undefined4 *)((int)&v->start_ + 4) = 0;
    v->size_ = in_stack_00000014;
    v->data_ = in_stack_00000010;
    v->lock_count_ = 0;
    v->byteshift_ = 0;
    v->cache_ = false;
    v->data_ownership_ = DATA_NOT_OWNED;
    v->accessed_ = true;
    this->whole_file_view_ = v;
    add_view(this,v);
    bVar1 = (this->token_).is_blocker_;
    *(section_size_type *)&this->size_ = in_stack_00000014;
    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;
    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {
      (this->token_).writer_ = (Task *)__file;
      return 1;
    }
                    /* WARNING: Subroutine does not return */
    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/fileread.cc",0xe4,"open");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

char FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  char cVar3;
  undefined4 extraout_EDX;
  undefined4 unaff_EBX;
  undefined1 auStack_64 [36];
  undefined4 uStack_40;
  undefined4 uStack_3c;
  undefined4 uStack_30;
  undefined **local_2c;
  undefined4 *puStack_28;
  undefined *puStack_24;
  undefined4 uStack_20;
  int iStack_18;
  undefined4 uStack_14;
  
  uStack_14 = 0x67ef9;
  if (*(char *)(param_1 + 0x2c) == '\0') {
    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||
        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {
      puStack_24 = &DAT_00287684;
      local_2c = (undefined **)0x287354;
      puStack_28 = (undefined4 *)0xe4;
                    /* WARNING: Subroutine does not return */
      uStack_30 = 0x67fe1;
      FUN_00069d00();
    }
    puStack_28 = (undefined4 *)param_3;
    local_2c = (undefined **)param_1;
    uStack_30 = 0x67f50;
    FUN_001ee9c0();
    local_2c = (undefined **)0x24;
    uStack_30 = 0x67f5c;
    puStack_28 = (undefined4 *)FUN_001e5200();
    *puStack_28 = 0;
    puStack_28[1] = 0;
    puStack_28[2] = param_5;
    puStack_28[3] = param_4;
    puStack_28[4] = 0;
    puStack_28[5] = 0;
    *(undefined1 *)(puStack_28 + 6) = 0;
    puStack_28[7] = 0;
    *(undefined1 *)(puStack_28 + 8) = 1;
    *(undefined4 **)(param_1 + 0x6c) = puStack_28;
    local_2c = (undefined **)param_1;
    uStack_30 = 0x67f9c;
    FUN_00067e20();
    *(undefined4 *)(param_1 + 0x24) = param_5;
    *(undefined4 *)(param_1 + 0x28) = param_6;
    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {
      *(undefined4 *)(param_1 + 0x34) = param_2;
      return '\x01';
    }
    uStack_20 = 0x67fe6;
    FUN_00066580();
  }
  uStack_20 = 0x67feb;
  FUN_00066550();
  uStack_20 = param_6;
  puStack_24 = (undefined *)param_5;
  puStack_28 = (undefined4 *)param_1;
  local_2c = &__DT_PLTGOT;
  FUN_001397a0();
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);
    cVar3 = FUN_00199030(auStack_64,uStack_14);
    uVar2 = uStack_40;
    if (cVar3 != '\0') {
      uStack_40 = 0;
      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);
    }
    FUN_00198f90(auStack_64);
    return cVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x327107
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
CMP byte ptr [ESI + 0x2c],0x0
JNZ 0x00067fe6
MOV EAX,dword ptr [ESI + 0x34]
TEST EAX,EAX
JNZ 0x00067fc6
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JNS 0x00067fc6
CMP byte ptr [ESI + 0x1c],0x0
JNZ 0x00067fc6
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JNZ 0x00067fc6
SUB ESP,0x8
PUSH dword ptr [ESP + 0x30]
PUSH ESI
CALL 0x001ee9c0
MOV dword ptr [ESP],0x24
CALL 0x001e5200
MOV EDX,dword ptr [ESP + 0x3c]
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],EDI
MOV dword ptr [EAX + 0xc],EDX
MOV dword ptr [EAX + 0x10],0x0
MOV dword ptr [EAX + 0x14],0x0
MOV byte ptr [EAX + 0x18],0x0
MOV dword ptr [EAX + 0x1c],0x0
MOV byte ptr [EAX + 0x20],0x1
MOV dword ptr [ESI + 0x6c],EAX
POP EDX
POP ECX
PUSH EAX
PUSH ESI
CALL 0x00067e20
ADD ESP,0x10
CMP byte ptr [ESI + 0x2c],0x0
MOV dword ptr [ESI + 0x24],EDI
MOV dword ptr [ESI + 0x28],EBP
JNZ 0x00067fe1
MOV EAX,dword ptr [ESI + 0x34]
TEST EAX,EAX
JNZ 0x00067fe1
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x34],EAX
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffef8684]
PUSH EAX
LEA EAX,[EBX + 0xffef8354]
PUSH 0xe4
PUSH EAX
CALL 0x00069d00
CALL 0x00066580
CALL 0x00066550
NOP
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nchar FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}\n\n" comment comment (function_definition "char FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" primitive_type (function_declarator "FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type 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) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 unaff_EBX;" type_identifier identifier ;) (declaration "undefined1 auStack_64 [36];" type_identifier (array_declarator "auStack_64 [36]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined4 uStack_3c;" type_identifier identifier ;) (declaration "undefined4 uStack_30;" type_identifier identifier ;) (declaration "undefined **local_2c;" type_identifier (pointer_declarator "**local_2c" * (pointer_declarator "*local_2c" * identifier)) ;) (declaration "undefined4 *puStack_28;" type_identifier (pointer_declarator "*puStack_28" * identifier) ;) (declaration "undefined *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "int iStack_18;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x67ef9;" (assignment_expression "uStack_14 = 0x67ef9" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" * (cast_expression "(char *)(param_1 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" { (if_statement "if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" if (parenthesized_expression "((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0'))" ( (binary_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')" (parenthesized_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18)))" ( (binary_expression "(*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))" (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" ( (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(-1 < *(int *)(param_1 + 0x18))" ( (binary_expression "-1 < *(int *)(param_1 + 0x18)" number_literal < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ))) )) || (parenthesized_expression "(*(char *)(param_1 + 0x1c) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x1c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    /* WARNING: Subroutine does not return */\n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" { (expression_statement "puStack_24 = &DAT_00287684;" (assignment_expression "puStack_24 = &DAT_00287684" identifier = (pointer_expression "&DAT_00287684" & identifier)) ;) (expression_statement "local_2c = (undefined **)0x287354;" (assignment_expression "local_2c = (undefined **)0x287354" identifier = (cast_expression "(undefined **)0x287354" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "puStack_28 = (undefined4 *)0xe4;" (assignment_expression "puStack_28 = (undefined4 *)0xe4" identifier = (cast_expression "(undefined4 *)0xe4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) comment (expression_statement "uStack_30 = 0x67fe1;" (assignment_expression "uStack_30 = 0x67fe1" identifier = number_literal) ;) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puStack_28 = (undefined4 *)param_3;" (assignment_expression "puStack_28 = (undefined4 *)param_3" identifier = (cast_expression "(undefined4 *)param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" identifier = (cast_expression "(undefined **)param_1" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "uStack_30 = 0x67f50;" (assignment_expression "uStack_30 = 0x67f50" identifier = number_literal) ;) (expression_statement "FUN_001ee9c0();" (call_expression "FUN_001ee9c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_2c = (undefined **)0x24;" (assignment_expression "local_2c = (undefined **)0x24" identifier = (cast_expression "(undefined **)0x24" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "uStack_30 = 0x67f5c;" (assignment_expression "uStack_30 = 0x67f5c" identifier = number_literal) ;) (expression_statement "puStack_28 = (undefined4 *)FUN_001e5200();" (assignment_expression "puStack_28 = (undefined4 *)FUN_001e5200()" identifier = (cast_expression "(undefined4 *)FUN_001e5200()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puStack_28 = 0;" (assignment_expression "*puStack_28 = 0" (pointer_expression "*puStack_28" * identifier) = number_literal) ;) (expression_statement "puStack_28[1] = 0;" (assignment_expression "puStack_28[1] = 0" (subscript_expression "puStack_28[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_28[2] = param_5;" (assignment_expression "puStack_28[2] = param_5" (subscript_expression "puStack_28[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_28[3] = param_4;" (assignment_expression "puStack_28[3] = param_4" (subscript_expression "puStack_28[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_28[4] = 0;" (assignment_expression "puStack_28[4] = 0" (subscript_expression "puStack_28[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_28[5] = 0;" (assignment_expression "puStack_28[5] = 0" (subscript_expression "puStack_28[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puStack_28 + 6) = 0;" (assignment_expression "*(undefined1 *)(puStack_28 + 6) = 0" (pointer_expression "*(undefined1 *)(puStack_28 + 6)" * (cast_expression "(undefined1 *)(puStack_28 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_28 + 6)" ( (binary_expression "puStack_28 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puStack_28[7] = 0;" (assignment_expression "puStack_28[7] = 0" (subscript_expression "puStack_28[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puStack_28 + 8) = 1;" (assignment_expression "*(undefined1 *)(puStack_28 + 8) = 1" (pointer_expression "*(undefined1 *)(puStack_28 + 8)" * (cast_expression "(undefined1 *)(puStack_28 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_28 + 8)" ( (binary_expression "puStack_28 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x6c) = puStack_28;" (assignment_expression "*(undefined4 **)(param_1 + 0x6c) = puStack_28" (pointer_expression "*(undefined4 **)(param_1 + 0x6c)" * (cast_expression "(undefined4 **)(param_1 + 0x6c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" identifier = (cast_expression "(undefined **)param_1" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "uStack_30 = 0x67f9c;" (assignment_expression "uStack_30 = 0x67f9c" identifier = number_literal) ;) (expression_statement "FUN_00067e20();" (call_expression "FUN_00067e20()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x24) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_6;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_6" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" if (parenthesized_expression "((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0))" ( (binary_expression "(*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)" (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" * (cast_expression "(char *)(param_1 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 0x34) == 0)" ( (binary_expression "*(int *)(param_1 + 0x34) == 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x34) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (return_statement "return '\x01';" return (char_literal "'\x01'" ' escape_sequence ') ;) })) (expression_statement "uStack_20 = 0x67fe6;" (assignment_expression "uStack_20 = 0x67fe6" identifier = number_literal) ;) (expression_statement "FUN_00066580();" (call_expression "FUN_00066580()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_20 = 0x67feb;" (assignment_expression "uStack_20 = 0x67feb" identifier = number_literal) ;) (expression_statement "FUN_00066550();" (call_expression "FUN_00066550()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_20 = param_6;" (assignment_expression "uStack_20 = param_6" identifier = identifier) ;) (expression_statement "puStack_24 = (undefined *)param_5;" (assignment_expression "puStack_24 = (undefined *)param_5" identifier = (cast_expression "(undefined *)param_5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puStack_28 = (undefined4 *)param_1;" (assignment_expression "puStack_28 = (undefined4 *)param_1" identifier = (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_2c = &__DT_PLTGOT;" (assignment_expression "local_2c = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "FUN_001397a0();" (call_expression "FUN_001397a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" { (expression_statement "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);" (call_expression "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" identifier (argument_list "(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" ( identifier , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , (pointer_expression "*puVar1" * identifier) , (pointer_expression "*(undefined1 *)(puVar1 + 1)" * (cast_expression "(undefined1 *)(puVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "cVar3 = FUN_00199030(auStack_64,uStack_14);" (assignment_expression "cVar3 = FUN_00199030(auStack_64,uStack_14)" identifier = (call_expression "FUN_00199030(auStack_64,uStack_14)" identifier (argument_list "(auStack_64,uStack_14)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = uStack_40;" (assignment_expression "uVar2 = uStack_40" identifier = identifier) ;) (if_statement "if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);" (assignment_expression "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" identifier = (call_expression "FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" identifier (argument_list "(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" ( (binary_expression "iStack_18 + 0x1c" identifier + number_literal) , identifier , identifier , identifier , identifier , number_literal )))) ;) })) (expression_statement "FUN_00198f90(auStack_64);" (call_expression "FUN_00198f90(auStack_64)" identifier (argument_list "(auStack_64)" ( identifier ))) ;) (return_statement "return cVar3;" return identifier ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",extraout_EDX)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool open(File_read * this, Task * task, string * name, uchar *\n   contents, off_t size) */\n\nint __thiscall gold::File_read::open(File_read *this,char *__file,int __oflag,...)\n\n{\n  bool bVar1;\n  View *v;\n  uchar *in_stack_00000010;\n  section_size_type in_stack_00000014;\n  undefined4 in_stack_00000018;\n  Task_token *in_stack_ffffffe4;\n  Task *in_stack_ffffffe8;\n  Task_token *this_1;\n  \n  this_1 = (Task_token *)0x67ef9;\n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);\n  }\n  if (((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {\n    std::string::_M_assign((string *)this,(string *)__oflag);\n    v = (View *)operator_new(0x24);\n    *(undefined4 *)&v->start_ = 0;\n    *(undefined4 *)((int)&v->start_ + 4) = 0;\n    v->size_ = in_stack_00000014;\n    v->data_ = in_stack_00000010;\n    v->lock_count_ = 0;\n    v->byteshift_ = 0;\n    v->cache_ = false;\n    v->data_ownership_ = DATA_NOT_OWNED;\n    v->accessed_ = true;\n    this->whole_file_view_ = v;\n    add_view(this,v);\n    bVar1 = (this->token_).is_blocker_;\n    *(section_size_type *)&this->size_ = in_stack_00000014;\n    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;\n    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/fileread.cc",0xe4,"open");\n}\n\n" comment comment (function_definition "int __thiscall gold::File_read::open(File_read *this,char *__file,int __oflag,...)\n\n{\n  bool bVar1;\n  View *v;\n  uchar *in_stack_00000010;\n  section_size_type in_stack_00000014;\n  undefined4 in_stack_00000018;\n  Task_token *in_stack_ffffffe4;\n  Task *in_stack_ffffffe8;\n  Task_token *this_1;\n  \n  this_1 = (Task_token *)0x67ef9;\n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);\n  }\n  if (((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {\n    std::string::_M_assign((string *)this,(string *)__oflag);\n    v = (View *)operator_new(0x24);\n    *(undefined4 *)&v->start_ = 0;\n    *(undefined4 *)((int)&v->start_ + 4) = 0;\n    v->size_ = in_stack_00000014;\n    v->data_ = in_stack_00000010;\n    v->lock_count_ = 0;\n    v->byteshift_ = 0;\n    v->cache_ = false;\n    v->data_ownership_ = DATA_NOT_OWNED;\n    v->accessed_ = true;\n    this->whole_file_view_ = v;\n    add_view(this,v);\n    bVar1 = (this->token_).is_blocker_;\n    *(section_size_type *)&this->size_ = in_stack_00000014;\n    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;\n    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/fileread.cc",0xe4,"open");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::" identifier : : identifier : :) (function_declarator "open(File_read *this,char *__file,int __oflag,...)" identifier (parameter_list "(File_read *this,char *__file,int __oflag,...)" ( (parameter_declaration "File_read *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  bool bVar1;\n  View *v;\n  uchar *in_stack_00000010;\n  section_size_type in_stack_00000014;\n  undefined4 in_stack_00000018;\n  Task_token *in_stack_ffffffe4;\n  Task *in_stack_ffffffe8;\n  Task_token *this_1;\n  \n  this_1 = (Task_token *)0x67ef9;\n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);\n  }\n  if (((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {\n    std::string::_M_assign((string *)this,(string *)__oflag);\n    v = (View *)operator_new(0x24);\n    *(undefined4 *)&v->start_ = 0;\n    *(undefined4 *)((int)&v->start_ + 4) = 0;\n    v->size_ = in_stack_00000014;\n    v->data_ = in_stack_00000010;\n    v->lock_count_ = 0;\n    v->byteshift_ = 0;\n    v->cache_ = false;\n    v->data_ownership_ = DATA_NOT_OWNED;\n    v->accessed_ = true;\n    this->whole_file_view_ = v;\n    add_view(this,v);\n    bVar1 = (this->token_).is_blocker_;\n    *(section_size_type *)&this->size_ = in_stack_00000014;\n    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;\n    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/fileread.cc",0xe4,"open");\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "View *v;" type_identifier (pointer_declarator "*v" * identifier) ;) (declaration "uchar *in_stack_00000010;" type_identifier (pointer_declarator "*in_stack_00000010" * identifier) ;) (declaration "section_size_type in_stack_00000014;" type_identifier identifier ;) (declaration "undefined4 in_stack_00000018;" type_identifier identifier ;) (declaration "Task_token *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (declaration "Task *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (declaration "Task_token *this_1;" type_identifier (pointer_declarator "*this_1" * identifier) ;) (expression_statement "this_1 = (Task_token *)0x67ef9;" (assignment_expression "this_1 = (Task_token *)0x67ef9" identifier = (cast_expression "(Task_token *)0x67ef9" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);\n  }" if (parenthesized_expression "((this->token_).is_blocker_ != false)" ( (binary_expression "(this->token_).is_blocker_ != false" (field_expression "(this->token_).is_blocker_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);\n  }" { comment (labeled_statement "Task_token::is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);" statement_identifier : (ERROR ":" :) (expression_statement "is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8);" (call_expression "is_writable(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8)" identifier (argument_list "(in_stack_ffffffe4,(Task_token *)in_stack_ffffffe8)" ( identifier , (cast_expression "(Task_token *)in_stack_ffffffe8" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) })) (if_statement "if (((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {\n    std::string::_M_assign((string *)this,(string *)__oflag);\n    v = (View *)operator_new(0x24);\n    *(undefined4 *)&v->start_ = 0;\n    *(undefined4 *)((int)&v->start_ + 4) = 0;\n    v->size_ = in_stack_00000014;\n    v->data_ = in_stack_00000010;\n    v->lock_count_ = 0;\n    v->byteshift_ = 0;\n    v->cache_ = false;\n    v->data_ownership_ = DATA_NOT_OWNED;\n    v->accessed_ = true;\n    this->whole_file_view_ = v;\n    add_view(this,v);\n    bVar1 = (this->token_).is_blocker_;\n    *(section_size_type *)&this->size_ = in_stack_00000014;\n    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;\n    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);\n  }" if (parenthesized_expression "(((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0))" ( (binary_expression "((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)" (parenthesized_expression "((((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false))" ( (binary_expression "(((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)) &&\n      (this->is_descriptor_opened_ == false)" (parenthesized_expression "(((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0))" ( (binary_expression "((this->token_).writer_ == (Task *)0x0) && (this->descriptor_ < 0)" (parenthesized_expression "((this->token_).writer_ == (Task *)0x0)" ( (binary_expression "(this->token_).writer_ == (Task *)0x0" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(this->descriptor_ < 0)" ( (binary_expression "this->descriptor_ < 0" (field_expression "this->descriptor_" identifier -> field_identifier) < number_literal) ))) )) && (parenthesized_expression "(this->is_descriptor_opened_ == false)" ( (binary_expression "this->is_descriptor_opened_ == false" (field_expression "this->is_descriptor_opened_" identifier -> field_identifier) == false) ))) )) && (parenthesized_expression "((this->name_)._M_string_length == 0)" ( (binary_expression "(this->name_)._M_string_length == 0" (field_expression "(this->name_)._M_string_length" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) == number_literal) ))) )) (compound_statement "{\n    std::string::_M_assign((string *)this,(string *)__oflag);\n    v = (View *)operator_new(0x24);\n    *(undefined4 *)&v->start_ = 0;\n    *(undefined4 *)((int)&v->start_ + 4) = 0;\n    v->size_ = in_stack_00000014;\n    v->data_ = in_stack_00000010;\n    v->lock_count_ = 0;\n    v->byteshift_ = 0;\n    v->cache_ = false;\n    v->data_ownership_ = DATA_NOT_OWNED;\n    v->accessed_ = true;\n    this->whole_file_view_ = v;\n    add_view(this,v);\n    bVar1 = (this->token_).is_blocker_;\n    *(section_size_type *)&this->size_ = in_stack_00000014;\n    *(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;\n    if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);\n  }" { (labeled_statement "std::string::_M_assign((string *)this,(string *)__oflag);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_assign((string *)this,(string *)__oflag);" statement_identifier : (ERROR ":" :) (expression_statement "_M_assign((string *)this,(string *)__oflag);" (call_expression "_M_assign((string *)this,(string *)__oflag)" identifier (argument_list "((string *)this,(string *)__oflag)" ( (cast_expression "(string *)this" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(string *)__oflag" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;))) (expression_statement "v = (View *)operator_new(0x24);" (assignment_expression "v = (View *)operator_new(0x24)" identifier = (cast_expression "(View *)operator_new(0x24)" ( (type_descriptor "View *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x24)" identifier (argument_list "(0x24)" ( number_literal ))))) ;) (expression_statement "*(undefined4 *)&v->start_ = 0;" (assignment_expression "*(undefined4 *)&v->start_ = 0" (pointer_expression "*(undefined4 *)&v->start_" * (cast_expression "(undefined4 *)&v->start_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&v->start_" & (field_expression "v->start_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&v->start_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&v->start_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&v->start_ + 4)" * (cast_expression "(undefined4 *)((int)&v->start_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&v->start_ + 4)" ( (binary_expression "(int)&v->start_ + 4" (cast_expression "(int)&v->start_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&v->start_" & (field_expression "v->start_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "v->size_ = in_stack_00000014;" (assignment_expression "v->size_ = in_stack_00000014" (field_expression "v->size_" identifier -> field_identifier) = identifier) ;) (expression_statement "v->data_ = in_stack_00000010;" (assignment_expression "v->data_ = in_stack_00000010" (field_expression "v->data_" identifier -> field_identifier) = identifier) ;) (expression_statement "v->lock_count_ = 0;" (assignment_expression "v->lock_count_ = 0" (field_expression "v->lock_count_" identifier -> field_identifier) = number_literal) ;) (expression_statement "v->byteshift_ = 0;" (assignment_expression "v->byteshift_ = 0" (field_expression "v->byteshift_" identifier -> field_identifier) = number_literal) ;) (expression_statement "v->cache_ = false;" (assignment_expression "v->cache_ = false" (field_expression "v->cache_" identifier -> field_identifier) = false) ;) (expression_statement "v->data_ownership_ = DATA_NOT_OWNED;" (assignment_expression "v->data_ownership_ = DATA_NOT_OWNED" (field_expression "v->data_ownership_" identifier -> field_identifier) = identifier) ;) (expression_statement "v->accessed_ = true;" (assignment_expression "v->accessed_ = true" (field_expression "v->accessed_" identifier -> field_identifier) = true) ;) (expression_statement "this->whole_file_view_ = v;" (assignment_expression "this->whole_file_view_ = v" (field_expression "this->whole_file_view_" identifier -> field_identifier) = identifier) ;) (expression_statement "add_view(this,v);" (call_expression "add_view(this,v)" identifier (argument_list "(this,v)" ( identifier , identifier ))) ;) (expression_statement "bVar1 = (this->token_).is_blocker_;" (assignment_expression "bVar1 = (this->token_).is_blocker_" identifier = (field_expression "(this->token_).is_blocker_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*(section_size_type *)&this->size_ = in_stack_00000014;" (assignment_expression "*(section_size_type *)&this->size_ = in_stack_00000014" (pointer_expression "*(section_size_type *)&this->size_" * (cast_expression "(section_size_type *)&this->size_" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->size_" & (field_expression "this->size_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018;" (assignment_expression "*(undefined4 *)((int)&this->size_ + 4) = in_stack_00000018" (pointer_expression "*(undefined4 *)((int)&this->size_ + 4)" * (cast_expression "(undefined4 *)((int)&this->size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->size_ + 4)" ( (binary_expression "(int)&this->size_ + 4" (cast_expression "(int)&this->size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->size_" & (field_expression "this->size_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if ((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)) {\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }" if (parenthesized_expression "((bVar1 == false) && ((this->token_).writer_ == (Task *)0x0))" ( (binary_expression "(bVar1 == false) && ((this->token_).writer_ == (Task *)0x0)" (parenthesized_expression "(bVar1 == false)" ( (binary_expression "bVar1 == false" identifier == false) )) && (parenthesized_expression "((this->token_).writer_ == (Task *)0x0)" ( (binary_expression "(this->token_).writer_ == (Task *)0x0" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      (this->token_).writer_ = (Task *)__file;\n      return 1;\n    }" { (expression_statement "(this->token_).writer_ = (Task *)__file;" (assignment_expression "(this->token_).writer_ = (Task *)__file" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Task *)__file" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return 1;" return number_literal ;) })) comment (labeled_statement "Task_token::add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);" statement_identifier : (ERROR ":" :) (expression_statement "add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1);" (call_expression "add_writer(in_stack_ffffffe4,in_stack_ffffffe8,this_1)" identifier (argument_list "(in_stack_ffffffe4,in_stack_ffffffe8,this_1)" ( identifier , identifier , identifier ))) ;)) })) comment (expression_statement "do_gold_unreachable("../../gold/fileread.cc",0xe4,"open");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0xe4,"open")" identifier (argument_list "("../../gold/fileread.cc",0xe4,"open")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""open"" " string_content ") ))) ;) })))
(translation_unit "char FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}\n\n" (function_definition "char FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" primitive_type (function_declarator "FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type 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) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 unaff_EBX;" type_identifier identifier ;) (declaration "undefined1 auStack_64 [36];" type_identifier (array_declarator "auStack_64 [36]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined4 uStack_3c;" type_identifier identifier ;) (declaration "undefined4 uStack_30;" type_identifier identifier ;) (declaration "undefined **local_2c;" type_identifier (pointer_declarator "**local_2c" * (pointer_declarator "*local_2c" * identifier)) ;) (declaration "undefined4 *puStack_28;" type_identifier (pointer_declarator "*puStack_28" * identifier) ;) (declaration "undefined *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "int iStack_18;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x67ef9;" (assignment_expression "uStack_14 = 0x67ef9" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" * (cast_expression "(char *)(param_1 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" { (if_statement "if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" if (parenthesized_expression "((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0'))" ( (binary_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')" (parenthesized_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18)))" ( (binary_expression "(*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))" (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" ( (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(-1 < *(int *)(param_1 + 0x18))" ( (binary_expression "-1 < *(int *)(param_1 + 0x18)" number_literal < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ))) )) || (parenthesized_expression "(*(char *)(param_1 + 0x1c) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x1c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" { (expression_statement "puStack_24 = &DAT_00287684;" (assignment_expression "puStack_24 = &DAT_00287684" identifier = (pointer_expression "&DAT_00287684" & identifier)) ;) (expression_statement "local_2c = (undefined **)0x287354;" (assignment_expression "local_2c = (undefined **)0x287354" identifier = (cast_expression "(undefined **)0x287354" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "puStack_28 = (undefined4 *)0xe4;" (assignment_expression "puStack_28 = (undefined4 *)0xe4" identifier = (cast_expression "(undefined4 *)0xe4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_30 = 0x67fe1;" (assignment_expression "uStack_30 = 0x67fe1" identifier = number_literal) ;) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puStack_28 = (undefined4 *)param_3;" (assignment_expression "puStack_28 = (undefined4 *)param_3" identifier = (cast_expression "(undefined4 *)param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" identifier = (cast_expression "(undefined **)param_1" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "uStack_30 = 0x67f50;" (assignment_expression "uStack_30 = 0x67f50" identifier = number_literal) ;) (expression_statement "FUN_001ee9c0();" (call_expression "FUN_001ee9c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_2c = (undefined **)0x24;" (assignment_expression "local_2c = (undefined **)0x24" identifier = (cast_expression "(undefined **)0x24" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "uStack_30 = 0x67f5c;" (assignment_expression "uStack_30 = 0x67f5c" identifier = number_literal) ;) (expression_statement "puStack_28 = (undefined4 *)FUN_001e5200();" (assignment_expression "puStack_28 = (undefined4 *)FUN_001e5200()" identifier = (cast_expression "(undefined4 *)FUN_001e5200()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puStack_28 = 0;" (assignment_expression "*puStack_28 = 0" (pointer_expression "*puStack_28" * identifier) = number_literal) ;) (expression_statement "puStack_28[1] = 0;" (assignment_expression "puStack_28[1] = 0" (subscript_expression "puStack_28[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_28[2] = param_5;" (assignment_expression "puStack_28[2] = param_5" (subscript_expression "puStack_28[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_28[3] = param_4;" (assignment_expression "puStack_28[3] = param_4" (subscript_expression "puStack_28[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_28[4] = 0;" (assignment_expression "puStack_28[4] = 0" (subscript_expression "puStack_28[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_28[5] = 0;" (assignment_expression "puStack_28[5] = 0" (subscript_expression "puStack_28[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puStack_28 + 6) = 0;" (assignment_expression "*(undefined1 *)(puStack_28 + 6) = 0" (pointer_expression "*(undefined1 *)(puStack_28 + 6)" * (cast_expression "(undefined1 *)(puStack_28 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_28 + 6)" ( (binary_expression "puStack_28 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puStack_28[7] = 0;" (assignment_expression "puStack_28[7] = 0" (subscript_expression "puStack_28[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puStack_28 + 8) = 1;" (assignment_expression "*(undefined1 *)(puStack_28 + 8) = 1" (pointer_expression "*(undefined1 *)(puStack_28 + 8)" * (cast_expression "(undefined1 *)(puStack_28 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_28 + 8)" ( (binary_expression "puStack_28 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x6c) = puStack_28;" (assignment_expression "*(undefined4 **)(param_1 + 0x6c) = puStack_28" (pointer_expression "*(undefined4 **)(param_1 + 0x6c)" * (cast_expression "(undefined4 **)(param_1 + 0x6c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" identifier = (cast_expression "(undefined **)param_1" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "uStack_30 = 0x67f9c;" (assignment_expression "uStack_30 = 0x67f9c" identifier = number_literal) ;) (expression_statement "FUN_00067e20();" (call_expression "FUN_00067e20()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x24) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_6;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_6" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" if (parenthesized_expression "((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0))" ( (binary_expression "(*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)" (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" * (cast_expression "(char *)(param_1 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 0x34) == 0)" ( (binary_expression "*(int *)(param_1 + 0x34) == 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x34) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (return_statement "return '\x01';" return (char_literal "'\x01'" ' escape_sequence ') ;) })) (expression_statement "uStack_20 = 0x67fe6;" (assignment_expression "uStack_20 = 0x67fe6" identifier = number_literal) ;) (expression_statement "FUN_00066580();" (call_expression "FUN_00066580()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_20 = 0x67feb;" (assignment_expression "uStack_20 = 0x67feb" identifier = number_literal) ;) (expression_statement "FUN_00066550();" (call_expression "FUN_00066550()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_20 = param_6;" (assignment_expression "uStack_20 = param_6" identifier = identifier) ;) (expression_statement "puStack_24 = (undefined *)param_5;" (assignment_expression "puStack_24 = (undefined *)param_5" identifier = (cast_expression "(undefined *)param_5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puStack_28 = (undefined4 *)param_1;" (assignment_expression "puStack_28 = (undefined4 *)param_1" identifier = (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_2c = &__DT_PLTGOT;" (assignment_expression "local_2c = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "FUN_001397a0();" (call_expression "FUN_001397a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" { (expression_statement "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);" (call_expression "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" identifier (argument_list "(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" ( identifier , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , (pointer_expression "*puVar1" * identifier) , (pointer_expression "*(undefined1 *)(puVar1 + 1)" * (cast_expression "(undefined1 *)(puVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "cVar3 = FUN_00199030(auStack_64,uStack_14);" (assignment_expression "cVar3 = FUN_00199030(auStack_64,uStack_14)" identifier = (call_expression "FUN_00199030(auStack_64,uStack_14)" identifier (argument_list "(auStack_64,uStack_14)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = uStack_40;" (assignment_expression "uVar2 = uStack_40" identifier = identifier) ;) (if_statement "if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);" (assignment_expression "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" identifier = (call_expression "FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" identifier (argument_list "(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" ( (binary_expression "iStack_18 + 0x1c" identifier + number_literal) , identifier , identifier , identifier , identifier , number_literal )))) ;) })) (expression_statement "FUN_00198f90(auStack_64);" (call_expression "FUN_00198f90(auStack_64)" identifier (argument_list "(auStack_64)" ( identifier ))) ;) (return_statement "return cVar3;" return identifier ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",extraout_EDX)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) || (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 = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return (char_literal ' escape_sequence ') ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , IDENT , LIT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "char FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" (primitive_type "char") (function_declarator "FUN_00067ef0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_00067ef0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  char cVar3;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBX;\n  undefined1 auStack_64 [36];\n  undefined4 uStack_40;\n  undefined4 uStack_3c;\n  undefined4 uStack_30;\n  undefined **local_2c;\n  undefined4 *puStack_28;\n  undefined *puStack_24;\n  undefined4 uStack_20;\n  int iStack_18;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67ef9;\n  if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }\n  uStack_20 = 0x67feb;\n  FUN_00066550();\n  uStack_20 = param_6;\n  puStack_24 = (undefined *)param_5;\n  puStack_28 = (undefined4 *)param_1;\n  local_2c = &__DT_PLTGOT;\n  FUN_001397a0();\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "undefined4 unaff_EBX;" (type_identifier "undefined4") (identifier "unaff_EBX") (; ";")) (declaration "undefined1 auStack_64 [36];" (type_identifier "undefined1") (array_declarator "auStack_64 [36]" (identifier "auStack_64") ([ "[") (number_literal "36") (] "]")) (; ";")) (declaration "undefined4 uStack_40;" (type_identifier "undefined4") (identifier "uStack_40") (; ";")) (declaration "undefined4 uStack_3c;" (type_identifier "undefined4") (identifier "uStack_3c") (; ";")) (declaration "undefined4 uStack_30;" (type_identifier "undefined4") (identifier "uStack_30") (; ";")) (declaration "undefined **local_2c;" (type_identifier "undefined") (pointer_declarator "**local_2c" (* "*") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c"))) (; ";")) (declaration "undefined4 *puStack_28;" (type_identifier "undefined4") (pointer_declarator "*puStack_28" (* "*") (identifier "puStack_28")) (; ";")) (declaration "undefined *puStack_24;" (type_identifier "undefined") (pointer_declarator "*puStack_24" (* "*") (identifier "puStack_24")) (; ";")) (declaration "undefined4 uStack_20;" (type_identifier "undefined4") (identifier "uStack_20") (; ";")) (declaration "int iStack_18;" (primitive_type "int") (identifier "iStack_18") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x67ef9;" (assignment_expression "uStack_14 = 0x67ef9" (identifier "uStack_14") (= "=") (number_literal "0x67ef9")) (; ";")) (if_statement "if (*(char *)(param_1 + 0x2c) == '\0') {\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" (* "*") (cast_expression "(char *)(param_1 + 0x2c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }\n    puStack_28 = (undefined4 *)param_3;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f50;\n    FUN_001ee9c0();\n    local_2c = (undefined **)0x24;\n    uStack_30 = 0x67f5c;\n    puStack_28 = (undefined4 *)FUN_001e5200();\n    *puStack_28 = 0;\n    puStack_28[1] = 0;\n    puStack_28[2] = param_5;\n    puStack_28[3] = param_4;\n    puStack_28[4] = 0;\n    puStack_28[5] = 0;\n    *(undefined1 *)(puStack_28 + 6) = 0;\n    puStack_28[7] = 0;\n    *(undefined1 *)(puStack_28 + 8) = 1;\n    *(undefined4 **)(param_1 + 0x6c) = puStack_28;\n    local_2c = (undefined **)param_1;\n    uStack_30 = 0x67f9c;\n    FUN_00067e20();\n    *(undefined4 *)(param_1 + 0x24) = param_5;\n    *(undefined4 *)(param_1 + 0x28) = param_6;\n    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }\n    uStack_20 = 0x67fe6;\n    FUN_00066580();\n  }" ({ "{") (if_statement "if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" (if "if") (parenthesized_expression "((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0))" (( "(") (binary_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0'))" (( "(") (binary_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||\n        (*(char *)(param_1 + 0x1c) != '\0')" (parenthesized_expression "((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18)))" (( "(") (binary_expression "(*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))" (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(-1 < *(int *)(param_1 + 0x18))" (( "(") (binary_expression "-1 < *(int *)(param_1 + 0x18)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + 0x1c) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" (* "*") (cast_expression "(char *)(param_1 + 0x1c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      puStack_24 = &DAT_00287684;\n      local_2c = (undefined **)0x287354;\n      puStack_28 = (undefined4 *)0xe4;\n                    \n      uStack_30 = 0x67fe1;\n      FUN_00069d00();\n    }" ({ "{") (expression_statement "puStack_24 = &DAT_00287684;" (assignment_expression "puStack_24 = &DAT_00287684" (identifier "puStack_24") (= "=") (pointer_expression "&DAT_00287684" (& "&") (identifier "DAT_00287684"))) (; ";")) (expression_statement "local_2c = (undefined **)0x287354;" (assignment_expression "local_2c = (undefined **)0x287354" (identifier "local_2c") (= "=") (cast_expression "(undefined **)0x287354" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x287354"))) (; ";")) (expression_statement "puStack_28 = (undefined4 *)0xe4;" (assignment_expression "puStack_28 = (undefined4 *)0xe4" (identifier "puStack_28") (= "=") (cast_expression "(undefined4 *)0xe4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xe4"))) (; ";")) (expression_statement "uStack_30 = 0x67fe1;" (assignment_expression "uStack_30 = 0x67fe1" (identifier "uStack_30") (= "=") (number_literal "0x67fe1")) (; ";")) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" (identifier "FUN_00069d00") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puStack_28 = (undefined4 *)param_3;" (assignment_expression "puStack_28 = (undefined4 *)param_3" (identifier "puStack_28") (= "=") (cast_expression "(undefined4 *)param_3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_3"))) (; ";")) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" (identifier "local_2c") (= "=") (cast_expression "(undefined **)param_1" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "uStack_30 = 0x67f50;" (assignment_expression "uStack_30 = 0x67f50" (identifier "uStack_30") (= "=") (number_literal "0x67f50")) (; ";")) (expression_statement "FUN_001ee9c0();" (call_expression "FUN_001ee9c0()" (identifier "FUN_001ee9c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_2c = (undefined **)0x24;" (assignment_expression "local_2c = (undefined **)0x24" (identifier "local_2c") (= "=") (cast_expression "(undefined **)0x24" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x24"))) (; ";")) (expression_statement "uStack_30 = 0x67f5c;" (assignment_expression "uStack_30 = 0x67f5c" (identifier "uStack_30") (= "=") (number_literal "0x67f5c")) (; ";")) (expression_statement "puStack_28 = (undefined4 *)FUN_001e5200();" (assignment_expression "puStack_28 = (undefined4 *)FUN_001e5200()" (identifier "puStack_28") (= "=") (cast_expression "(undefined4 *)FUN_001e5200()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200()" (identifier "FUN_001e5200") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puStack_28 = 0;" (assignment_expression "*puStack_28 = 0" (pointer_expression "*puStack_28" (* "*") (identifier "puStack_28")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_28[1] = 0;" (assignment_expression "puStack_28[1] = 0" (subscript_expression "puStack_28[1]" (identifier "puStack_28") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_28[2] = param_5;" (assignment_expression "puStack_28[2] = param_5" (subscript_expression "puStack_28[2]" (identifier "puStack_28") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puStack_28[3] = param_4;" (assignment_expression "puStack_28[3] = param_4" (subscript_expression "puStack_28[3]" (identifier "puStack_28") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puStack_28[4] = 0;" (assignment_expression "puStack_28[4] = 0" (subscript_expression "puStack_28[4]" (identifier "puStack_28") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_28[5] = 0;" (assignment_expression "puStack_28[5] = 0" (subscript_expression "puStack_28[5]" (identifier "puStack_28") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puStack_28 + 6) = 0;" (assignment_expression "*(undefined1 *)(puStack_28 + 6) = 0" (pointer_expression "*(undefined1 *)(puStack_28 + 6)" (* "*") (cast_expression "(undefined1 *)(puStack_28 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_28 + 6)" (( "(") (binary_expression "puStack_28 + 6" (identifier "puStack_28") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_28[7] = 0;" (assignment_expression "puStack_28[7] = 0" (subscript_expression "puStack_28[7]" (identifier "puStack_28") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puStack_28 + 8) = 1;" (assignment_expression "*(undefined1 *)(puStack_28 + 8) = 1" (pointer_expression "*(undefined1 *)(puStack_28 + 8)" (* "*") (cast_expression "(undefined1 *)(puStack_28 + 8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_28 + 8)" (( "(") (binary_expression "puStack_28 + 8" (identifier "puStack_28") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x6c) = puStack_28;" (assignment_expression "*(undefined4 **)(param_1 + 0x6c) = puStack_28" (pointer_expression "*(undefined4 **)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (identifier "puStack_28")) (; ";")) (expression_statement "local_2c = (undefined **)param_1;" (assignment_expression "local_2c = (undefined **)param_1" (identifier "local_2c") (= "=") (cast_expression "(undefined **)param_1" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "uStack_30 = 0x67f9c;" (assignment_expression "uStack_30 = 0x67f9c" (identifier "uStack_30") (= "=") (number_literal "0x67f9c")) (; ";")) (expression_statement "FUN_00067e20();" (call_expression "FUN_00067e20()" (identifier "FUN_00067e20") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x24) = param_5;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = param_5" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_6;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_6" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (if_statement "if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0))" (( "(") (binary_expression "(*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)" (parenthesized_expression "(*(char *)(param_1 + 0x2c) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x2c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x2c)" (* "*") (cast_expression "(char *)(param_1 + 0x2c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x34) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x34) == 0" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x34) = param_2;\n      return '\x01';\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x34) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return '\x01';" (return "return") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")) (; ";")) (} "}"))) (expression_statement "uStack_20 = 0x67fe6;" (assignment_expression "uStack_20 = 0x67fe6" (identifier "uStack_20") (= "=") (number_literal "0x67fe6")) (; ";")) (expression_statement "FUN_00066580();" (call_expression "FUN_00066580()" (identifier "FUN_00066580") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uStack_20 = 0x67feb;" (assignment_expression "uStack_20 = 0x67feb" (identifier "uStack_20") (= "=") (number_literal "0x67feb")) (; ";")) (expression_statement "FUN_00066550();" (call_expression "FUN_00066550()" (identifier "FUN_00066550") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_20 = param_6;" (assignment_expression "uStack_20 = param_6" (identifier "uStack_20") (= "=") (identifier "param_6")) (; ";")) (expression_statement "puStack_24 = (undefined *)param_5;" (assignment_expression "puStack_24 = (undefined *)param_5" (identifier "puStack_24") (= "=") (cast_expression "(undefined *)param_5" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_5"))) (; ";")) (expression_statement "puStack_28 = (undefined4 *)param_1;" (assignment_expression "puStack_28 = (undefined4 *)param_1" (identifier "puStack_28") (= "=") (cast_expression "(undefined4 *)param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "local_2c = &__DT_PLTGOT;" (assignment_expression "local_2c = &__DT_PLTGOT" (identifier "local_2c") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "FUN_001397a0();" (call_expression "FUN_001397a0()" (identifier "FUN_001397a0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);\n    cVar3 = FUN_00199030(auStack_64,uStack_14);\n    uVar2 = uStack_40;\n    if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }\n    FUN_00198f90(auStack_64);\n    return cVar3;\n  }" ({ "{") (expression_statement "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);" (call_expression "FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" (identifier "FUN_00198fe0") (argument_list "(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX)" (( "(") (identifier "auStack_64") (, ",") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (pointer_expression "*(undefined1 *)(puVar1 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")")))) (, ",") (identifier "unaff_EBX") () ")"))) (; ";")) (expression_statement "cVar3 = FUN_00199030(auStack_64,uStack_14);" (assignment_expression "cVar3 = FUN_00199030(auStack_64,uStack_14)" (identifier "cVar3") (= "=") (call_expression "FUN_00199030(auStack_64,uStack_14)" (identifier "FUN_00199030") (argument_list "(auStack_64,uStack_14)" (( "(") (identifier "auStack_64") (, ",") (identifier "uStack_14") () ")")))) (; ";")) (expression_statement "uVar2 = uStack_40;" (assignment_expression "uVar2 = uStack_40" (identifier "uVar2") (= "=") (identifier "uStack_40")) (; ";")) (if_statement "if (cVar3 != '\0') {\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uStack_40 = 0;\n      cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);\n    }" ({ "{") (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" (identifier "uStack_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);" (assignment_expression "cVar3 = FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" (identifier "cVar3") (= "=") (call_expression "FUN_00067ef0(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" (identifier "FUN_00067ef0") (argument_list "(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0)" (( "(") (binary_expression "iStack_18 + 0x1c" (identifier "iStack_18") (+ "+") (number_literal "0x1c")) (, ",") (identifier "uStack_14") (, ",") (identifier "unaff_EBX") (, ",") (identifier "uVar2") (, ",") (identifier "uStack_3c") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00198f90(auStack_64);" (call_expression "FUN_00198f90(auStack_64)" (identifier "FUN_00198f90") (argument_list "(auStack_64)" (( "(") (identifier "auStack_64") () ")"))) (; ";")) (return_statement "return cVar3;" (return "return") (identifier "cVar3") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",extraout_EDX)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "extraout_EDX") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool open(File_read * this, Task * task, string * name, uchar *
   contents, off_t size) */

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

{
  bool var_5;
  type_2 *v;
  type_3 *in_stack_00000010;
  type_4 in_stack_00000014;
  type_5 in_stack_00000018;
  type_6 *in_stack_ffffffe4;
  type_7 *in_stack_ffffffe8;
  type_6 *this_1;
  
  this_1 = (type_6 *)0x67ef9;
  if ((this->token_).is_blocker_ != false) {
                    /* WARNING: Subroutine does not return */
    Task_token::var_1(in_stack_ffffffe4,(type_6 *)in_stack_ffffffe8);
  }
  if (((((this->token_).writer_ == (type_7 *)0x0) && (this->descriptor_ < 0)) &&
      (this->is_descriptor_opened_ == false)) && ((this->name_)._M_string_length == 0)) {
    std::string::var_2((type_8 *)this,(type_8 *)__oflag);
    v = (type_2 *)var_3(0x24);
    *(type_5 *)&v->start_ = 0;
    *(type_5 *)((int)&v->start_ + 4) = 0;
    v->size_ = in_stack_00000014;
    v->data_ = in_stack_00000010;
    v->lock_count_ = 0;
    v->byteshift_ = 0;
    v->cache_ = false;
    v->data_ownership_ = DATA_NOT_OWNED;
    v->accessed_ = true;
    this->whole_file_view_ = v;
    var_4(this,v);
    var_5 = (this->token_).is_blocker_;
    *(type_4 *)&this->size_ = in_stack_00000014;
    *(type_5 *)((int)&this->size_ + 4) = in_stack_00000018;
    if ((var_5 == false) && ((this->token_).writer_ == (type_7 *)0x0)) {
      (this->token_).writer_ = (type_7 *)__file;
      return 1;
    }
                    /* WARNING: Subroutine does not return */
    Task_token::var_6(in_stack_ffffffe4,in_stack_ffffffe8,this_1);
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/fileread.cc",0xe4,"open");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

char MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  char cVar3;
  undefined4 extraout_EDX;
  undefined4 unaff_EBX;
  undefined1 auStack_64 [36];
  undefined4 uStack_40;
  undefined4 uStack_3c;
  undefined4 uStack_30;
  undefined **local_2c;
  undefined4 *puStack_28;
  undefined *puStack_24;
  undefined4 uStack_20;
  int iStack_18;
  undefined4 uStack_14;
  
  uStack_14 = 0x67ef9;
  if (*(char *)(param_1 + 0x2c) == '\0') {
    if ((((*(int *)(param_1 + 0x34) != 0) || (-1 < *(int *)(param_1 + 0x18))) ||
        (*(char *)(param_1 + 0x1c) != '\0')) || (*(int *)(param_1 + 4) != 0)) {
      puStack_24 = &DAT_00287684;
      local_2c = (undefined **)0x287354;
      puStack_28 = (undefined4 *)0xe4;
                    /* WARNING: Subroutine does not return */
      uStack_30 = 0x67fe1;
      FUN_00069d00();
    }
    puStack_28 = (undefined4 *)param_3;
    local_2c = (undefined **)param_1;
    uStack_30 = 0x67f50;
    FUN_001ee9c0();
    local_2c = (undefined **)0x24;
    uStack_30 = 0x67f5c;
    puStack_28 = (undefined4 *)FUN_001e5200();
    *puStack_28 = 0;
    puStack_28[1] = 0;
    puStack_28[2] = param_5;
    puStack_28[3] = param_4;
    puStack_28[4] = 0;
    puStack_28[5] = 0;
    *(undefined1 *)(puStack_28 + 6) = 0;
    puStack_28[7] = 0;
    *(undefined1 *)(puStack_28 + 8) = 1;
    *(undefined4 **)(param_1 + 0x6c) = puStack_28;
    local_2c = (undefined **)param_1;
    uStack_30 = 0x67f9c;
    FUN_00067e20();
    *(undefined4 *)(param_1 + 0x24) = param_5;
    *(undefined4 *)(param_1 + 0x28) = param_6;
    if ((*(char *)(param_1 + 0x2c) == '\0') && (*(int *)(param_1 + 0x34) == 0)) {
      *(undefined4 *)(param_1 + 0x34) = param_2;
      return '\x01';
    }
    uStack_20 = 0x67fe6;
    FUN_00066580();
  }
  uStack_20 = 0x67feb;
  FUN_00066550();
  uStack_20 = param_6;
  puStack_24 = (undefined *)param_5;
  puStack_28 = (undefined4 *)param_1;
  local_2c = &__DT_PLTGOT;
  FUN_001397a0();
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    puVar1 = *(undefined4 **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    FUN_00198fe0(auStack_64,puVar1[2],*puVar1,*(undefined1 *)(puVar1 + 1),unaff_EBX);
    cVar3 = FUN_00199030(auStack_64,uStack_14);
    uVar2 = uStack_40;
    if (cVar3 != '\0') {
      uStack_40 = 0;
      cVar3 = MASKED(iStack_18 + 0x1c,uStack_14,unaff_EBX,uVar2,uStack_3c,0);
    }
    FUN_00198f90(auStack_64);
    return cVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",extraout_EDX);
}

