
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_cu_set(Dwp_output_file * this, Unit_set * cu_set) */

void __thiscall gold::Dwp_output_file::add_cu_set(Dwp_output_file *this,Unit_set *cu_set)

{
  undefined4 uVar1;
  char *pcVar2;
  uint64_t uVar3;
  bool bVar4;
  char *format;
  uint slot;
  undefined4 uStack_14;
  
  uStack_14 = 0x34719;
  uVar3 = cu_set->signature;
  uVar1 = *(undefined4 *)((int)&cu_set->signature + 4);
  bVar4 = Dwp_index::find_or_add(&this->cu_index_,cu_set->signature,&slot);
  if (!bVar4) {
    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);
    return;
  }
  pcVar2 = this->name_;
  format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");
  gold_warning(format,pcVar2,(int)uVar3,uVar1);
  return;
}



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

void FUN_00034710(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  char cVar4;
  undefined4 uVar5;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x34719;
  uVar1 = *param_2;
  uVar2 = param_2[1];
  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);
  if (cVar4 == '\0') {
    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);
    return;
  }
  uVar3 = *param_1;
  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");
  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x2cd8e7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [EAX]
MOV EDI,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x30]
LEA EBP,[EAX + 0xe8]
LEA EAX,[ESP + 0xc]
PUSH EAX
PUSH EDI
PUSH ESI
PUSH EBP
CALL 0x00032e30
ADD ESP,0x10
TEST AL,AL
JNZ 0x00034768
SUB ESP,0x4
PUSH dword ptr [ESP + 0x38]
PUSH dword ptr [ESP + 0x14]
PUSH EBP
CALL 0x000345f0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
SUB ESP,0xc
MOV EBP,dword ptr [EAX]
LEA EAX,[EBX + 0xfff182fc]
PUSH EAX
CALL 0x000263b0
ADD ESP,0x10
PUSH EDI
PUSH ESI
PUSH EBP
PUSH EAX
CALL 0x0005ad30
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00034710(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}\n\n" comment (function_definition "void FUN_00034710(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00034710(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34719;" (assignment_expression "uStack_14 = 0x34719" identifier = number_literal) ;) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);" (assignment_expression "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" identifier = (call_expression "FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" identifier (argument_list "(param_1 + 0x3a,uVar1,uVar2,local_20)" ( (binary_expression "param_1 + 0x3a" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" { (expression_statement "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);" (call_expression "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2)" identifier (argument_list "(param_1 + 0x3a,local_20[0],param_2)" ( (binary_expression "param_1 + 0x3a" identifier + number_literal) , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");" (assignment_expression "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier = (call_expression "gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier (argument_list "("%s: duplicate entry for CU (dwo_id 0x%llx)")" ( (string_literal ""%s: duplicate entry for CU (dwo_id 0x%llx)"" " string_content ") )))) ;) (expression_statement "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);" (call_expression "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2)" identifier (argument_list "(uVar5,uVar3,uVar1,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void add_cu_set(Dwp_output_file * this, Unit_set * cu_set) */\n\nvoid __thiscall gold::Dwp_output_file::add_cu_set(Dwp_output_file *this,Unit_set *cu_set)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  uint64_t uVar3;\n  bool bVar4;\n  char *format;\n  uint slot;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar3 = cu_set->signature;\n  uVar1 = *(undefined4 *)((int)&cu_set->signature + 4);\n  bVar4 = Dwp_index::find_or_add(&this->cu_index_,cu_set->signature,&slot);\n  if (!bVar4) {\n    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);\n    return;\n  }\n  pcVar2 = this->name_;\n  format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  gold_warning(format,pcVar2,(int)uVar3,uVar1);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Dwp_output_file::add_cu_set(Dwp_output_file *this,Unit_set *cu_set)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  uint64_t uVar3;\n  bool bVar4;\n  char *format;\n  uint slot;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar3 = cu_set->signature;\n  uVar1 = *(undefined4 *)((int)&cu_set->signature + 4);\n  bVar4 = Dwp_index::find_or_add(&this->cu_index_,cu_set->signature,&slot);\n  if (!bVar4) {\n    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);\n    return;\n  }\n  pcVar2 = this->name_;\n  format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  gold_warning(format,pcVar2,(int)uVar3,uVar1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwp_output_file::" identifier : : identifier : :) (function_declarator "add_cu_set(Dwp_output_file *this,Unit_set *cu_set)" identifier (parameter_list "(Dwp_output_file *this,Unit_set *cu_set)" ( (parameter_declaration "Dwp_output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Unit_set *cu_set" type_identifier (pointer_declarator "*cu_set" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  uint64_t uVar3;\n  bool bVar4;\n  char *format;\n  uint slot;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar3 = cu_set->signature;\n  uVar1 = *(undefined4 *)((int)&cu_set->signature + 4);\n  bVar4 = Dwp_index::find_or_add(&this->cu_index_,cu_set->signature,&slot);\n  if (!bVar4) {\n    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);\n    return;\n  }\n  pcVar2 = this->name_;\n  format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  gold_warning(format,pcVar2,(int)uVar3,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint64_t uVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint slot;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34719;" (assignment_expression "uStack_14 = 0x34719" identifier = number_literal) ;) (expression_statement "uVar3 = cu_set->signature;" (assignment_expression "uVar3 = cu_set->signature" identifier = (field_expression "cu_set->signature" identifier -> field_identifier)) ;) (expression_statement "uVar1 = *(undefined4 *)((int)&cu_set->signature + 4);" (assignment_expression "uVar1 = *(undefined4 *)((int)&cu_set->signature + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&cu_set->signature + 4)" * (cast_expression "(undefined4 *)((int)&cu_set->signature + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&cu_set->signature + 4)" ( (binary_expression "(int)&cu_set->signature + 4" (cast_expression "(int)&cu_set->signature" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&cu_set->signature" & (field_expression "cu_set->signature" identifier -> field_identifier))) + number_literal) ))))) ;) (ERROR "bVar4 = Dwp_index::" (assignment_expression "bVar4 = Dwp_index" identifier = identifier) : :) (expression_statement "find_or_add(&this->cu_index_,cu_set->signature,&slot);" (call_expression "find_or_add(&this->cu_index_,cu_set->signature,&slot)" identifier (argument_list "(&this->cu_index_,cu_set->signature,&slot)" ( (pointer_expression "&this->cu_index_" & (field_expression "this->cu_index_" identifier -> field_identifier)) , (field_expression "cu_set->signature" identifier -> field_identifier) , (pointer_expression "&slot" & identifier) ))) ;) (if_statement "if (!bVar4) {\n    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);\n    return;\n  }" if (parenthesized_expression "(!bVar4)" ( (unary_expression "!bVar4" ! identifier) )) (compound_statement "{\n    Dwp_index::enter_set(&this->cu_index_,slot,cu_set);\n    return;\n  }" { (labeled_statement "Dwp_index::enter_set(&this->cu_index_,slot,cu_set);" statement_identifier : (ERROR ":" :) (expression_statement "enter_set(&this->cu_index_,slot,cu_set);" (call_expression "enter_set(&this->cu_index_,slot,cu_set)" identifier (argument_list "(&this->cu_index_,slot,cu_set)" ( (pointer_expression "&this->cu_index_" & (field_expression "this->cu_index_" identifier -> field_identifier)) , identifier , identifier ))) ;)) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = this->name_;" (assignment_expression "pcVar2 = this->name_" identifier = (field_expression "this->name_" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");" (assignment_expression "format = (char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier = (cast_expression "(char *)gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier (argument_list "("%s: duplicate entry for CU (dwo_id 0x%llx)")" ( (string_literal ""%s: duplicate entry for CU (dwo_id 0x%llx)"" " string_content ") ))))) ;) (expression_statement "gold_warning(format,pcVar2,(int)uVar3,uVar1);" (call_expression "gold_warning(format,pcVar2,(int)uVar3,uVar1)" identifier (argument_list "(format,pcVar2,(int)uVar3,uVar1)" ( identifier , identifier , (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00034710(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_00034710(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00034710(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34719;" (assignment_expression "uStack_14 = 0x34719" identifier = number_literal) ;) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);" (assignment_expression "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" identifier = (call_expression "FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" identifier (argument_list "(param_1 + 0x3a,uVar1,uVar2,local_20)" ( (binary_expression "param_1 + 0x3a" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" { (expression_statement "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);" (call_expression "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2)" identifier (argument_list "(param_1 + 0x3a,local_20[0],param_2)" ( (binary_expression "param_1 + 0x3a" identifier + number_literal) , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");" (assignment_expression "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier = (call_expression "gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" identifier (argument_list "("%s: duplicate entry for CU (dwo_id 0x%llx)")" ( (string_literal ""%s: duplicate entry for CU (dwo_id 0x%llx)"" " string_content ") )))) ;) (expression_statement "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);" (call_expression "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2)" identifier (argument_list "(uVar5,uVar3,uVar1,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00034710(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00034710(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00034710") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34719;\n  uVar1 = *param_2;\n  uVar2 = param_2[1];\n  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);\n  if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }\n  uVar3 = *param_1;\n  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");\n  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x34719;" (assignment_expression "uStack_14 = 0x34719" (identifier "uStack_14") (= "=") (number_literal "0x34719")) (; ";")) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" (identifier "uVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" (identifier "uVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);" (assignment_expression "cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" (identifier "cVar4") (= "=") (call_expression "FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20)" (identifier "FUN_00032e30") (argument_list "(param_1 + 0x3a,uVar1,uVar2,local_20)" (( "(") (binary_expression "param_1 + 0x3a" (identifier "param_1") (+ "+") (number_literal "0x3a")) (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") (, ",") (identifier "local_20") () ")")))) (; ";")) (if_statement "if (cVar4 == '\0') {\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(cVar4 == '\0')" (( "(") (binary_expression "cVar4 == '\0'" (identifier "cVar4") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);" (call_expression "FUN_000345f0(param_1 + 0x3a,local_20[0],param_2)" (identifier "FUN_000345f0") (argument_list "(param_1 + 0x3a,local_20[0],param_2)" (( "(") (binary_expression "param_1 + 0x3a" (identifier "param_1") (+ "+") (number_literal "0x3a")) (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");" (assignment_expression "uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" (identifier "uVar5") (= "=") (call_expression "gettext("%s: duplicate entry for CU (dwo_id 0x%llx)")" (identifier "gettext") (argument_list "("%s: duplicate entry for CU (dwo_id 0x%llx)")" (( "(") (string_literal ""%s: duplicate entry for CU (dwo_id 0x%llx)"" (" """) (string_content "%s: duplicate entry for CU (dwo_id 0x%llx)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);" (call_expression "FUN_0005ad30(uVar5,uVar3,uVar1,uVar2)" (identifier "FUN_0005ad30") (argument_list "(uVar5,uVar3,uVar1,uVar2)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_cu_set(Dwp_output_file * this, Unit_set * cu_set) */

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

{
  type_3 uVar1;
  char *pcVar2;
  uint64_t uVar3;
  bool bVar4;
  char *format;
  type_4 slot;
  type_3 uStack_14;
  
  uStack_14 = 0x34719;
  uVar3 = cu_set->signature;
  uVar1 = *(type_3 *)((int)&cu_set->signature + 4);
  bVar4 = Dwp_index::var_1(&this->cu_index_,cu_set->signature,&slot);
  if (!bVar4) {
    Dwp_index::var_2(&this->cu_index_,slot,cu_set);
    return;
  }
  pcVar2 = this->name_;
  format = (char *)var_3("%s: duplicate entry for CU (dwo_id 0x%llx)");
  var_4(format,pcVar2,(int)uVar3,uVar1);
  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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (return_statement))))

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

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  char cVar4;
  undefined4 uVar5;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x34719;
  uVar1 = *param_2;
  uVar2 = param_2[1];
  cVar4 = FUN_00032e30(param_1 + 0x3a,uVar1,uVar2,local_20);
  if (cVar4 == '\0') {
    FUN_000345f0(param_1 + 0x3a,local_20[0],param_2);
    return;
  }
  uVar3 = *param_1;
  uVar5 = gettext("%s: duplicate entry for CU (dwo_id 0x%llx)");
  FUN_0005ad30(uVar5,uVar3,uVar1,uVar2);
  return;
}

