
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void visit(Unused_symbol_visitor * this, char * sym) */

void __thiscall gold::Unused_symbol_visitor::visit(Unused_symbol_visitor *this,char *sym)

{
  Incremental_archive_entry *pIVar1;
  iterator __position;
  Key symbol_key;
  Key local_10 [2];
  
  local_10[1] = 0x6dfa7;
  Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key);
  pIVar1 = this->entry_;
  local_10[0] = symbol_key;
  __position._M_current =
       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>.
       _M_impl._M_finish;
  if (__position._M_current !=
      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl
      ._M_end_of_storage) {
    *__position._M_current = symbol_key;
    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.
    _M_finish = __position._M_current + 1;
    return;
  }
  std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_realloc_insert<unsigned_int_const&>
            (&pIVar1->unused_syms_,__position,local_10);
  return;
}



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

void FUN_0006dfa0(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x6dfa7;
  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);
  iVar1 = *(int *)(param_1 + 4);
  local_10 = local_14;
  puVar2 = *(undefined4 **)(iVar1 + 0x34);
  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {
    *puVar2 = local_14;
    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;
    return;
  }
  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x294059
SUB ESP,0x14
MOV ESI,dword ptr [ESP + 0x20]
LEA EAX,[ESP + 0x8]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESI + 0x8]
CALL 0x001200e0
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESI + 0x4]
MOV dword ptr [ESP + 0x1c],ECX
MOV EAX,dword ptr [EDX + 0x34]
ADD ESP,0x10
CMP EAX,dword ptr [EDX + 0x38]
JZ 0x0006dff0
MOV dword ptr [EAX],ECX
ADD EAX,0x4
MOV dword ptr [EDX + 0x34],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
SUB ESP,0x4
ADD EDX,0x30
LEA ECX,[ESP + 0x10]
PUSH ECX
PUSH EAX
PUSH EDX
CALL 0x00047200
ADD ESP,0x10
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0006dfa0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}\n\n" comment (function_definition "void FUN_0006dfa0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" primitive_type (function_declarator "FUN_0006dfa0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x6dfa7;" (assignment_expression "uStack_c = 0x6dfa7" identifier = number_literal) ;) (expression_statement "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);" (call_expression "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_14" & identifier) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_10 = local_14;" (assignment_expression "local_10 = local_14" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(iVar1 + 0x34);" (assignment_expression "puVar2 = *(undefined4 **)(iVar1 + 0x34)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" * (cast_expression "(undefined4 **)(iVar1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(iVar1 + 0x38))" ( (binary_expression "puVar2 != *(undefined4 **)(iVar1 + 0x38)" identifier != (pointer_expression "*(undefined4 **)(iVar1 + 0x38)" * (cast_expression "(undefined4 **)(iVar1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" { (expression_statement "*puVar2 = local_14;" (assignment_expression "*puVar2 = local_14" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;" (assignment_expression "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1" (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" * (cast_expression "(undefined4 **)(iVar1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00047200(iVar1 + 0x30,puVar2,&local_10);" (call_expression "FUN_00047200(iVar1 + 0x30,puVar2,&local_10)" identifier (argument_list "(iVar1 + 0x30,puVar2,&local_10)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) , identifier , (pointer_expression "&local_10" & 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 visit(Unused_symbol_visitor * this, char * sym) */\n\nvoid __thiscall gold::Unused_symbol_visitor::visit(Unused_symbol_visitor *this,char *sym)\n\n{\n  Incremental_archive_entry *pIVar1;\n  iterator __position;\n  Key symbol_key;\n  Key local_10 [2];\n  \n  local_10[1] = 0x6dfa7;\n  Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key);\n  pIVar1 = this->entry_;\n  local_10[0] = symbol_key;\n  __position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>.\n       _M_impl._M_finish;\n  if (__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage) {\n    *__position._M_current = symbol_key;\n    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;\n    return;\n  }\n  std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Unused_symbol_visitor::visit(Unused_symbol_visitor *this,char *sym)\n\n{\n  Incremental_archive_entry *pIVar1;\n  iterator __position;\n  Key symbol_key;\n  Key local_10 [2];\n  \n  local_10[1] = 0x6dfa7;\n  Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key);\n  pIVar1 = this->entry_;\n  local_10[0] = symbol_key;\n  __position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>.\n       _M_impl._M_finish;\n  if (__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage) {\n    *__position._M_current = symbol_key;\n    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;\n    return;\n  }\n  std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Unused_symbol_visitor::" identifier : : identifier : :) (function_declarator "visit(Unused_symbol_visitor *this,char *sym)" identifier (parameter_list "(Unused_symbol_visitor *this,char *sym)" ( (parameter_declaration "Unused_symbol_visitor *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *sym" primitive_type (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  Incremental_archive_entry *pIVar1;\n  iterator __position;\n  Key symbol_key;\n  Key local_10 [2];\n  \n  local_10[1] = 0x6dfa7;\n  Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key);\n  pIVar1 = this->entry_;\n  local_10[0] = symbol_key;\n  __position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>.\n       _M_impl._M_finish;\n  if (__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage) {\n    *__position._M_current = symbol_key;\n    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;\n    return;\n  }\n  std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10);\n  return;\n}" { (declaration "Incremental_archive_entry *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "iterator __position;" type_identifier identifier ;) (declaration "Key symbol_key;" type_identifier identifier ;) (declaration "Key local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (expression_statement "local_10[1] = 0x6dfa7;" (assignment_expression "local_10[1] = 0x6dfa7" (subscript_expression "local_10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key);" (binary_expression "Stringpool_template<char>::add(this->strtab_,sym,true,&symbol_key)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "add(this->strtab_,sym,true,&symbol_key)" identifier (argument_list "(this->strtab_,sym,true,&symbol_key)" ( (field_expression "this->strtab_" identifier -> field_identifier) , identifier , true , (pointer_expression "&symbol_key" & identifier) )))) ;) (expression_statement "pIVar1 = this->entry_;" (assignment_expression "pIVar1 = this->entry_" identifier = (field_expression "this->entry_" identifier -> field_identifier)) ;) (expression_statement "local_10[0] = symbol_key;" (assignment_expression "local_10[0] = symbol_key" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (ERROR "__position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::" (comma_expression "__position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std" (assignment_expression "__position._M_current =\n       (pIVar1->unused_syms_).super__Vector_base<unsigned_int" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(pIVar1->unused_syms_).super__Vector_base<unsigned_int" (field_expression "(pIVar1->unused_syms_).super__Vector_base" (parenthesized_expression "(pIVar1->unused_syms_)" ( (field_expression "pIVar1->unused_syms_" identifier -> field_identifier) )) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_int>_>.\n       _M_impl._M_finish;" (field_expression "allocator<unsigned_int>_>.\n       _M_impl._M_finish" (field_expression "allocator<unsigned_int>_>.\n       _M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage) {\n    *__position._M_current = symbol_key;\n    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage)" ( (ERROR "__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::" (comma_expression "__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std" (binary_expression "__position._M_current !=\n      (pIVar1->unused_syms_).super__Vector_base<unsigned_int" (field_expression "__position._M_current" identifier . field_identifier) != (binary_expression "(pIVar1->unused_syms_).super__Vector_base<unsigned_int" (field_expression "(pIVar1->unused_syms_).super__Vector_base" (parenthesized_expression "(pIVar1->unused_syms_)" ( (field_expression "pIVar1->unused_syms_" identifier -> field_identifier) )) . field_identifier) < identifier)) , identifier) : :) (field_expression "allocator<unsigned_int>_>._M_impl\n      ._M_end_of_storage" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    *__position._M_current = symbol_key;\n    (pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;\n    return;\n  }" { (expression_statement "*__position._M_current = symbol_key;" (assignment_expression "*__position._M_current = symbol_key" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (ERROR "(pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std::" (comma_expression "(pIVar1->unused_syms_).super__Vector_base<unsigned_int,_std" (binary_expression "(pIVar1->unused_syms_).super__Vector_base<unsigned_int" (field_expression "(pIVar1->unused_syms_).super__Vector_base" (parenthesized_expression "(pIVar1->unused_syms_)" ( (field_expression "pIVar1->unused_syms_" identifier -> field_identifier) )) . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1;" (assignment_expression "allocator<unsigned_int>_>._M_impl.\n    _M_finish = __position._M_current + 1" (field_expression "allocator<unsigned_int>_>._M_impl.\n    _M_finish" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (labeled_statement "std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10);" statement_identifier (ERROR "::vector<unsigned_int,_std::allocator<unsigned_int>_>:" : : (comma_expression "vector<unsigned_int,_std" (binary_expression "vector<unsigned_int" identifier < identifier) , identifier) : : (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > :) : (expression_statement "_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10);" (binary_expression "_M_realloc_insert<unsigned_int_const&>\n            (&pIVar1->unused_syms_,__position,local_10)" (binary_expression "_M_realloc_insert<unsigned_int_const" identifier < identifier) (ERROR "&" &) > (parenthesized_expression "(&pIVar1->unused_syms_,__position,local_10)" ( (comma_expression "&pIVar1->unused_syms_,__position,local_10" (pointer_expression "&pIVar1->unused_syms_" & (field_expression "pIVar1->unused_syms_" identifier -> field_identifier)) , (comma_expression "__position,local_10" identifier , identifier)) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006dfa0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}\n\n" (function_definition "void FUN_0006dfa0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" primitive_type (function_declarator "FUN_0006dfa0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x6dfa7;" (assignment_expression "uStack_c = 0x6dfa7" identifier = number_literal) ;) (expression_statement "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);" (call_expression "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_14" & identifier) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_10 = local_14;" (assignment_expression "local_10 = local_14" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(iVar1 + 0x34);" (assignment_expression "puVar2 = *(undefined4 **)(iVar1 + 0x34)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" * (cast_expression "(undefined4 **)(iVar1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(iVar1 + 0x38))" ( (binary_expression "puVar2 != *(undefined4 **)(iVar1 + 0x38)" identifier != (pointer_expression "*(undefined4 **)(iVar1 + 0x38)" * (cast_expression "(undefined4 **)(iVar1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" { (expression_statement "*puVar2 = local_14;" (assignment_expression "*puVar2 = local_14" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;" (assignment_expression "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1" (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" * (cast_expression "(undefined4 **)(iVar1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00047200(iVar1 + 0x30,puVar2,&local_10);" (call_expression "FUN_00047200(iVar1 + 0x30,puVar2,&local_10)" identifier (argument_list "(iVar1 + 0x30,puVar2,&local_10)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) , identifier , (pointer_expression "&local_10" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006dfa0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006dfa0(int param_1,undefined4 param_2)" (identifier "FUN_0006dfa0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x6dfa7;\n  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);\n  iVar1 = *(int *)(param_1 + 4);\n  local_10 = local_14;\n  puVar2 = *(undefined4 **)(iVar1 + 0x34);\n  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }\n  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x6dfa7;" (assignment_expression "uStack_c = 0x6dfa7" (identifier "uStack_c") (= "=") (number_literal "0x6dfa7")) (; ";")) (expression_statement "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);" (call_expression "FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" (identifier "FUN_001200e0") (argument_list "(*(undefined4 *)(param_1 + 8),param_2,1,&local_14)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_14" (& "&") (identifier "local_14")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_10 = local_14;" (assignment_expression "local_10 = local_14" (identifier "local_10") (= "=") (identifier "local_14")) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(iVar1 + 0x34);" (assignment_expression "puVar2 = *(undefined4 **)(iVar1 + 0x34)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(iVar1 + 0x38))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(iVar1 + 0x38)" (identifier "puVar2") (!= "!=") (pointer_expression "*(undefined4 **)(iVar1 + 0x38)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x38)" (( "(") (binary_expression "iVar1 + 0x38" (identifier "iVar1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    *puVar2 = local_14;\n    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar2 = local_14;" (assignment_expression "*puVar2 = local_14" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "local_14")) (; ";")) (expression_statement "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;" (assignment_expression "*(undefined4 **)(iVar1 + 0x34) = puVar2 + 1" (pointer_expression "*(undefined4 **)(iVar1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00047200(iVar1 + 0x30,puVar2,&local_10);" (call_expression "FUN_00047200(iVar1 + 0x30,puVar2,&local_10)" (identifier "FUN_00047200") (argument_list "(iVar1 + 0x30,puVar2,&local_10)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) (, ",") (identifier "puVar2") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void visit(Unused_symbol_visitor * this, char * sym) */

void __thiscall gold::type_1::function_1(type_1 *this,char *sym)

{
  type_2 *pIVar1;
  type_3 __position;
  type_4 symbol_key;
  type_4 local_10 [2];
  
  local_10[1] = 0x6dfa7;
  var_1<var_2>::var_3(this->strtab_,sym,true,&symbol_key);
  pIVar1 = this->entry_;
  local_10[0] = symbol_key;
  __position._M_current =
       (pIVar1->unused_syms_).super__Vector_base<var_5,_std::var_4<var_5>var_6>.
       _M_impl._M_finish;
  if (__position._M_current !=
      (pIVar1->unused_syms_).super__Vector_base<var_5,_std::var_4<var_5>var_6>._M_impl
      ._M_end_of_storage) {
    *__position._M_current = symbol_key;
    (pIVar1->unused_syms_).super__Vector_base<var_5,_std::var_4<var_5>var_6>._M_impl.
    _M_finish = __position._M_current + 1;
    return;
  }
  std::vector<var_5,_std::var_4<var_5>var_6>::var_7<var_8&>
            (&pIVar1->unused_syms_,__position,local_10);
  return;
}


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

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

void MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x6dfa7;
  FUN_001200e0(*(undefined4 *)(param_1 + 8),param_2,1,&local_14);
  iVar1 = *(int *)(param_1 + 4);
  local_10 = local_14;
  puVar2 = *(undefined4 **)(iVar1 + 0x34);
  if (puVar2 != *(undefined4 **)(iVar1 + 0x38)) {
    *puVar2 = local_14;
    *(undefined4 **)(iVar1 + 0x34) = puVar2 + 1;
    return;
  }
  FUN_00047200(iVar1 + 0x30,puVar2,&local_10);
  return;
}

