
/* DWARF original prototype: void unfold_section(Icf * this, Relobj * obj, uint shndx) */

void __thiscall gold::Icf::unfold_section(Icf *this,Relobj *obj,uint shndx)

{
  uint *puVar1;
  uint uVar2;
  iterator iVar3;
  Section_id secn;
  
  secn.first = obj;
  secn.second = shndx;
  iVar3 = std::
          _Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
                  *)&this->section_id_,&secn);
  if (iVar3.
      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>
      ._M_cur != (__node_type *)0x0) {
    uVar2 = *(uint *)((long)iVar3.
                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>
                            ._M_cur + 0x18);
    puVar1 = (this->kept_section_id_).
             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +
             uVar2;
    if (uVar2 != *puVar1) {
      *puVar1 = uVar2;
    }
  }
  return;
}



void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)

{
  uint *puVar1;
  uint uVar2;
  long lVar3;
  undefined8 local_18;
  undefined4 local_10;
  
  local_18 = param_2;
  local_10 = param_3;
  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);
  if (lVar3 != 0) {
    uVar2 = *(uint *)(lVar3 + 0x18);
    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);
    if (uVar2 != *puVar1) {
      *puVar1 = uVar2;
    }
  }
  return;
}


PUSH RBX
MOV RBX,RDI
ADD RDI,0x18
SUB RSP,0x10
MOV qword ptr [RSP],RSI
MOV RSI,RSP
MOV dword ptr [RSP + 0x8],EDX
CALL 0x001828d0
TEST RAX,RAX
JZ 0x0017f622
MOV ECX,dword ptr [RAX + 0x18]
MOV RDX,qword ptr [RBX + 0x50]
LEA RDX,[RDX + RCX*0x4]
CMP ECX,dword ptr [RDX]
JZ 0x0017f622
MOV dword ptr [RDX],ECX
ADD RSP,0x10
POP RBX
RET
(translation_unit "void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" identifier = identifier) ;) (expression_statement "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);" (assignment_expression "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18)" identifier = (call_expression "FUN_001828d0(param_1 + 0x18,&local_18)" identifier (argument_list "(param_1 + 0x18,&local_18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) , (pointer_expression "&local_18" & identifier) )))) ;) (if_statement "if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" { (expression_statement "uVar2 = *(uint *)(lVar3 + 0x18);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 0x18)" identifier = (pointer_expression "*(uint *)(lVar3 + 0x18)" * (cast_expression "(uint *)(lVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x18)" ( (binary_expression "lVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);" (assignment_expression "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" identifier = (cast_expression "(uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" ( (binary_expression "*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(ulong)uVar2 * 4" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) ;) (if_statement "if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }" if (parenthesized_expression "(uVar2 != *puVar1)" ( (binary_expression "uVar2 != *puVar1" identifier != (pointer_expression "*puVar1" * identifier)) )) (compound_statement "{\n      *puVar1 = uVar2;\n    }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void unfold_section(Icf * this, Relobj * obj, uint shndx) */\n\nvoid __thiscall gold::Icf::unfold_section(Icf *this,Relobj *obj,uint shndx)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  iterator iVar3;\n  Section_id secn;\n  \n  secn.first = obj;\n  secn.second = shndx;\n  iVar3 = std::\n          _Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);\n  if (iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0) {\n    uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);\n    puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Icf::unfold_section(Icf *this,Relobj *obj,uint shndx)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  iterator iVar3;\n  Section_id secn;\n  \n  secn.first = obj;\n  secn.second = shndx;\n  iVar3 = std::\n          _Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);\n  if (iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0) {\n    uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);\n    puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Icf::" identifier : : identifier : :) (function_declarator "unfold_section(Icf *this,Relobj *obj,uint shndx)" identifier (parameter_list "(Icf *this,Relobj *obj,uint shndx)" ( (parameter_declaration "Icf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *obj" type_identifier (pointer_declarator "*obj" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  iterator iVar3;\n  Section_id secn;\n  \n  secn.first = obj;\n  secn.second = shndx;\n  iVar3 = std::\n          _Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);\n  if (iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0) {\n    uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);\n    puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "iterator iVar3;" type_identifier identifier ;) (declaration "Section_id secn;" type_identifier identifier ;) (expression_statement "secn.first = obj;" (assignment_expression "secn.first = obj" (field_expression "secn.first" identifier . field_identifier) = identifier) ;) (expression_statement "secn.second = shndx;" (assignment_expression "secn.second = shndx" (field_expression "secn.second" identifier . field_identifier) = identifier) ;) (ERROR "iVar3 = std::\n          _Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::" (assignment_expression "iVar3 = std" identifier = identifier) : : (binary_expression "_Hashtable<std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_std" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>,_std" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>_>,_std" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>_" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > identifier) > (ERROR "," ,) identifier) : : (comma_expression "__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold" identifier (ERROR "::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>" : : (comma_expression "_Select1st,_std" identifier , identifier) : : (binary_expression "equal_to<std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) : : identifier * , (binary_expression "_unsigned_int>_" identifier > identifier) >) , identifier) : : (comma_expression "Section_id_hash,_std" identifier , identifier) : :) (labeled_statement "__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);" statement_identifier (ERROR "::_Mod_range_hashing,_std:" : : (comma_expression "_Mod_range_hashing,_std" identifier , identifier) :) : (labeled_statement "__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);" statement_identifier (ERROR "::_Default_ranged_hash,_std:" : : (comma_expression "_Default_ranged_hash,_std" identifier , identifier) :) : (labeled_statement "__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);" statement_identifier (ERROR "::_Prime_rehash_policy,_std:" : : (comma_expression "_Prime_rehash_policy,_std" identifier , identifier) :) : (labeled_statement "__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);" statement_identifier : (ERROR ":" :) (expression_statement "_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn);" (comma_expression "_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn)" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn)" identifier , (binary_expression "_true>_>\n          ::find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn)" (binary_expression "_true>_" identifier > identifier) > (ERROR "::" : :) (call_expression "find((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn)" identifier (argument_list "((_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_,&secn)" ( (binary_expression "(_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->section_id_" (parenthesized_expression "(_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)" ( (ERROR "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::" (comma_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std::__detail::_Select1st,_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_>,_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>_" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std::pair<gold" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std::pair<const_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std::allocator<std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int>,_std" (binary_expression "_Hashtable<std::pair<gold::Relobj*,_unsigned_int" (binary_expression "_Hashtable<std::pair<gold" (binary_expression "_Hashtable<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > identifier) > (ERROR "," ,) identifier) (ERROR "::__detail::_Select1st" : : identifier : : identifier) , identifier) : : identifier < identifier : : identifier < identifier : : identifier * , (binary_expression "_unsigned_int>_>,_gold" (binary_expression "_unsigned_int>_" identifier > identifier) > (ERROR "," ,) identifier) : : (comma_expression "Section_id_hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Mod_range_hashing,_std" identifier , identifier) : : identifier : : (comma_expression "_Default_ranged_hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Prime_rehash_policy,_std" identifier , identifier) : : identifier : :) (comma_expression "_Hashtable_traits<true,_false,_true>_>\n                  *" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n                  *" identifier , (binary_expression "_true>_>\n                  *" (binary_expression "_true>_" identifier > identifier) > (pointer_expression "*" * identifier)))) )) & (field_expression "this->section_id_" identifier -> field_identifier)) , (pointer_expression "&secn" & identifier) )))))) ;))))) (if_statement "if (iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0) {\n    uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);\n    puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" if (parenthesized_expression "(iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0)" ( (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur != (__node_type *)0x0" (field_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n      ._M_cur" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std::pair<gold" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_std" (binary_expression "iVar3.\n      super__Node_iterator_base<std" (field_expression "iVar3.\n      super__Node_iterator_base" identifier . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) (ERROR ">" >) . field_identifier) != (cast_expression "(__node_type *)0x0" ( (type_descriptor "__node_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);\n    puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" { (expression_statement "uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18);" (assignment_expression "uVar2 = *(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18)" identifier = (pointer_expression "*(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18)" * (cast_expression "(uint *)((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18)" ( (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur + 0x18" (field_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>\n                            ._M_cur" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold::Relobj*,_unsigned_int" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std::pair<gold" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std::pair<const_std" (binary_expression "(long)iVar3.\n                            super__Node_iterator_base<std" (cast_expression "(long)iVar3.\n                            super__Node_iterator_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "iVar3.\n                            super__Node_iterator_base" identifier . field_identifier)) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Relobj" : : identifier) * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) (ERROR ">" >) . field_identifier) + number_literal) ))))) ;) (ERROR "puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std::" (comma_expression "puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int,_std" (assignment_expression "puVar1 = (this->kept_section_id_).\n             super__Vector_base<unsigned_int" identifier = (binary_expression "(this->kept_section_id_).\n             super__Vector_base<unsigned_int" (field_expression "(this->kept_section_id_).\n             super__Vector_base" (parenthesized_expression "(this->kept_section_id_)" ( (field_expression "this->kept_section_id_" identifier -> field_identifier) )) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2;" (binary_expression "allocator<unsigned_int>_>._M_impl._M_start +\n             uVar2" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (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) + identifier) ;) (if_statement "if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }" if (parenthesized_expression "(uVar2 != *puVar1)" ( (binary_expression "uVar2 != *puVar1" identifier != (pointer_expression "*puVar1" * identifier)) )) (compound_statement "{\n      *puVar1 = uVar2;\n    }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" identifier = identifier) ;) (expression_statement "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);" (assignment_expression "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18)" identifier = (call_expression "FUN_001828d0(param_1 + 0x18,&local_18)" identifier (argument_list "(param_1 + 0x18,&local_18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) , (pointer_expression "&local_18" & identifier) )))) ;) (if_statement "if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" { (expression_statement "uVar2 = *(uint *)(lVar3 + 0x18);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 0x18)" identifier = (pointer_expression "*(uint *)(lVar3 + 0x18)" * (cast_expression "(uint *)(lVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x18)" ( (binary_expression "lVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);" (assignment_expression "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" identifier = (cast_expression "(uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" ( (binary_expression "*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(ulong)uVar2 * 4" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) ;) (if_statement "if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }" if (parenthesized_expression "(uVar2 != *puVar1)" ( (binary_expression "uVar2 != *puVar1" identifier != (pointer_expression "*puVar1" * identifier)) )) (compound_statement "{\n      *puVar1 = uVar2;\n    }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0017f5f0(long param_1,undefined8 param_2,undefined4 param_3)" (identifier "FUN_0017f5f0") (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 local_18;\n  undefined4 local_10;\n  \n  local_18 = param_2;\n  local_10 = param_3;\n  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);\n  if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 local_18;" (type_identifier "undefined8") (identifier "local_18") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" (identifier "local_18") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" (identifier "local_10") (= "=") (identifier "param_3")) (; ";")) (expression_statement "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);" (assignment_expression "lVar3 = FUN_001828d0(param_1 + 0x18,&local_18)" (identifier "lVar3") (= "=") (call_expression "FUN_001828d0(param_1 + 0x18,&local_18)" (identifier "FUN_001828d0") (argument_list "(param_1 + 0x18,&local_18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")")))) (; ";")) (if_statement "if (lVar3 != 0) {\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = *(uint *)(lVar3 + 0x18);\n    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);\n    if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }\n  }" ({ "{") (expression_statement "uVar2 = *(uint *)(lVar3 + 0x18);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(lVar3 + 0x18)" (* "*") (cast_expression "(uint *)(lVar3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x18)" (( "(") (binary_expression "lVar3 + 0x18" (identifier "lVar3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);" (assignment_expression "puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "(ulong)uVar2 * 4" (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (uVar2 != *puVar1) {\n      *puVar1 = uVar2;\n    }" (if "if") (parenthesized_expression "(uVar2 != *puVar1)" (( "(") (binary_expression "uVar2 != *puVar1" (identifier "uVar2") (!= "!=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) () ")")) (compound_statement "{\n      *puVar1 = uVar2;\n    }" ({ "{") (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void unfold_section(Icf * this, Relobj * obj, uint shndx) */

void __thiscall var_7::type_1::function_1(type_1 *this,type_2 *obj,type_3 shndx)

{
  type_3 *puVar1;
  type_3 var_11;
  type_4 iVar3;
  type_5 secn;
  
  secn.first = obj;
  secn.second = shndx;
  iVar3 = var_5::
          _Hashtable<var_5::pair<var_7::type_2*,var_8>,_std::pair<var_6::pair<var_7::type_2*,var_8>,var_8>,_std::var_9<var_5::pair<var_6::pair<var_7::type_2*,var_8>,var_8>var_3>,_std::__detail::_Select1st,_std::equal_to<var_5::pair<var_7::type_2*,var_8>var_3>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::var_1<true,_false,var_2>var_3>
          ::var_4((_Hashtable<var_5::pair<var_7::type_2*,var_8>,_std::pair<var_6::pair<var_7::type_2*,var_8>,var_8>,_std::var_9<var_5::pair<var_6::pair<var_7::type_2*,var_8>,var_8>var_3>,_std::__detail::_Select1st,_std::equal_to<var_5::pair<var_7::type_2*,var_8>var_3>,_gold::Section_id_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::var_1<true,_false,var_2>var_3>
                  *)&this->section_id_,&secn);
  if (iVar3.
      super__Node_iterator_base<var_5::pair<var_6::pair<var_7::type_2*,var_8>,var_8>,var_2>
      ._M_cur != (type_6 *)0x0) {
    var_11 = *(type_3 *)((long)iVar3.
                            super__Node_iterator_base<var_5::pair<var_6::pair<var_7::type_2*,var_8>,var_8>,var_2>
                            ._M_cur + 0x18);
    puVar1 = (this->kept_section_id_).
             super__Vector_base<var_10,_std::var_9<var_10>var_3>._M_impl._M_start +
             var_11;
    if (var_11 != *puVar1) {
      *puVar1 = var_11;
    }
  }
  return;
}


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

void MASKED(long param_1,undefined8 param_2,undefined4 param_3)

{
  uint *puVar1;
  uint uVar2;
  long lVar3;
  undefined8 local_18;
  undefined4 local_10;
  
  local_18 = param_2;
  local_10 = param_3;
  lVar3 = FUN_001828d0(param_1 + 0x18,&local_18);
  if (lVar3 != 0) {
    uVar2 = *(uint *)(lVar3 + 0x18);
    puVar1 = (uint *)(*(long *)(param_1 + 0x50) + (ulong)uVar2 * 4);
    if (uVar2 != *puVar1) {
      *puVar1 = uVar2;
    }
  }
  return;
}

