
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void Output_file_header(Output_file_header * this, Target * target,
   Symbol_table * symtab, Output_segment_headers * osh) */

void __thiscall
gold::Output_file_header::Output_file_header
          (Output_file_header *this,Target *target,Symbol_table *symtab,Output_segment_headers *osh)

{
  undefined1 *puVar1;
  byte bVar2;
  off_t oVar3;
  
  puVar1 = &(this->super_Output_data).field_0x1c;
  *puVar1 = *puVar1 & 0xe0;
  *(undefined4 *)&(this->super_Output_data).address_ = 0;
  (this->super_Output_data)._vptr_Output_data =
       (_func_int_varargs **)&PTR__Output_file_header_00383bac;
  *(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0;
  this->target_ = target;
  *(undefined4 *)&(this->super_Output_data).data_size_ = 0;
  this->symtab_ = symtab;
  *(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;
  *(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff;
  *(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;
  this->segment_header_ = osh;
  this->section_header_ = (Output_section_headers *)0x0;
  this->shstrtab_ = (Output_section *)0x0;
  oVar3 = do_size(this);
  bVar2 = (this->super_Output_data).field_0x1c;
  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {
    (this->super_Output_data).data_size_ = oVar3;
    (this->super_Output_data).field_0x1c = bVar2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
}



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

void FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  byte bVar1;
  undefined8 uVar2;
  
  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;
  param_1[1] = 0;
  *param_1 = &PTR_FUN_00383bac;
  param_1[2] = 0;
  param_1[8] = param_2;
  param_1[3] = 0;
  param_1[9] = param_3;
  param_1[4] = 0;
  param_1[5] = 0xffffffff;
  param_1[6] = 0xffffffff;
  param_1[10] = param_4;
  param_1[0xb] = 0;
  param_1[0xc] = 0;
  uVar2 = FUN_000edb10(param_1);
  bVar1 = *(byte *)(param_1 + 7);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(undefined8 *)(param_1 + 3) = uVar2;
    *(byte *)(param_1 + 7) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2a1469
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
AND byte ptr [ESI + 0x1c],0xe0
LEA EAX,[EBX + 0xffff4bac]
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0xffffffff
MOV dword ptr [ESI + 0x18],0xffffffff
MOV dword ptr [ESI + 0x28],EAX
MOV dword ptr [ESI + 0x2c],0x0
MOV dword ptr [ESI + 0x30],0x0
PUSH ESI
CALL 0x000edb10
MOVZX ECX,byte ptr [ESI + 0x1c]
ADD ESP,0x10
TEST CL,0x2
JNZ 0x000edc28
TEST CL,0x8
JNZ 0x000edc28
MOV dword ptr [ESI + 0x10],EDX
MOV EDX,ECX
OR EDX,0x2
MOV dword ptr [ESI + 0xc],EAX
MOV byte ptr [ESI + 0x1c],DL
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff05150]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x218
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}\n\n" comment (function_definition "void FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" primitive_type (function_declarator "FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00383bac;" (assignment_expression "*param_1 = &PTR_FUN_00383bac" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00383bac" & identifier)) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = param_3;" (assignment_expression "param_1[9] = param_3" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0xffffffff;" (assignment_expression "param_1[5] = 0xffffffff" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = param_4;" (assignment_expression "param_1[10] = param_4" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar2 = FUN_000edb10(param_1);" (assignment_expression "uVar2 = FUN_000edb10(param_1)" identifier = (call_expression "FUN_000edb10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" identifier = (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(undefined8 *)(param_1 + 3) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 3) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 3)" * (cast_expression "(undefined8 *)(param_1 + 3)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void Output_file_header(Output_file_header * this, Target * target,\n   Symbol_table * symtab, Output_segment_headers * osh) */\n\nvoid __thiscall\ngold::Output_file_header::Output_file_header\n          (Output_file_header *this,Target *target,Symbol_table *symtab,Output_segment_headers *osh)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  off_t oVar3;\n  \n  puVar1 = &(this->super_Output_data).field_0x1c;\n  *puVar1 = *puVar1 & 0xe0;\n  *(undefined4 *)&(this->super_Output_data).address_ = 0;\n  (this->super_Output_data)._vptr_Output_data =\n       (_func_int_varargs **)&PTR__Output_file_header_00383bac;\n  *(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0;\n  this->target_ = target;\n  *(undefined4 *)&(this->super_Output_data).data_size_ = 0;\n  this->symtab_ = symtab;\n  *(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;\n  *(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff;\n  *(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;\n  this->segment_header_ = osh;\n  this->section_header_ = (Output_section_headers *)0x0;\n  this->shstrtab_ = (Output_section *)0x0;\n  oVar3 = do_size(this);\n  bVar2 = (this->super_Output_data).field_0x1c;\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    (this->super_Output_data).data_size_ = oVar3;\n    (this->super_Output_data).field_0x1c = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Output_file_header::Output_file_header\n          (Output_file_header *this,Target *target,Symbol_table *symtab,Output_segment_headers *osh)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  off_t oVar3;\n  \n  puVar1 = &(this->super_Output_data).field_0x1c;\n  *puVar1 = *puVar1 & 0xe0;\n  *(undefined4 *)&(this->super_Output_data).address_ = 0;\n  (this->super_Output_data)._vptr_Output_data =\n       (_func_int_varargs **)&PTR__Output_file_header_00383bac;\n  *(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0;\n  this->target_ = target;\n  *(undefined4 *)&(this->super_Output_data).data_size_ = 0;\n  this->symtab_ = symtab;\n  *(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;\n  *(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff;\n  *(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;\n  this->segment_header_ = osh;\n  this->section_header_ = (Output_section_headers *)0x0;\n  this->shstrtab_ = (Output_section *)0x0;\n  oVar3 = do_size(this);\n  bVar2 = (this->super_Output_data).field_0x1c;\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    (this->super_Output_data).data_size_ = oVar3;\n    (this->super_Output_data).field_0x1c = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file_header::" identifier : : identifier : :) (function_declarator "Output_file_header\n          (Output_file_header *this,Target *target,Symbol_table *symtab,Output_segment_headers *osh)" identifier (parameter_list "(Output_file_header *this,Target *target,Symbol_table *symtab,Output_segment_headers *osh)" ( (parameter_declaration "Output_file_header *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Target *target" type_identifier (pointer_declarator "*target" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Output_segment_headers *osh" type_identifier (pointer_declarator "*osh" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  off_t oVar3;\n  \n  puVar1 = &(this->super_Output_data).field_0x1c;\n  *puVar1 = *puVar1 & 0xe0;\n  *(undefined4 *)&(this->super_Output_data).address_ = 0;\n  (this->super_Output_data)._vptr_Output_data =\n       (_func_int_varargs **)&PTR__Output_file_header_00383bac;\n  *(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0;\n  this->target_ = target;\n  *(undefined4 *)&(this->super_Output_data).data_size_ = 0;\n  this->symtab_ = symtab;\n  *(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;\n  *(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff;\n  *(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;\n  this->segment_header_ = osh;\n  this->section_header_ = (Output_section_headers *)0x0;\n  this->shstrtab_ = (Output_section *)0x0;\n  oVar3 = do_size(this);\n  bVar2 = (this->super_Output_data).field_0x1c;\n  if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    (this->super_Output_data).data_size_ = oVar3;\n    (this->super_Output_data).field_0x1c = bVar2 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "off_t oVar3;" type_identifier identifier ;) (expression_statement "puVar1 = &(this->super_Output_data).field_0x1c;" (assignment_expression "puVar1 = &(this->super_Output_data).field_0x1c" identifier = (pointer_expression "&(this->super_Output_data).field_0x1c" & (field_expression "(this->super_Output_data).field_0x1c" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 & 0xe0;" (assignment_expression "*puVar1 = *puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "*(undefined4 *)&(this->super_Output_data).address_ = 0;" (assignment_expression "*(undefined4 *)&(this->super_Output_data).address_ = 0" (pointer_expression "*(undefined4 *)&(this->super_Output_data).address_" * (cast_expression "(undefined4 *)&(this->super_Output_data).address_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_data).address_" & (field_expression "(this->super_Output_data).address_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "(this->super_Output_data)._vptr_Output_data =\n       (_func_int_varargs **)&PTR__Output_file_header_00383bac;" (assignment_expression "(this->super_Output_data)._vptr_Output_data =\n       (_func_int_varargs **)&PTR__Output_file_header_00383bac" (field_expression "(this->super_Output_data)._vptr_Output_data" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Output_file_header_00383bac" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Output_file_header_00383bac" & identifier))) ;) (expression_statement "*(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(this->super_Output_data).address_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(this->super_Output_data).address_ + 4)" * (cast_expression "(undefined4 *)((int)&(this->super_Output_data).address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_data).address_ + 4)" ( (binary_expression "(int)&(this->super_Output_data).address_ + 4" (cast_expression "(int)&(this->super_Output_data).address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_data).address_" & (field_expression "(this->super_Output_data).address_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "this->target_ = target;" (assignment_expression "this->target_ = target" (field_expression "this->target_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&(this->super_Output_data).data_size_ = 0;" (assignment_expression "*(undefined4 *)&(this->super_Output_data).data_size_ = 0" (pointer_expression "*(undefined4 *)&(this->super_Output_data).data_size_" * (cast_expression "(undefined4 *)&(this->super_Output_data).data_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_data).data_size_" & (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "this->symtab_ = symtab;" (assignment_expression "this->symtab_ = symtab" (field_expression "this->symtab_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&(this->super_Output_data).data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_data).data_size_ + 4)" ( (binary_expression "(int)&(this->super_Output_data).data_size_ + 4" (cast_expression "(int)&(this->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_data).data_size_" & (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff;" (assignment_expression "*(undefined4 *)&(this->super_Output_data).offset_ = 0xffffffff" (pointer_expression "*(undefined4 *)&(this->super_Output_data).offset_" * (cast_expression "(undefined4 *)&(this->super_Output_data).offset_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_data).offset_" & (field_expression "(this->super_Output_data).offset_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&(this->super_Output_data).offset_ + 4)" * (cast_expression "(undefined4 *)((int)&(this->super_Output_data).offset_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_data).offset_ + 4)" ( (binary_expression "(int)&(this->super_Output_data).offset_ + 4" (cast_expression "(int)&(this->super_Output_data).offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_data).offset_" & (field_expression "(this->super_Output_data).offset_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "this->segment_header_ = osh;" (assignment_expression "this->segment_header_ = osh" (field_expression "this->segment_header_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->section_header_ = (Output_section_headers *)0x0;" (assignment_expression "this->section_header_ = (Output_section_headers *)0x0" (field_expression "this->section_header_" identifier -> field_identifier) = (cast_expression "(Output_section_headers *)0x0" ( (type_descriptor "Output_section_headers *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->shstrtab_ = (Output_section *)0x0;" (assignment_expression "this->shstrtab_ = (Output_section *)0x0" (field_expression "this->shstrtab_" identifier -> field_identifier) = (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "oVar3 = do_size(this);" (assignment_expression "oVar3 = do_size(this)" identifier = (call_expression "do_size(this)" identifier (argument_list "(this)" ( identifier )))) ;) (expression_statement "bVar2 = (this->super_Output_data).field_0x1c;" (assignment_expression "bVar2 = (this->super_Output_data).field_0x1c" identifier = (field_expression "(this->super_Output_data).field_0x1c" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)) {\n    (this->super_Output_data).data_size_ = oVar3;\n    (this->super_Output_data).field_0x1c = bVar2 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar2 & 2) == 0) && ((bVar2 & 8) == 0))" ( (binary_expression "((bVar2 & 2) == 0) && ((bVar2 & 8) == 0)" (parenthesized_expression "((bVar2 & 2) == 0)" ( (binary_expression "(bVar2 & 2) == 0" (parenthesized_expression "(bVar2 & 2)" ( (binary_expression "bVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar2 & 8) == 0)" ( (binary_expression "(bVar2 & 8) == 0" (parenthesized_expression "(bVar2 & 8)" ( (binary_expression "bVar2 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    (this->super_Output_data).data_size_ = oVar3;\n    (this->super_Output_data).field_0x1c = bVar2 | 2;\n    return;\n  }" { (expression_statement "(this->super_Output_data).data_size_ = oVar3;" (assignment_expression "(this->super_Output_data).data_size_ = oVar3" (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->super_Output_data).field_0x1c = bVar2 | 2;" (assignment_expression "(this->super_Output_data).field_0x1c = bVar2 | 2" (field_expression "(this->super_Output_data).field_0x1c" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (binary_expression "bVar2 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}\n\n" (function_definition "void FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" primitive_type (function_declarator "FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00383bac;" (assignment_expression "*param_1 = &PTR_FUN_00383bac" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00383bac" & identifier)) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = param_3;" (assignment_expression "param_1[9] = param_3" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0xffffffff;" (assignment_expression "param_1[5] = 0xffffffff" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = param_4;" (assignment_expression "param_1[10] = param_4" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar2 = FUN_000edb10(param_1);" (assignment_expression "uVar2 = FUN_000edb10(param_1)" identifier = (call_expression "FUN_000edb10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" identifier = (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(undefined8 *)(param_1 + 3) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 3) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 3)" * (cast_expression "(undefined8 *)(param_1 + 3)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 * IDENT) = (pointer_expression & IDENT)) ;) (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 ]) = LIT) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) })))
(function_definition "void FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" (primitive_type "void") (function_declarator "FUN_000edb90(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000edb90") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;\n  param_1[1] = 0;\n  *param_1 = &PTR_FUN_00383bac;\n  param_1[2] = 0;\n  param_1[8] = param_2;\n  param_1[3] = 0;\n  param_1[9] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0xffffffff;\n  param_1[6] = 0xffffffff;\n  param_1[10] = param_4;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  uVar2 = FUN_000edb10(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 7) & 0xe0" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "0xe0"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00383bac;" (assignment_expression "*param_1 = &PTR_FUN_00383bac" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00383bac" (& "&") (identifier "PTR_FUN_00383bac"))) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[9] = param_3;" (assignment_expression "param_1[9] = param_3" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0xffffffff;" (assignment_expression "param_1[5] = 0xffffffff" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_1[10] = param_4;" (assignment_expression "param_1[10] = param_4" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = FUN_000edb10(param_1);" (assignment_expression "uVar2 = FUN_000edb10(param_1)" (identifier "uVar2") (= "=") (call_expression "FUN_000edb10(param_1)" (identifier "FUN_000edb10") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(undefined8 *)(param_1 + 3) = uVar2;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(undefined8 *)(param_1 + 3) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 3) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 3)" (* "*") (cast_expression "(undefined8 *)(param_1 + 3)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x218,"set_data_size",(int)uVar2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_data_size"" (" """) (string_content "set_data_size") (" """)) (, ",") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void Output_file_header(Output_file_header * this, Target * target,
   Symbol_table * symtab, Output_segment_headers * osh) */

void __thiscall
gold::function_1::function_1
          (function_1 *this,type_1 *target,type_2 *symtab,type_3 *osh)

{
  type_4 *puVar1;
  type_5 var_2;
  type_6 oVar3;
  
  puVar1 = &(this->super_Output_data).field_0x1c;
  *puVar1 = *puVar1 & 0xe0;
  *(type_7 *)&(this->super_Output_data).address_ = 0;
  (this->super_Output_data)._vptr_Output_data =
       (type_8 **)&PTR__Output_file_header_00383bac;
  *(type_7 *)((int)&(this->super_Output_data).address_ + 4) = 0;
  this->target_ = target;
  *(type_7 *)&(this->super_Output_data).data_size_ = 0;
  this->symtab_ = symtab;
  *(type_7 *)((int)&(this->super_Output_data).data_size_ + 4) = 0;
  *(type_7 *)&(this->super_Output_data).offset_ = 0xffffffff;
  *(type_7 *)((int)&(this->super_Output_data).offset_ + 4) = 0xffffffff;
  this->segment_header_ = osh;
  this->section_header_ = (type_9 *)0x0;
  this->shstrtab_ = (type_10 *)0x0;
  oVar3 = var_1(this);
  var_2 = (this->super_Output_data).field_0x1c;
  if (((var_2 & 2) == 0) && ((var_2 & 8) == 0)) {
    (this->super_Output_data).data_size_ = oVar3;
    (this->super_Output_data).field_0x1c = var_2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/output.h",0x218,"set_data_size");
}


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

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

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

{
  byte bVar1;
  undefined8 uVar2;
  
  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) & 0xe0;
  param_1[1] = 0;
  *param_1 = &PTR_FUN_00383bac;
  param_1[2] = 0;
  param_1[8] = param_2;
  param_1[3] = 0;
  param_1[9] = param_3;
  param_1[4] = 0;
  param_1[5] = 0xffffffff;
  param_1[6] = 0xffffffff;
  param_1[10] = param_4;
  param_1[0xb] = 0;
  param_1[0xc] = 0;
  uVar2 = FUN_000edb10(param_1);
  bVar1 = *(byte *)(param_1 + 7);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(undefined8 *)(param_1 + 3) = uVar2;
    *(byte *)(param_1 + 7) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",(int)uVar2);
}

