
/* DWARF original prototype: void set_linkage_name(Dwarf_die * this) */

void __thiscall gold::Dwarf_die::set_linkage_name(Dwarf_die *this)

{
  bool bVar1;
  char *pcVar2;
  Dwarf_die *in_stack_fffffff4;
  
  if (this->linkage_name_ == (char *)0x0) {
    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {
      return;
    }
    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff
       ) {
      pcVar2 = Dwarf_info_reader::get_string
                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);
      this->linkage_name_ = pcVar2;
      return;
    }
  }
  return;
}



void FUN_00058340(undefined4 *param_1)

{
  char cVar1;
  undefined4 uVar2;
  
  if (param_1[0x12] == 0) {
    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {
      return;
    }
    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {
      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);
      param_1[0x12] = uVar2;
      return;
    }
  }
  return;
}


PUSH EBX
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EBX + 0x48]
TEST EAX,EAX
JZ 0x00058358
ADD ESP,0x8
POP EBX
RET
CMP byte ptr [EBX + 0x38],0x0
JNZ 0x00058369
MOV EAX,EBX
CALL 0x000573e0
TEST AL,AL
JZ 0x0005834f
MOV EDX,dword ptr [EBX + 0x50]
MOV EAX,dword ptr [EBX + 0x4c]
MOV ECX,EDX
AND ECX,EAX
CMP ECX,-0x1
JZ 0x0005834f
PUSH dword ptr [EBX + 0x54]
PUSH EDX
PUSH EAX
PUSH dword ptr [EBX]
CALL 0x00056b90
ADD ESP,0x10
MOV dword ptr [EBX + 0x48],EAX
ADD ESP,0x8
POP EBX
RET
(translation_unit "void FUN_00058340(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00058340(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00058340(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" if (parenthesized_expression "(param_1[0x12] == 0)" ( (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" { (if_statement "if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }" if (parenthesized_expression "((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0'))" ( (binary_expression "(*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')" (parenthesized_expression "(*(char *)(param_1 + 0xe) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xe) == '\0'" (pointer_expression "*(char *)(param_1 + 0xe)" * (cast_expression "(char *)(param_1 + 0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar1 = FUN_000573e0(), cVar1 == '\0')" ( (comma_expression "cVar1 = FUN_000573e0(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_000573e0()" identifier = (call_expression "FUN_000573e0()" identifier (argument_list "()" ( )))) , (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" if (parenthesized_expression "((param_1[0x14] & param_1[0x13]) != 0xffffffff)" ( (binary_expression "(param_1[0x14] & param_1[0x13]) != 0xffffffff" (parenthesized_expression "(param_1[0x14] & param_1[0x13])" ( (binary_expression "param_1[0x14] & param_1[0x13]" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) & (subscript_expression "param_1[0x13]" identifier [ number_literal ])) )) != number_literal) )) (compound_statement "{\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" { (expression_statement "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);" (assignment_expression "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" identifier = (call_expression "FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" identifier (argument_list "(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[0x13]" identifier [ number_literal ]) , (subscript_expression "param_1[0x14]" identifier [ number_literal ]) , (subscript_expression "param_1[0x15]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[0x12] = uVar2;" (assignment_expression "param_1[0x12] = uVar2" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void set_linkage_name(Dwarf_die * this) */\n\nvoid __thiscall gold::Dwarf_die::set_linkage_name(Dwarf_die *this)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  Dwarf_die *in_stack_fffffff4;\n  \n  if (this->linkage_name_ == (char *)0x0) {\n    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }\n    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Dwarf_die::set_linkage_name(Dwarf_die *this)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  Dwarf_die *in_stack_fffffff4;\n  \n  if (this->linkage_name_ == (char *)0x0) {\n    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }\n    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "set_linkage_name(Dwarf_die *this)" identifier (parameter_list "(Dwarf_die *this)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  Dwarf_die *in_stack_fffffff4;\n  \n  if (this->linkage_name_ == (char *)0x0) {\n    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }\n    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "Dwarf_die *in_stack_fffffff4;" type_identifier (pointer_declarator "*in_stack_fffffff4" * identifier) ;) (if_statement "if (this->linkage_name_ == (char *)0x0) {\n    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }\n    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }\n  }" if (parenthesized_expression "(this->linkage_name_ == (char *)0x0)" ( (binary_expression "this->linkage_name_ == (char *)0x0" (field_expression "this->linkage_name_" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }\n    if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }\n  }" { (if_statement "if ((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)) {\n      return;\n    }" if (parenthesized_expression "((this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1))" ( (binary_expression "(this->attributes_read_ == false) && (bVar1 = read_attributes(in_stack_fffffff4), !bVar1)" (parenthesized_expression "(this->attributes_read_ == false)" ( (binary_expression "this->attributes_read_ == false" (field_expression "this->attributes_read_" identifier -> field_identifier) == false) )) && (parenthesized_expression "(bVar1 = read_attributes(in_stack_fffffff4), !bVar1)" ( (comma_expression "bVar1 = read_attributes(in_stack_fffffff4), !bVar1" (assignment_expression "bVar1 = read_attributes(in_stack_fffffff4)" identifier = (call_expression "read_attributes(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier )))) , (unary_expression "!bVar1" ! identifier)) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       ) {\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }" if (parenthesized_expression "((*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff\n       )" ( (binary_expression "(*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_) != 0xffffffff" (parenthesized_expression "(*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_)" ( (binary_expression "*(uint *)((int)&this->linkage_name_off_ + 4) & (uint)this->linkage_name_off_" (pointer_expression "*(uint *)((int)&this->linkage_name_off_ + 4)" * (cast_expression "(uint *)((int)&this->linkage_name_off_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->linkage_name_off_ + 4)" ( (binary_expression "(int)&this->linkage_name_off_ + 4" (cast_expression "(int)&this->linkage_name_off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->linkage_name_off_" & (field_expression "this->linkage_name_off_" identifier -> field_identifier))) + number_literal) )))) & (cast_expression "(uint)this->linkage_name_off_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->linkage_name_off_" identifier -> field_identifier))) )) != number_literal) )) (compound_statement "{\n      pcVar2 = Dwarf_info_reader::get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);\n      this->linkage_name_ = pcVar2;\n      return;\n    }" { (ERROR "pcVar2 = Dwarf_info_reader::" (assignment_expression "pcVar2 = Dwarf_info_reader" identifier = identifier) : :) (expression_statement "get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);" (call_expression "get_string\n                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_)" identifier (argument_list "(this->dwinfo_,this->linkage_name_off_,this->string_shndx_)" ( (field_expression "this->dwinfo_" identifier -> field_identifier) , (field_expression "this->linkage_name_off_" identifier -> field_identifier) , (field_expression "this->string_shndx_" identifier -> field_identifier) ))) ;) (expression_statement "this->linkage_name_ = pcVar2;" (assignment_expression "this->linkage_name_ = pcVar2" (field_expression "this->linkage_name_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00058340(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00058340(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00058340(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" if (parenthesized_expression "(param_1[0x12] == 0)" ( (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" { (if_statement "if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }" if (parenthesized_expression "((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0'))" ( (binary_expression "(*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')" (parenthesized_expression "(*(char *)(param_1 + 0xe) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xe) == '\0'" (pointer_expression "*(char *)(param_1 + 0xe)" * (cast_expression "(char *)(param_1 + 0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar1 = FUN_000573e0(), cVar1 == '\0')" ( (comma_expression "cVar1 = FUN_000573e0(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_000573e0()" identifier = (call_expression "FUN_000573e0()" identifier (argument_list "()" ( )))) , (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" if (parenthesized_expression "((param_1[0x14] & param_1[0x13]) != 0xffffffff)" ( (binary_expression "(param_1[0x14] & param_1[0x13]) != 0xffffffff" (parenthesized_expression "(param_1[0x14] & param_1[0x13])" ( (binary_expression "param_1[0x14] & param_1[0x13]" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) & (subscript_expression "param_1[0x13]" identifier [ number_literal ])) )) != number_literal) )) (compound_statement "{\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" { (expression_statement "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);" (assignment_expression "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" identifier = (call_expression "FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" identifier (argument_list "(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[0x13]" identifier [ number_literal ]) , (subscript_expression "param_1[0x14]" identifier [ number_literal ]) , (subscript_expression "param_1[0x15]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[0x12] = uVar2;" (assignment_expression "param_1[0x12] = uVar2" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == (char_literal ' escape_sequence '))) ))) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & (subscript_expression IDENT [ LIT ])) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00058340(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00058340(undefined4 *param_1)" (identifier "FUN_00058340") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  \n  if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_1[0x12] == 0) {\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_1[0x12] == 0)" (( "(") (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }\n    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }\n  }" ({ "{") (if_statement "if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {\n      return;\n    }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0'))" (( "(") (binary_expression "(*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')" (parenthesized_expression "(*(char *)(param_1 + 0xe) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0xe) == '\0'" (pointer_expression "*(char *)(param_1 + 0xe)" (* "*") (cast_expression "(char *)(param_1 + 0xe)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar1 = FUN_000573e0(), cVar1 == '\0')" (( "(") (comma_expression "cVar1 = FUN_000573e0(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_000573e0()" (identifier "cVar1") (= "=") (call_expression "FUN_000573e0()" (identifier "FUN_000573e0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" (if "if") (parenthesized_expression "((param_1[0x14] & param_1[0x13]) != 0xffffffff)" (( "(") (binary_expression "(param_1[0x14] & param_1[0x13]) != 0xffffffff" (parenthesized_expression "(param_1[0x14] & param_1[0x13])" (( "(") (binary_expression "param_1[0x14] & param_1[0x13]" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (& "&") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) () ")")) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);\n      param_1[0x12] = uVar2;\n      return;\n    }" ({ "{") (expression_statement "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);" (assignment_expression "uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" (identifier "uVar2") (= "=") (call_expression "FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" (identifier "FUN_00056b90") (argument_list "(*param_1,param_1[0x13],param_1[0x14],param_1[0x15])" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (, ",") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (, ",") (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) () ")")))) (; ";")) (expression_statement "param_1[0x12] = uVar2;" (assignment_expression "param_1[0x12] = uVar2" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void set_linkage_name(Dwarf_die * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  bool bVar1;
  char *pcVar2;
  type_1 *in_stack_fffffff4;
  
  if (this->linkage_name_ == (char *)0x0) {
    if ((this->attributes_read_ == false) && (bVar1 = var_1(in_stack_fffffff4), !bVar1)) {
      return;
    }
    if ((*(type_2 *)((int)&this->linkage_name_off_ + 4) & (type_2)this->linkage_name_off_) != 0xffffffff
       ) {
      pcVar2 = Dwarf_info_reader::var_2
                         (this->dwinfo_,this->linkage_name_off_,this->string_shndx_);
      this->linkage_name_ = pcVar2;
      return;
    }
  }
  return;
}


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

void MASKED(undefined4 *param_1)

{
  char cVar1;
  undefined4 uVar2;
  
  if (param_1[0x12] == 0) {
    if ((*(char *)(param_1 + 0xe) == '\0') && (cVar1 = FUN_000573e0(), cVar1 == '\0')) {
      return;
    }
    if ((param_1[0x14] & param_1[0x13]) != 0xffffffff) {
      uVar2 = FUN_00056b90(*param_1,param_1[0x13],param_1[0x14],param_1[0x15]);
      param_1[0x12] = uVar2;
      return;
    }
  }
  return;
}

