
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void print(Output_section_element_data * this, FILE * f) */

void __thiscall gold::Output_section_element_data::print(Output_section_element_data *this,FILE *f)

{
  int iVar1;
  char *pcVar2;
  
  iVar1 = this->size_;
  if (iVar1 == 2) {
    pcVar2 = "SHORT";
  }
  else if (iVar1 < 3) {
    if (iVar1 != 1) {
LAB_0016dc88:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");
    }
    pcVar2 = "BYTE";
  }
  else if (iVar1 == 4) {
    pcVar2 = "LONG";
  }
  else {
    if (iVar1 != 8) goto LAB_0016dc88;
    pcVar2 = "SQUAD";
    if (this->is_signed_ == false) {
      pcVar2 = "QUAD";
    }
  }
  fprintf((FILE *)f,"    %s(",pcVar2);
  (*this->val_->_vptr_Expression[2])(this->val_,f);
  fwrite(&DAT_002b3cd1,1,2,(FILE *)f);
  return;
}



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

void FUN_0016dbe0(int param_1,FILE *param_2)

{
  int iVar1;
  char *pcVar2;
  
  iVar1 = *(int *)(param_1 + 4);
  if (iVar1 == 2) {
    pcVar2 = "SHORT";
  }
  else if (iVar1 < 3) {
    if (iVar1 != 1) {
LAB_0016dc88:
                    /* WARNING: Subroutine does not return */
      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);
    }
    pcVar2 = "BYTE";
  }
  else if (iVar1 == 4) {
    pcVar2 = "LONG";
  }
  else {
    if (iVar1 != 8) goto LAB_0016dc88;
    pcVar2 = "SQUAD";
    if (*(char *)(param_1 + 8) == '\0') {
      pcVar2 = "QUAD";
    }
  }
  fprintf(param_2,"    %s(",pcVar2);
  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);
  fwrite(&DAT_002b3cd1,1,2,param_2);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00036f20
ADD EBX,0x241414
MOV ESI,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EDI + 0x4]
CMP EAX,0x2
JZ 0x0016dc70
JLE 0x0016dc50
CMP EAX,0x4
JZ 0x0016dc60
CMP EAX,0x8
JNZ 0x0016dc88
CMP byte ptr [EDI + 0x8],0x0
LEA EAX,[EBX + 0xfff03c8b]
JZ 0x0016dc80
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfff03c9c]
PUSH EAX
PUSH ESI
CALL 0x0002a750
MOV EAX,dword ptr [EDI + 0xc]
POP EDX
POP ECX
MOV EDX,dword ptr [EAX]
PUSH ESI
PUSH EAX
CALL dword ptr [EDX + 0x8]
LEA EAX,[EBX + 0xfff04cd1]
ADD ESP,0x10
PUSH ESI
PUSH 0x2
PUSH 0x1
PUSH EAX
CALL 0x0002a730
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
CMP EAX,0x1
JNZ 0x0016dc88
LEA EAX,[EBX + 0xfff03c86]
JMP 0x0016dc16
LEA EAX,[EBX + 0xfff03c91]
JMP 0x0016dc16
LEA EAX,[EBX + 0xfff03c96]
JMP 0x0016dc16
LEA EAX,[EBX + 0xfff03c8c]
JMP 0x0016dc16
LEA EAX,[EBX + 0xfff04604]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff03c13]
PUSH 0x4ca
PUSH EAX
CALL 0x0007d010
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0016dbe0(int param_1,FILE *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}\n\n" comment (function_definition "void FUN_0016dbe0(int param_1,FILE *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0016dbe0(int param_1,FILE *param_2)" identifier (parameter_list "(int param_1,FILE *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (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) ))))) ;) (if_statement "if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "SHORT";\n  }" { (expression_statement "pcVar2 = "SHORT";" (assignment_expression "pcVar2 = "SHORT"" identifier = (string_literal ""SHORT"" " string_content ")) ;) }) (else_clause "else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 < 3)" ( (binary_expression "iVar1 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }" { (if_statement "if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" { (labeled_statement "LAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" statement_identifier : comment (expression_statement "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" (call_expression "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2)" identifier (argument_list "("../../gold/script-sections.cc",0x4ca,"print",param_2)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") , identifier ))) ;)) })) (expression_statement "pcVar2 = "BYTE";" (assignment_expression "pcVar2 = "BYTE"" identifier = (string_literal ""BYTE"" " string_content ")) ;) }) (else_clause "else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "LONG";\n  }" { (expression_statement "pcVar2 = "LONG";" (assignment_expression "pcVar2 = "LONG"" identifier = (string_literal ""LONG"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (compound_statement "{\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" { (if_statement "if (iVar1 != 8) goto LAB_0016dc88;" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0016dc88;" goto statement_identifier ;)) (expression_statement "pcVar2 = "SQUAD";" (assignment_expression "pcVar2 = "SQUAD"" identifier = (string_literal ""SQUAD"" " string_content ")) ;) (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar2 = "QUAD";\n    }" { (expression_statement "pcVar2 = "QUAD";" (assignment_expression "pcVar2 = "QUAD"" identifier = (string_literal ""QUAD"" " string_content ")) ;) })) }))))))) (expression_statement "fprintf(param_2,"    %s(",pcVar2);" (call_expression "fprintf(param_2,"    %s(",pcVar2)" identifier (argument_list "(param_2,"    %s(",pcVar2)" ( identifier , (string_literal ""    %s("" " string_content ") , identifier ))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0xc) + 8)" ( (binary_expression "**(int **)(param_1 + 0xc) + 8" (pointer_expression "**(int **)(param_1 + 0xc)" * (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0xc),param_2)" ( (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "fwrite(&DAT_002b3cd1,1,2,param_2);" (call_expression "fwrite(&DAT_002b3cd1,1,2,param_2)" identifier (argument_list "(&DAT_002b3cd1,1,2,param_2)" ( (pointer_expression "&DAT_002b3cd1" & identifier) , number_literal , number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void print(Output_section_element_data * this, FILE * f) */\n\nvoid __thiscall gold::Output_section_element_data::print(Output_section_element_data *this,FILE *f)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = this->size_;\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf((FILE *)f,"    %s(",pcVar2);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  fwrite(&DAT_002b3cd1,1,2,(FILE *)f);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Output_section_element_data::print(Output_section_element_data *this,FILE *f)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = this->size_;\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf((FILE *)f,"    %s(",pcVar2);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  fwrite(&DAT_002b3cd1,1,2,(FILE *)f);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_element_data::" identifier : : identifier : :) (function_declarator "print(Output_section_element_data *this,FILE *f)" identifier (parameter_list "(Output_section_element_data *this,FILE *f)" ( (parameter_declaration "Output_section_element_data *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "FILE *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = this->size_;\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf((FILE *)f,"    %s(",pcVar2);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  fwrite(&DAT_002b3cd1,1,2,(FILE *)f);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "iVar1 = this->size_;" (assignment_expression "iVar1 = this->size_" identifier = (field_expression "this->size_" identifier -> field_identifier)) ;) (if_statement "if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "SHORT";\n  }" { (expression_statement "pcVar2 = "SHORT";" (assignment_expression "pcVar2 = "SHORT"" identifier = (string_literal ""SHORT"" " string_content ")) ;) }) (else_clause "else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 < 3)" ( (binary_expression "iVar1 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }\n    pcVar2 = "BYTE";\n  }" { (if_statement "if (iVar1 != 1) {\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");\n    }" { (labeled_statement "LAB_0016dc88:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");" statement_identifier : comment (expression_statement "do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print");" (call_expression "do_gold_unreachable("../../gold/script-sections.cc",0x4ca,"print")" identifier (argument_list "("../../gold/script-sections.cc",0x4ca,"print")" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") ))) ;)) })) (expression_statement "pcVar2 = "BYTE";" (assignment_expression "pcVar2 = "BYTE"" identifier = (string_literal ""BYTE"" " string_content ")) ;) }) (else_clause "else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "LONG";\n  }" { (expression_statement "pcVar2 = "LONG";" (assignment_expression "pcVar2 = "LONG"" identifier = (string_literal ""LONG"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" else (compound_statement "{\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }\n  }" { (if_statement "if (iVar1 != 8) goto LAB_0016dc88;" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0016dc88;" goto statement_identifier ;)) (expression_statement "pcVar2 = "SQUAD";" (assignment_expression "pcVar2 = "SQUAD"" identifier = (string_literal ""SQUAD"" " string_content ")) ;) (if_statement "if (this->is_signed_ == false) {\n      pcVar2 = "QUAD";\n    }" if (parenthesized_expression "(this->is_signed_ == false)" ( (binary_expression "this->is_signed_ == false" (field_expression "this->is_signed_" identifier -> field_identifier) == false) )) (compound_statement "{\n      pcVar2 = "QUAD";\n    }" { (expression_statement "pcVar2 = "QUAD";" (assignment_expression "pcVar2 = "QUAD"" identifier = (string_literal ""QUAD"" " string_content ")) ;) })) }))))))) (expression_statement "fprintf((FILE *)f,"    %s(",pcVar2);" (call_expression "fprintf((FILE *)f,"    %s(",pcVar2)" identifier (argument_list "((FILE *)f,"    %s(",pcVar2)" ( (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""    %s("" " string_content ") , identifier ))) ;) (expression_statement "(*this->val_->_vptr_Expression[2])(this->val_,f);" (call_expression "(*this->val_->_vptr_Expression[2])(this->val_,f)" (parenthesized_expression "(*this->val_->_vptr_Expression[2])" ( (pointer_expression "*this->val_->_vptr_Expression[2]" * (subscript_expression "this->val_->_vptr_Expression[2]" (field_expression "this->val_->_vptr_Expression" (field_expression "this->val_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) )) (argument_list "(this->val_,f)" ( (field_expression "this->val_" identifier -> field_identifier) , identifier ))) ;) (expression_statement "fwrite(&DAT_002b3cd1,1,2,(FILE *)f);" (call_expression "fwrite(&DAT_002b3cd1,1,2,(FILE *)f)" identifier (argument_list "(&DAT_002b3cd1,1,2,(FILE *)f)" ( (pointer_expression "&DAT_002b3cd1" & identifier) , number_literal , number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0016dbe0(int param_1,FILE *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0016dbe0(int param_1,FILE *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0016dbe0(int param_1,FILE *param_2)" identifier (parameter_list "(int param_1,FILE *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (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) ))))) ;) (if_statement "if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "SHORT";\n  }" { (expression_statement "pcVar2 = "SHORT";" (assignment_expression "pcVar2 = "SHORT"" identifier = (string_literal ""SHORT"" " string_content ")) ;) }) (else_clause "else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 < 3)" ( (binary_expression "iVar1 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }" { (if_statement "if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" { (labeled_statement "LAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" statement_identifier : (expression_statement "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" (call_expression "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2)" identifier (argument_list "("../../gold/script-sections.cc",0x4ca,"print",param_2)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") , identifier ))) ;)) })) (expression_statement "pcVar2 = "BYTE";" (assignment_expression "pcVar2 = "BYTE"" identifier = (string_literal ""BYTE"" " string_content ")) ;) }) (else_clause "else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (if_statement "if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" if (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "LONG";\n  }" { (expression_statement "pcVar2 = "LONG";" (assignment_expression "pcVar2 = "LONG"" identifier = (string_literal ""LONG"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" else (compound_statement "{\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" { (if_statement "if (iVar1 != 8) goto LAB_0016dc88;" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0016dc88;" goto statement_identifier ;)) (expression_statement "pcVar2 = "SQUAD";" (assignment_expression "pcVar2 = "SQUAD"" identifier = (string_literal ""SQUAD"" " string_content ")) ;) (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar2 = "QUAD";\n    }" { (expression_statement "pcVar2 = "QUAD";" (assignment_expression "pcVar2 = "QUAD"" identifier = (string_literal ""QUAD"" " string_content ")) ;) })) }))))))) (expression_statement "fprintf(param_2,"    %s(",pcVar2);" (call_expression "fprintf(param_2,"    %s(",pcVar2)" identifier (argument_list "(param_2,"    %s(",pcVar2)" ( identifier , (string_literal ""    %s("" " string_content ") , identifier ))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0xc) + 8)" ( (binary_expression "**(int **)(param_1 + 0xc) + 8" (pointer_expression "**(int **)(param_1 + 0xc)" * (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0xc),param_2)" ( (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "fwrite(&DAT_002b3cd1,1,2,param_2);" (call_expression "fwrite(&DAT_002b3cd1,1,2,param_2)" identifier (argument_list "(&DAT_002b3cd1,1,2,param_2)" ( (pointer_expression "&DAT_002b3cd1" & identifier) , number_literal , number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (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 { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) }))))))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0016dbe0(int param_1,FILE *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0016dbe0(int param_1,FILE *param_2)" (identifier "FUN_0016dbe0") (parameter_list "(int param_1,FILE *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "FILE *param_2" (type_identifier "FILE") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }\n  fprintf(param_2,"    %s(",pcVar2);\n  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);\n  fwrite(&DAT_002b3cd1,1,2,param_2);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 2) {\n    pcVar2 = "SHORT";\n  }\n  else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    pcVar2 = "SHORT";\n  }" ({ "{") (expression_statement "pcVar2 = "SHORT";" (assignment_expression "pcVar2 = "SHORT"" (identifier "pcVar2") (= "=") (string_literal ""SHORT"" (" """) (string_content "SHORT") (" """))) (; ";")) (} "}")) (else_clause "else if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (else "else") (if_statement "if (iVar1 < 3) {\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }\n  else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 < 3)" (( "(") (binary_expression "iVar1 < 3" (identifier "iVar1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }\n    pcVar2 = "BYTE";\n  }" ({ "{") (if_statement "if (iVar1 != 1) {\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" (if "if") (parenthesized_expression "(iVar1 != 1)" (( "(") (binary_expression "iVar1 != 1" (identifier "iVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\nLAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);\n    }" ({ "{") (labeled_statement "LAB_0016dc88:\n                    \n      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" (statement_identifier "LAB_0016dc88") (: ":") (expression_statement "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);" (call_expression "FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2)" (identifier "FUN_0007d010") (argument_list "("../../gold/script-sections.cc",0x4ca,"print",param_2)" (( "(") (string_literal ""../../gold/script-sections.cc"" (" """) (string_content "../../gold/script-sections.cc") (" """)) (, ",") (number_literal "0x4ca") (, ",") (string_literal ""print"" (" """) (string_content "print") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";"))) (} "}"))) (expression_statement "pcVar2 = "BYTE";" (assignment_expression "pcVar2 = "BYTE"" (identifier "pcVar2") (= "=") (string_literal ""BYTE"" (" """) (string_content "BYTE") (" """))) (; ";")) (} "}")) (else_clause "else if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (else "else") (if_statement "if (iVar1 == 4) {\n    pcVar2 = "LONG";\n  }\n  else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 4)" (( "(") (binary_expression "iVar1 == 4" (identifier "iVar1") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    pcVar2 = "LONG";\n  }" ({ "{") (expression_statement "pcVar2 = "LONG";" (assignment_expression "pcVar2 = "LONG"" (identifier "pcVar2") (= "=") (string_literal ""LONG"" (" """) (string_content "LONG") (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" (else "else") (compound_statement "{\n    if (iVar1 != 8) goto LAB_0016dc88;\n    pcVar2 = "SQUAD";\n    if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }\n  }" ({ "{") (if_statement "if (iVar1 != 8) goto LAB_0016dc88;" (if "if") (parenthesized_expression "(iVar1 != 8)" (( "(") (binary_expression "iVar1 != 8" (identifier "iVar1") (!= "!=") (number_literal "8")) () ")")) (goto_statement "goto LAB_0016dc88;" (goto "goto") (statement_identifier "LAB_0016dc88") (; ";"))) (expression_statement "pcVar2 = "SQUAD";" (assignment_expression "pcVar2 = "SQUAD"" (identifier "pcVar2") (= "=") (string_literal ""SQUAD"" (" """) (string_content "SQUAD") (" """))) (; ";")) (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      pcVar2 = "QUAD";\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" (* "*") (cast_expression "(char *)(param_1 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar2 = "QUAD";\n    }" ({ "{") (expression_statement "pcVar2 = "QUAD";" (assignment_expression "pcVar2 = "QUAD"" (identifier "pcVar2") (= "=") (string_literal ""QUAD"" (" """) (string_content "QUAD") (" """))) (; ";")) (} "}"))) (} "}")))))))) (expression_statement "fprintf(param_2,"    %s(",pcVar2);" (call_expression "fprintf(param_2,"    %s(",pcVar2)" (identifier "fprintf") (argument_list "(param_2,"    %s(",pcVar2)" (( "(") (identifier "param_2") (, ",") (string_literal ""    %s("" (" """) (string_content "    %s(") (" """)) (, ",") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 8))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 8)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 8)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0xc) + 8)" (( "(") (binary_expression "**(int **)(param_1 + 0xc) + 8" (pointer_expression "**(int **)(param_1 + 0xc)" (* "*") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 0xc),param_2)" (( "(") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "fwrite(&DAT_002b3cd1,1,2,param_2);" (call_expression "fwrite(&DAT_002b3cd1,1,2,param_2)" (identifier "fwrite") (argument_list "(&DAT_002b3cd1,1,2,param_2)" (( "(") (pointer_expression "&DAT_002b3cd1" (& "&") (identifier "DAT_002b3cd1")) (, ",") (number_literal "1") (, ",") (number_literal "2") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void print(Output_section_element_data * this, FILE * f) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *f)

{
  int var_1;
  char *pcVar2;
  
  var_1 = this->size_;
  if (var_1 == 2) {
    pcVar2 = "SHORT";
  }
  else if (var_1 < 3) {
    if (var_1 != 1) {
LAB_0016dc88:
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/script-sections.cc",0x4ca,"print");
    }
    pcVar2 = "BYTE";
  }
  else if (var_1 == 4) {
    pcVar2 = "LONG";
  }
  else {
    if (var_1 != 8) goto LAB_0016dc88;
    pcVar2 = "SQUAD";
    if (this->is_signed_ == false) {
      pcVar2 = "QUAD";
    }
  }
  var_3((type_2 *)f,"    %s(",pcVar2);
  (*this->val_->_vptr_Expression[2])(this->val_,f);
  var_4(&DAT_002b3cd1,1,2,(type_2 *)f);
  return;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (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 (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier)))) (return_statement))))

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

void MASKED(int param_1,FILE *param_2)

{
  int iVar1;
  char *pcVar2;
  
  iVar1 = *(int *)(param_1 + 4);
  if (iVar1 == 2) {
    pcVar2 = "SHORT";
  }
  else if (iVar1 < 3) {
    if (iVar1 != 1) {
LAB_0016dc88:
                    /* WARNING: Subroutine does not return */
      FUN_0007d010("../../gold/script-sections.cc",0x4ca,"print",param_2);
    }
    pcVar2 = "BYTE";
  }
  else if (iVar1 == 4) {
    pcVar2 = "LONG";
  }
  else {
    if (iVar1 != 8) goto LAB_0016dc88;
    pcVar2 = "SQUAD";
    if (*(char *)(param_1 + 8) == '\0') {
      pcVar2 = "QUAD";
    }
  }
  fprintf(param_2,"    %s(",pcVar2);
  (**(code **)(**(int **)(param_1 + 0xc) + 8))(*(int **)(param_1 + 0xc),param_2);
  fwrite(&DAT_002b3cd1,1,2,param_2);
  return;
}

