
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: bool keep_input_section(Layout * this, Relobj * relobj, char * name) */

bool __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *relobj,char *name)

{
  int iVar1;
  Section_type script_section_type;
  Output_section **output_section_slot;
  bool keep;
  
  if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {
    if (relobj != (Relobj *)0x0) {
      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;
    }
    iVar1 = (*(code *)PTR_output_section_name_00432e54)
                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,
                       &script_section_type,&keep,1);
    if ((iVar1 == 0) || (keep == false)) {
      keep = false;
    }
    return keep;
  }
  return false;
}



/* gold::Layout::keep_input_section(gold::Relobj const*, char const*) */

char __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)

{
  int iVar1;
  undefined1 auStack_18 [4];
  undefined1 auStack_14 [4];
  char local_10 [12];
  
  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {
    if (param_1 != (Relobj *)0x0) {
      param_1 = *(Relobj **)(param_1 + 4);
    }
    iVar1 = (*(code *)PTR_output_section_name_00432e54)
                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);
    if ((iVar1 == 0) || (local_10[0] == '\0')) {
      local_10[0] = '\0';
    }
    return local_10[0];
  }
  return '\0';
}


lui gp,0x32
addiu gp,gp,-0x3a98
addu gp,gp,t9
lw a0,0x4(a0)
lbu v0,0xac(a0)
beq v0,zero,0x0011dce0
_nop
addiu sp,sp,-0x40
sw gp,0x20(sp)
sw ra,0x3c(sp)
beq a1,zero,0x0011dc9c
_addiu a0,a0,0xac
lw a1,0x4(a1)
li v0,0x1
lw t9,-0x737c(gp)
addiu a3,sp,0x2c
sw v0,0x18(sp)
addiu v0,sp,0x30
sw v0,0x14(sp)
addiu v0,sp,0x28
jalr t9
_sw v0,0x10(sp)
beq v0,zero,0x0011dcd0
_lbu v0,0x30(sp)
bne v0,zero,0x0011dcd8
_lw ra,0x3c(sp)
or v0,zero,zero
lw ra,0x3c(sp)
jr ra
_addiu sp,sp,0x40
jr ra
_or v0,zero,zero
(translation_unit "/* gold::Layout::keep_input_section(gold::Relobj const*, char const*) */\n\nchar __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}\n\n" comment (function_definition "char __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "keep_input_section(Layout *this,Relobj *param_1,char *param_2)" identifier (parameter_list "(Layout *this,Relobj *param_1,char *param_2)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auStack_18 [4];" type_identifier (array_declarator "auStack_18 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_14 [4];" type_identifier (array_declarator "auStack_14 [4]" identifier [ number_literal ]) ;) (declaration "char local_10 [12];" primitive_type (array_declarator "local_10 [12]" identifier [ number_literal ]) ;) (if_statement "if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" if (parenthesized_expression "(*(char *)(*(int *)(this + 4) + 0xac) != '\0')" ( (binary_expression "*(char *)(*(int *)(this + 4) + 0xac) != '\0'" (pointer_expression "*(char *)(*(int *)(this + 4) + 0xac)" * (cast_expression "(char *)(*(int *)(this + 4) + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 4) + 0xac)" ( (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" { (if_statement "if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" if (parenthesized_expression "(param_1 != (Relobj *)0x0)" ( (binary_expression "param_1 != (Relobj *)0x0" identifier != (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" { (expression_statement "param_1 = *(Relobj **)(param_1 + 4);" (assignment_expression "param_1 = *(Relobj **)(param_1 + 4)" identifier = (pointer_expression "*(Relobj **)(param_1 + 4)" * (cast_expression "(Relobj **)(param_1 + 4)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);" (assignment_expression "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" identifier = (call_expression "(*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" (parenthesized_expression "(*(code *)PTR_output_section_name_00432e54)" ( (pointer_expression "*(code *)PTR_output_section_name_00432e54" * (cast_expression "(code *)PTR_output_section_name_00432e54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" ( (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }" if (parenthesized_expression "((iVar1 == 0) || (local_10[0] == '\0'))" ( (binary_expression "(iVar1 == 0) || (local_10[0] == '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_10[0] == '\0')" ( (binary_expression "local_10[0] == '\0'" (subscript_expression "local_10[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      local_10[0] = '\0';\n    }" { (expression_statement "local_10[0] = '\0';" (assignment_expression "local_10[0] = '\0'" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return local_10[0];" return (subscript_expression "local_10[0]" identifier [ number_literal ]) ;) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: bool keep_input_section(Layout * this, Relobj * relobj, char * name) */\n\nbool __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *relobj,char *name)\n\n{\n  int iVar1;\n  Section_type script_section_type;\n  Output_section **output_section_slot;\n  bool keep;\n  \n  if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {\n    if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);\n    if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }\n    return keep;\n  }\n  return false;\n}\n\n" comment comment comment comment comment comment comment (function_definition "bool __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *relobj,char *name)\n\n{\n  int iVar1;\n  Section_type script_section_type;\n  Output_section **output_section_slot;\n  bool keep;\n  \n  if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {\n    if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);\n    if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }\n    return keep;\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "keep_input_section(Layout *this,Relobj *relobj,char *name)" identifier (parameter_list "(Layout *this,Relobj *relobj,char *name)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *relobj" type_identifier (pointer_declarator "*relobj" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  Section_type script_section_type;\n  Output_section **output_section_slot;\n  bool keep;\n  \n  if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {\n    if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);\n    if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }\n    return keep;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Section_type script_section_type;" type_identifier identifier ;) (declaration "Output_section **output_section_slot;" type_identifier (pointer_declarator "**output_section_slot" * (pointer_declarator "*output_section_slot" * identifier)) ;) (declaration "bool keep;" primitive_type identifier ;) (if_statement "if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {\n    if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);\n    if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }\n    return keep;\n  }" if (parenthesized_expression "((this->script_options_->script_sections_).saw_sections_clause_ != false)" ( (binary_expression "(this->script_options_->script_sections_).saw_sections_clause_ != false" (field_expression "(this->script_options_->script_sections_).saw_sections_clause_" (parenthesized_expression "(this->script_options_->script_sections_)" ( (field_expression "this->script_options_->script_sections_" (field_expression "this->script_options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n    if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);\n    if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }\n    return keep;\n  }" { (if_statement "if (relobj != (Relobj *)0x0) {\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }" if (parenthesized_expression "(relobj != (Relobj *)0x0)" ( (binary_expression "relobj != (Relobj *)0x0" identifier != (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;\n    }" { (expression_statement "relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p;" (assignment_expression "relobj = (Relobj *)(relobj->super_Object).name_._M_dataplus._M_p" identifier = (cast_expression "(Relobj *)(relobj->super_Object).name_._M_dataplus._M_p" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(relobj->super_Object).name_._M_dataplus._M_p" (field_expression "(relobj->super_Object).name_._M_dataplus" (field_expression "(relobj->super_Object).name_" (parenthesized_expression "(relobj->super_Object)" ( (field_expression "relobj->super_Object" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1);" (assignment_expression "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1)" identifier = (call_expression "(*(code *)PTR_output_section_name_00432e54)\n                      (&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1)" (parenthesized_expression "(*(code *)PTR_output_section_name_00432e54)" ( (pointer_expression "*(code *)PTR_output_section_name_00432e54" * (cast_expression "(code *)PTR_output_section_name_00432e54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&this->script_options_->script_sections_,relobj,name,&output_section_slot,\n                       &script_section_type,&keep,1)" ( (pointer_expression "&this->script_options_->script_sections_" & (field_expression "this->script_options_->script_sections_" (field_expression "this->script_options_" identifier -> field_identifier) -> field_identifier)) , identifier , identifier , (pointer_expression "&output_section_slot" & identifier) , (pointer_expression "&script_section_type" & identifier) , (pointer_expression "&keep" & identifier) , number_literal )))) ;) (if_statement "if ((iVar1 == 0) || (keep == false)) {\n      keep = false;\n    }" if (parenthesized_expression "((iVar1 == 0) || (keep == false))" ( (binary_expression "(iVar1 == 0) || (keep == false)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(keep == false)" ( (binary_expression "keep == false" identifier == false) ))) )) (compound_statement "{\n      keep = false;\n    }" { (expression_statement "keep = false;" (assignment_expression "keep = false" identifier = false) ;) })) (return_statement "return keep;" return identifier ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "char __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}\n\n" (function_definition "char __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "keep_input_section(Layout *this,Relobj *param_1,char *param_2)" identifier (parameter_list "(Layout *this,Relobj *param_1,char *param_2)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auStack_18 [4];" type_identifier (array_declarator "auStack_18 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_14 [4];" type_identifier (array_declarator "auStack_14 [4]" identifier [ number_literal ]) ;) (declaration "char local_10 [12];" primitive_type (array_declarator "local_10 [12]" identifier [ number_literal ]) ;) (if_statement "if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" if (parenthesized_expression "(*(char *)(*(int *)(this + 4) + 0xac) != '\0')" ( (binary_expression "*(char *)(*(int *)(this + 4) + 0xac) != '\0'" (pointer_expression "*(char *)(*(int *)(this + 4) + 0xac)" * (cast_expression "(char *)(*(int *)(this + 4) + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 4) + 0xac)" ( (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" { (if_statement "if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" if (parenthesized_expression "(param_1 != (Relobj *)0x0)" ( (binary_expression "param_1 != (Relobj *)0x0" identifier != (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" { (expression_statement "param_1 = *(Relobj **)(param_1 + 4);" (assignment_expression "param_1 = *(Relobj **)(param_1 + 4)" identifier = (pointer_expression "*(Relobj **)(param_1 + 4)" * (cast_expression "(Relobj **)(param_1 + 4)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);" (assignment_expression "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" identifier = (call_expression "(*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" (parenthesized_expression "(*(code *)PTR_output_section_name_00432e54)" ( (pointer_expression "*(code *)PTR_output_section_name_00432e54" * (cast_expression "(code *)PTR_output_section_name_00432e54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" ( (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }" if (parenthesized_expression "((iVar1 == 0) || (local_10[0] == '\0'))" ( (binary_expression "(iVar1 == 0) || (local_10[0] == '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_10[0] == '\0')" ( (binary_expression "local_10[0] == '\0'" (subscript_expression "local_10[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      local_10[0] = '\0';\n    }" { (expression_statement "local_10[0] = '\0';" (assignment_expression "local_10[0] = '\0'" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return local_10[0];" return (subscript_expression "local_10[0]" identifier [ number_literal ]) ;) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT , IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) })) (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (return_statement return (char_literal ' escape_sequence ') ;) })))
(function_definition "char __thiscall gold::Layout::keep_input_section(Layout *this,Relobj *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" (primitive_type "char") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Layout::" (identifier "gold") (: ":") (: ":") (identifier "Layout") (: ":") (: ":")) (function_declarator "keep_input_section(Layout *this,Relobj *param_1,char *param_2)" (identifier "keep_input_section") (parameter_list "(Layout *this,Relobj *param_1,char *param_2)" (( "(") (parameter_declaration "Layout *this" (type_identifier "Layout") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "Relobj *param_1" (type_identifier "Relobj") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_18 [4];\n  undefined1 auStack_14 [4];\n  char local_10 [12];\n  \n  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }\n  return '\0';\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 auStack_18 [4];" (type_identifier "undefined1") (array_declarator "auStack_18 [4]" (identifier "auStack_18") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 auStack_14 [4];" (type_identifier "undefined1") (array_declarator "auStack_14 [4]" (identifier "auStack_14") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "char local_10 [12];" (primitive_type "char") (array_declarator "local_10 [12]" (identifier "local_10") ([ "[") (number_literal "12") (] "]")) (; ";")) (if_statement "if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(this + 4) + 0xac) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(this + 4) + 0xac) != '\0'" (pointer_expression "*(char *)(*(int *)(this + 4) + 0xac)" (* "*") (cast_expression "(char *)(*(int *)(this + 4) + 0xac)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(this + 4) + 0xac)" (( "(") (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xac")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }\n    iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);\n    if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }\n    return local_10[0];\n  }" ({ "{") (if_statement "if (param_1 != (Relobj *)0x0) {\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" (if "if") (parenthesized_expression "(param_1 != (Relobj *)0x0)" (( "(") (binary_expression "param_1 != (Relobj *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(Relobj *)0x0" (( "(") (type_descriptor "Relobj *" (type_identifier "Relobj") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      param_1 = *(Relobj **)(param_1 + 4);\n    }" ({ "{") (expression_statement "param_1 = *(Relobj **)(param_1 + 4);" (assignment_expression "param_1 = *(Relobj **)(param_1 + 4)" (identifier "param_1") (= "=") (pointer_expression "*(Relobj **)(param_1 + 4)" (* "*") (cast_expression "(Relobj **)(param_1 + 4)" (( "(") (type_descriptor "Relobj **" (type_identifier "Relobj") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);" (assignment_expression "iVar1 = (*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_output_section_name_00432e54)\n                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" (parenthesized_expression "(*(code *)PTR_output_section_name_00432e54)" (( "(") (pointer_expression "*(code *)PTR_output_section_name_00432e54" (* "*") (cast_expression "(code *)PTR_output_section_name_00432e54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_output_section_name_00432e54"))) () ")")) (argument_list "(*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1)" (( "(") (binary_expression "*(int *)(this + 4) + 0xac" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xac")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "auStack_14") (, ",") (identifier "auStack_18") (, ",") (identifier "local_10") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) || (local_10[0] == '\0')) {\n      local_10[0] = '\0';\n    }" (if "if") (parenthesized_expression "((iVar1 == 0) || (local_10[0] == '\0'))" (( "(") (binary_expression "(iVar1 == 0) || (local_10[0] == '\0')" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_10[0] == '\0')" (( "(") (binary_expression "local_10[0] == '\0'" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      local_10[0] = '\0';\n    }" ({ "{") (expression_statement "local_10[0] = '\0';" (assignment_expression "local_10[0] = '\0'" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (return_statement "return local_10[0];" (return "return") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}"))) (return_statement "return '\0';" (return "return") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: bool keep_input_section(Layout * this, Relobj * relobj, char * name) */

bool __thiscall gold::type_1::function_1(type_1 *this,type_2 *var_1,char *name)

{
  int var_2;
  type_3 script_section_type;
  type_4 **output_section_slot;
  bool var_3;
  
  if ((this->script_options_->script_sections_).saw_sections_clause_ != false) {
    if (var_1 != (type_2 *)0x0) {
      var_1 = (type_2 *)(var_1->super_Object).name_._M_dataplus._M_p;
    }
    var_2 = (*(type_5 *)PTR_output_section_name_00432e54)
                      (&this->script_options_->script_sections_,var_1,name,&output_section_slot,
                       &script_section_type,&var_3,1);
    if ((var_2 == 0) || (var_3 == false)) {
      var_3 = false;
    }
    return var_3;
  }
  return false;
}


(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (identifier) (identifier) (identifier) (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) (return_statement (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement (char_literal (escape_sequence))))))

/* gold::Layout::MASKED(gold::Relobj const*, char const*) */

char __thiscall gold::Layout::MASKED(Layout *this,Relobj *param_1,char *param_2)

{
  int iVar1;
  undefined1 auStack_18 [4];
  undefined1 auStack_14 [4];
  char local_10 [12];
  
  if (*(char *)(*(int *)(this + 4) + 0xac) != '\0') {
    if (param_1 != (Relobj *)0x0) {
      param_1 = *(Relobj **)(param_1 + 4);
    }
    iVar1 = (*(code *)PTR_output_section_name_00432e54)
                      (*(int *)(this + 4) + 0xac,param_1,param_2,auStack_14,auStack_18,local_10,1);
    if ((iVar1 == 0) || (local_10[0] == '\0')) {
      local_10[0] = '\0';
    }
    return local_10[0];
  }
  return '\0';
}

