
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: char * string_attribute(Dwarf_die * this, uint attr) */

char * __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint attr)

{
  Attribute_value *pAVar1;
  char *pcVar2;
  undefined4 in_stack_ffffffec;
  
  pAVar1 = attribute(this,attr);
  if (pAVar1 != (Attribute_value *)0x0) {
    if (pAVar1->form == 8) {
      return (pAVar1->val).stringval;
    }
    if (pAVar1->form == 0xe) {
      pcVar2 = Dwarf_info_reader::get_string
                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);
      return pcVar2;
    }
    pAVar1 = (Attribute_value *)0x0;
  }
  return (char *)pAVar1;
}



/* gold::Dwarf_die::string_attribute(unsigned int) */

int __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)

{
  int iVar1;
  undefined4 in_stack_ffffffec;
  
  iVar1 = attribute(this,param_1);
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 4) == 8) {
      return *(int *)(iVar1 + 8);
    }
    if (*(int *)(iVar1 + 4) == 0xe) {
      iVar1 = Dwarf_info_reader::get_string
                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);
      return iVar1;
    }
    iVar1 = 0;
  }
  return iVar1;
}


lui gp,0x1e
addiu gp,gp,0x5220
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x6898(gp)
sw gp,0x18(sp)
sw s0,0x20(sp)
sw ra,0x24(sp)
bal 0x002e3f68
_or s0,a0,zero
beq v0,zero,0x002e406c
_lw gp,0x18(sp)
lw v1,0x4(v0)
li a0,0x8
beq v1,a0,0x002e40a4
_li a0,0xe
beq v1,a0,0x002e407c
_lw t9,-0x689c(gp)
or v0,zero,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw a3,0xc(v0)
lw a2,0x8(v0)
lw v0,0x10(v0)
lw a0,0x0(s0)
bal 0x002e2000
_sw v0,0x10(sp)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw v0,0x8(v0)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "/* gold::Dwarf_die::string_attribute(unsigned int) */\n\nint __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)\n\n{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)\n\n{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "string_attribute(Dwarf_die *this,uint param_1)" identifier (parameter_list "(Dwarf_die *this,uint param_1)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (expression_statement "iVar1 = attribute(this,param_1);" (assignment_expression "iVar1 = attribute(this,param_1)" identifier = (call_expression "attribute(this,param_1)" identifier (argument_list "(this,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" { (if_statement "if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) == 8)" ( (binary_expression "*(int *)(iVar1 + 4) == 8" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      return *(int *)(iVar1 + 8);\n    }" { (return_statement "return *(int *)(iVar1 + 8);" return (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ;) })) (if_statement "if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) == 0xe)" ( (binary_expression "*(int *)(iVar1 + 4) == 0xe" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" { (ERROR "iVar1 = Dwarf_info_reader::" (assignment_expression "iVar1 = Dwarf_info_reader" identifier = identifier) : :) (expression_statement "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);" (call_expression "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" identifier (argument_list "(CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" ( (call_expression "CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier ))) , (pointer_expression "*(uint *)this" * (cast_expression "(uint *)this" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: char * string_attribute(Dwarf_die * this, uint attr) */\n\nchar * __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint attr)\n\n{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 in_stack_ffffffec;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }\n  return (char *)pAVar1;\n}\n\n" comment comment comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Dwarf_die::string_attribute(Dwarf_die *this,uint attr)\n\n{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 in_stack_ffffffec;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }\n  return (char *)pAVar1;\n}" statement_identifier : (ERROR ":" :) (labeled_statement "Dwarf_die::string_attribute(Dwarf_die *this,uint attr)\n\n{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 in_stack_ffffffec;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }\n  return (char *)pAVar1;\n}" statement_identifier : (ERROR ":string_attribute(Dwarf_die *this,uint attr)" : (call_expression "string_attribute(Dwarf_die *this,uint attr)" identifier (argument_list "(Dwarf_die *this,uint attr)" ( (binary_expression "Dwarf_die *this" identifier * identifier) , identifier (ERROR "attr" identifier) )))) (compound_statement "{\n  Attribute_value *pAVar1;\n  char *pcVar2;\n  undefined4 in_stack_ffffffec;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }\n  return (char *)pAVar1;\n}" { (declaration "Attribute_value *pAVar1;" type_identifier (pointer_declarator "*pAVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (expression_statement "pAVar1 = attribute(this,attr);" (assignment_expression "pAVar1 = attribute(this,attr)" identifier = (call_expression "attribute(this,attr)" identifier (argument_list "(this,attr)" ( identifier , identifier )))) ;) (if_statement "if (pAVar1 != (Attribute_value *)0x0) {\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }" if (parenthesized_expression "(pAVar1 != (Attribute_value *)0x0)" ( (binary_expression "pAVar1 != (Attribute_value *)0x0" identifier != (cast_expression "(Attribute_value *)0x0" ( (type_descriptor "Attribute_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }\n    if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }\n    pAVar1 = (Attribute_value *)0x0;\n  }" { (if_statement "if (pAVar1->form == 8) {\n      return (pAVar1->val).stringval;\n    }" if (parenthesized_expression "(pAVar1->form == 8)" ( (binary_expression "pAVar1->form == 8" (field_expression "pAVar1->form" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      return (pAVar1->val).stringval;\n    }" { (return_statement "return (pAVar1->val).stringval;" return (field_expression "(pAVar1->val).stringval" (parenthesized_expression "(pAVar1->val)" ( (field_expression "pAVar1->val" identifier -> field_identifier) )) . field_identifier) ;) })) (if_statement "if (pAVar1->form == 0xe) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }" if (parenthesized_expression "(pAVar1->form == 0xe)" ( (binary_expression "pAVar1->form == 0xe" (field_expression "pAVar1->form" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);\n      return pcVar2;\n    }" { (ERROR "pcVar2 = Dwarf_info_reader::" (assignment_expression "pcVar2 = Dwarf_info_reader" identifier = identifier) : :) (expression_statement "get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr);" (call_expression "get_string\n                         (this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr)" identifier (argument_list "(this->dwinfo_,CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec),attr)" ( (field_expression "this->dwinfo_" identifier -> field_identifier) , (call_expression "CONCAT44((pAVar1->aux).shndx,in_stack_ffffffec)" identifier (argument_list "((pAVar1->aux).shndx,in_stack_ffffffec)" ( (field_expression "(pAVar1->aux).shndx" (parenthesized_expression "(pAVar1->aux)" ( (field_expression "pAVar1->aux" identifier -> field_identifier) )) . field_identifier) , identifier ))) , identifier ))) ;) (return_statement "return pcVar2;" return identifier ;) })) (expression_statement "pAVar1 = (Attribute_value *)0x0;" (assignment_expression "pAVar1 = (Attribute_value *)0x0" identifier = (cast_expression "(Attribute_value *)0x0" ( (type_descriptor "Attribute_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return (char *)pAVar1;" return (cast_expression "(char *)pAVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) }))))
(translation_unit "int __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)\n\n{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)\n\n{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "string_attribute(Dwarf_die *this,uint param_1)" identifier (parameter_list "(Dwarf_die *this,uint param_1)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (expression_statement "iVar1 = attribute(this,param_1);" (assignment_expression "iVar1 = attribute(this,param_1)" identifier = (call_expression "attribute(this,param_1)" identifier (argument_list "(this,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" { (if_statement "if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) == 8)" ( (binary_expression "*(int *)(iVar1 + 4) == 8" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      return *(int *)(iVar1 + 8);\n    }" { (return_statement "return *(int *)(iVar1 + 8);" return (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ;) })) (if_statement "if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) == 0xe)" ( (binary_expression "*(int *)(iVar1 + 4) == 0xe" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" { (ERROR "iVar1 = Dwarf_info_reader::" (assignment_expression "iVar1 = Dwarf_info_reader" identifier = identifier) : :) (expression_statement "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);" (call_expression "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" identifier (argument_list "(CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" ( (call_expression "CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier ))) , (pointer_expression "*(uint *)this" * (cast_expression "(uint *)this" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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 IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (ERROR (assignment_expression IDENT = IDENT) : :) (expression_statement (call_expression IDENT (argument_list ( (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint param_1)\n\n{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" (primitive_type "int") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Dwarf_die::" (identifier "gold") (: ":") (: ":") (identifier "Dwarf_die") (: ":") (: ":")) (function_declarator "string_attribute(Dwarf_die *this,uint param_1)" (identifier "string_attribute") (parameter_list "(Dwarf_die *this,uint param_1)" (( "(") (parameter_declaration "Dwarf_die *this" (type_identifier "Dwarf_die") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 in_stack_ffffffec;\n  \n  iVar1 = attribute(this,param_1);\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 in_stack_ffffffec;" (type_identifier "undefined4") (identifier "in_stack_ffffffec") (; ";")) (expression_statement "iVar1 = attribute(this,param_1);" (assignment_expression "iVar1 = attribute(this,param_1)" (identifier "iVar1") (= "=") (call_expression "attribute(this,param_1)" (identifier "attribute") (argument_list "(this,param_1)" (( "(") (identifier "this") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }\n    if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }\n    iVar1 = 0;\n  }" ({ "{") (if_statement "if (*(int *)(iVar1 + 4) == 8) {\n      return *(int *)(iVar1 + 8);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 4) == 8)" (( "(") (binary_expression "*(int *)(iVar1 + 4) == 8" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "8")) () ")")) (compound_statement "{\n      return *(int *)(iVar1 + 8);\n    }" ({ "{") (return_statement "return *(int *)(iVar1 + 8);" (return "return") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 4) == 0xe) {\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 4) == 0xe)" (( "(") (binary_expression "*(int *)(iVar1 + 4) == 0xe" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0xe")) () ")")) (compound_statement "{\n      iVar1 = Dwarf_info_reader::get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);\n      return iVar1;\n    }" ({ "{") (ERROR "iVar1 = Dwarf_info_reader::" (assignment_expression "iVar1 = Dwarf_info_reader" (identifier "iVar1") (= "=") (identifier "Dwarf_info_reader")) (: ":") (: ":")) (expression_statement "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);" (call_expression "get_string\n                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" (identifier "get_string") (argument_list "(CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this)" (( "(") (call_expression "CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" (identifier "CONCAT44") (argument_list "(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "in_stack_ffffffec") () ")"))) (, ",") (pointer_expression "*(uint *)this" (* "*") (cast_expression "(uint *)this" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: char * string_attribute(Dwarf_die * this, uint attr) */

char * __thiscall gold::Dwarf_die::string_attribute(Dwarf_die *this,uint attr)

{
  type_1 *var_2;
  char *pcVar2;
  type_2 in_stack_ffffffec;
  
  var_2 = var_1(this,attr);
  if (var_2 != (type_1 *)0x0) {
    if (var_2->form == 8) {
      return (var_2->val).stringval;
    }
    if (var_2->form == 0xe) {
      pcVar2 = Dwarf_info_reader::var_3
                         (this->dwinfo_,var_4((var_2->aux).shndx,in_stack_ffffffec),attr);
      return pcVar2;
    }
    var_2 = (type_1 *)0x0;
  }
  return (char *)var_2;
}


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

/* gold::Dwarf_die::MASKED(unsigned int) */

int __thiscall gold::Dwarf_die::MASKED(Dwarf_die *this,uint param_1)

{
  int iVar1;
  undefined4 in_stack_ffffffec;
  
  iVar1 = attribute(this,param_1);
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 4) == 8) {
      return *(int *)(iVar1 + 8);
    }
    if (*(int *)(iVar1 + 4) == 0xe) {
      iVar1 = Dwarf_info_reader::get_string
                        (CONCAT44(*(undefined4 *)(iVar1 + 0x10),in_stack_ffffffec),*(uint *)this);
      return iVar1;
    }
    iVar1 = 0;
  }
  return iVar1;
}

