
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint set_section_indexes(Layout * this, uint shndx) */

uint __thiscall gold::Layout::set_section_indexes(Layout *this,uint shndx)

{
  Output_section *pOVar1;
  _func_int_varargs *p_Var2;
  pointer ppOVar3;
  ulong uVar4;
  
  uVar4 = (ulong)shndx;
  ppOVar3 = (this->unattached_section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_start;
  if (ppOVar3 !=
      (this->unattached_section_list_).
      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.
      _M_finish) {
    do {
      while( true ) {
        shndx = (uint)uVar4;
        pOVar1 = *ppOVar3;
        if (pOVar1->out_shndx_ != 0xffffffff) break;
        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];
        if (p_Var2 == Output_section::do_set_out_shndx) {
          pOVar1->out_shndx_ = shndx;
        }
        else {
          (*p_Var2)(pOVar1,uVar4);
        }
        uVar4 = (ulong)(shndx + 1);
        ppOVar3 = ppOVar3 + 1;
        if ((this->unattached_section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_finish == ppOVar3) {
          return shndx + 1;
        }
      }
      ppOVar3 = ppOVar3 + 1;
    } while ((this->unattached_section_list_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_finish != ppOVar3);
  }
  return shndx;
}



int FUN_001b56f0(long param_1,int param_2)

{
  long *plVar1;
  long *plVar2;
  
  plVar2 = *(long **)(param_1 + 0x260);
  if (plVar2 != *(long **)(param_1 + 0x268)) {
    do {
      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {
        plVar2 = plVar2 + 1;
        if (*(long **)(param_1 + 0x268) == plVar2) {
          return param_2;
        }
      }
      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {
        *(int *)((long)plVar1 + 0x7c) = param_2;
      }
      else {
        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);
      }
      param_2 = param_2 + 1;
      plVar2 = plVar2 + 1;
    } while (*(long **)(param_1 + 0x268) != plVar2);
  }
  return param_2;
}


PUSH R13
PUSH R12
PUSH RBP
MOV EBP,ESI
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI + 0x260]
CMP RBX,qword ptr [RDI + 0x268]
JZ 0x001b5757
MOV R12,RDI
LEA R13,[0x1c0090]
JMP 0x001b572e
ADD RBX,0x8
CMP qword ptr [R12 + 0x268],RBX
JZ 0x001b5757
MOV RDI,qword ptr [RBX]
CMP dword ptr [RDI + 0x7c],-0x1
JNZ 0x001b5720
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x60]
CMP RAX,R13
JNZ 0x001b5768
MOV dword ptr [RDI + 0x7c],EBP
ADD EBP,0x1
ADD RBX,0x8
CMP qword ptr [R12 + 0x268],RBX
JNZ 0x001b572e
ADD RSP,0x8
MOV EAX,EBP
POP RBX
POP RBP
POP R12
POP R13
RET
MOV ESI,EBP
CALL RAX
JMP 0x001b5746
(translation_unit "int FUN_001b56f0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}\n\n" (function_definition "int FUN_001b56f0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" primitive_type (function_declarator "FUN_001b56f0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "plVar2 = *(long **)(param_1 + 0x260);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x260)" identifier = (pointer_expression "*(long **)(param_1 + 0x260)" * (cast_expression "(long **)(param_1 + 0x260)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x260)" ( (binary_expression "param_1 + 0x260" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" if (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x268))" ( (binary_expression "plVar2 != *(long **)(param_1 + 0x268)" identifier != (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" { (do_statement "do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);" do (compound_statement "{\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    }" { (while_statement "while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" while (parenthesized_expression "(plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1)" ( (comma_expression "plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1" (assignment_expression "plVar1 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) , (binary_expression "*(int *)((long)plVar1 + 0x7c) != -1" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" * (cast_expression "(int *)((long)plVar1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x7c)" ( (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal)) )) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" { (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }" if (parenthesized_expression "(*(long **)(param_1 + 0x268) == plVar2)" ( (binary_expression "*(long **)(param_1 + 0x268) == plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return param_2;\n        }" { (return_statement "return param_2;" return identifier ;) })) })) (if_statement "if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" if (parenthesized_expression "(*(code **)(*plVar1 + 0x60) == FUN_001c0090)" ( (binary_expression "*(code **)(*plVar1 + 0x60) == FUN_001c0090" (pointer_expression "*(code **)(*plVar1 + 0x60)" * (cast_expression "(code **)(*plVar1 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x60)" ( (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }" { (expression_statement "*(int *)((long)plVar1 + 0x7c) = param_2;" (assignment_expression "*(int *)((long)plVar1 + 0x7c) = param_2" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" * (cast_expression "(int *)((long)plVar1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x7c)" ( (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" else (compound_statement "{\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" { (expression_statement "(**(code **)(*plVar1 + 0x60))(plVar1,param_2);" (call_expression "(**(code **)(*plVar1 + 0x60))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x60))" ( (pointer_expression "**(code **)(*plVar1 + 0x60)" * (pointer_expression "*(code **)(*plVar1 + 0x60)" * (cast_expression "(code **)(*plVar1 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x60)" ( (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2)" ( identifier , identifier ))) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x268) != plVar2)" ( (binary_expression "*(long **)(param_1 + 0x268) != plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint set_section_indexes(Layout * this, uint shndx) */\n\nuint __thiscall gold::Layout::set_section_indexes(Layout *this,uint shndx)\n\n{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppOVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)shndx;\n  ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  return shndx;\n}\n\n" comment comment (function_definition "uint __thiscall gold::Layout::set_section_indexes(Layout *this,uint shndx)\n\n{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppOVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)shndx;\n  ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  return shndx;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "set_section_indexes(Layout *this,uint shndx)" identifier (parameter_list "(Layout *this,uint shndx)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) (compound_statement "{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppOVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)shndx;\n  ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  return shndx;\n}" { (declaration "Output_section *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = (ulong)shndx;" (assignment_expression "uVar4 = (ulong)shndx" identifier = (cast_expression "(ulong)shndx" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start" (field_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std" (assignment_expression "ppOVar3 = (this->unattached_section_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold" (field_expression "(this->unattached_section_list_).\n            super__Vector_base" (parenthesized_expression "(this->unattached_section_list_)" ( (field_expression "this->unattached_section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }" if (parenthesized_expression "(ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold::Output_section*,_std" (binary_expression "ppOVar3 !=\n      (this->unattached_section_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->unattached_section_list_).\n      super__Vector_base<gold" (field_expression "(this->unattached_section_list_).\n      super__Vector_base" (parenthesized_expression "(this->unattached_section_list_)" ( (field_expression "this->unattached_section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }" { (do_statement "do {\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);" do (compound_statement "{\n      while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }\n      ppOVar3 = ppOVar3 + 1;\n    }" { (while_statement "while( true ) {\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        shndx = (uint)uVar4;\n        pOVar1 = *ppOVar3;\n        if (pOVar1->out_shndx_ != 0xffffffff) break;\n        p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];\n        if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }\n        uVar4 = (ulong)(shndx + 1);\n        ppOVar3 = ppOVar3 + 1;\n        if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }\n      }" { (expression_statement "shndx = (uint)uVar4;" (assignment_expression "shndx = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pOVar1 = *ppOVar3;" (assignment_expression "pOVar1 = *ppOVar3" identifier = (pointer_expression "*ppOVar3" * identifier)) ;) (if_statement "if (pOVar1->out_shndx_ != 0xffffffff) break;" if (parenthesized_expression "(pOVar1->out_shndx_ != 0xffffffff)" ( (binary_expression "pOVar1->out_shndx_ != 0xffffffff" (field_expression "pOVar1->out_shndx_" identifier -> field_identifier) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];" (assignment_expression "p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[0xc]" identifier = (subscript_expression "(pOVar1->super_Output_data)._vptr_Output_data[0xc]" (field_expression "(pOVar1->super_Output_data)._vptr_Output_data" (parenthesized_expression "(pOVar1->super_Output_data)" ( (field_expression "pOVar1->super_Output_data" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var2 == Output_section::do_set_out_shndx) {\n          pOVar1->out_shndx_ = shndx;\n        }\n        else {\n          (*p_Var2)(pOVar1,uVar4);\n        }" if (parenthesized_expression "(p_Var2 == Output_section::do_set_out_shndx)" ( (binary_expression "p_Var2 == Output_section" identifier == identifier) (ERROR "::do_set_out_shndx" : : identifier) )) (compound_statement "{\n          pOVar1->out_shndx_ = shndx;\n        }" { (expression_statement "pOVar1->out_shndx_ = shndx;" (assignment_expression "pOVar1->out_shndx_ = shndx" (field_expression "pOVar1->out_shndx_" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          (*p_Var2)(pOVar1,uVar4);\n        }" else (compound_statement "{\n          (*p_Var2)(pOVar1,uVar4);\n        }" { (expression_statement "(*p_Var2)(pOVar1,uVar4);" (call_expression "(*p_Var2)(pOVar1,uVar4)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(pOVar1,uVar4)" ( identifier , identifier ))) ;) }))) (expression_statement "uVar4 = (ulong)(shndx + 1);" (assignment_expression "uVar4 = (ulong)(shndx + 1)" identifier = (call_expression "(ulong)(shndx + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(shndx + 1)" ( (binary_expression "shndx + 1" identifier + number_literal) )))) ;) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3) {\n          return shndx + 1;\n        }" if (parenthesized_expression "((this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3)" ( (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish == ppOVar3" (field_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_finish" (field_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->unattached_section_list_).\n            super__Vector_base<gold" (field_expression "(this->unattached_section_list_).\n            super__Vector_base" (parenthesized_expression "(this->unattached_section_list_)" ( (field_expression "this->unattached_section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n          return shndx + 1;\n        }" { (return_statement "return shndx + 1;" return (binary_expression "shndx + 1" identifier + number_literal) ;) })) })) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3)" ( (binary_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3" (field_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish" (field_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->unattached_section_list_).\n             super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->unattached_section_list_).\n             super__Vector_base<gold" (field_expression "(this->unattached_section_list_).\n             super__Vector_base" (parenthesized_expression "(this->unattached_section_list_)" ( (field_expression "this->unattached_section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return shndx;" return identifier ;) })))
(translation_unit "int FUN_001b56f0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}\n\n" (function_definition "int FUN_001b56f0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" primitive_type (function_declarator "FUN_001b56f0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "plVar2 = *(long **)(param_1 + 0x260);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x260)" identifier = (pointer_expression "*(long **)(param_1 + 0x260)" * (cast_expression "(long **)(param_1 + 0x260)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x260)" ( (binary_expression "param_1 + 0x260" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" if (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x268))" ( (binary_expression "plVar2 != *(long **)(param_1 + 0x268)" identifier != (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" { (do_statement "do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);" do (compound_statement "{\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    }" { (while_statement "while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" while (parenthesized_expression "(plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1)" ( (comma_expression "plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1" (assignment_expression "plVar1 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) , (binary_expression "*(int *)((long)plVar1 + 0x7c) != -1" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" * (cast_expression "(int *)((long)plVar1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x7c)" ( (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal)) )) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" { (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }" if (parenthesized_expression "(*(long **)(param_1 + 0x268) == plVar2)" ( (binary_expression "*(long **)(param_1 + 0x268) == plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return param_2;\n        }" { (return_statement "return param_2;" return identifier ;) })) })) (if_statement "if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" if (parenthesized_expression "(*(code **)(*plVar1 + 0x60) == FUN_001c0090)" ( (binary_expression "*(code **)(*plVar1 + 0x60) == FUN_001c0090" (pointer_expression "*(code **)(*plVar1 + 0x60)" * (cast_expression "(code **)(*plVar1 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x60)" ( (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }" { (expression_statement "*(int *)((long)plVar1 + 0x7c) = param_2;" (assignment_expression "*(int *)((long)plVar1 + 0x7c) = param_2" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" * (cast_expression "(int *)((long)plVar1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x7c)" ( (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" else (compound_statement "{\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" { (expression_statement "(**(code **)(*plVar1 + 0x60))(plVar1,param_2);" (call_expression "(**(code **)(*plVar1 + 0x60))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x60))" ( (pointer_expression "**(code **)(*plVar1 + 0x60)" * (pointer_expression "*(code **)(*plVar1 + 0x60)" * (cast_expression "(code **)(*plVar1 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x60)" ( (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2)" ( identifier , identifier ))) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x268) != plVar2)" ( (binary_expression "*(long **)(param_1 + 0x268) != plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" * (cast_expression "(long **)(param_1 + 0x268)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x268)" ( (binary_expression "param_1 + 0x268" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_001b56f0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" (primitive_type "int") (function_declarator "FUN_001b56f0(long param_1,int param_2)" (identifier "FUN_001b56f0") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  plVar2 = *(long **)(param_1 + 0x260);\n  if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }\n  return param_2;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (expression_statement "plVar2 = *(long **)(param_1 + 0x260);" (assignment_expression "plVar2 = *(long **)(param_1 + 0x260)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(param_1 + 0x260)" (* "*") (cast_expression "(long **)(param_1 + 0x260)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x260)" (( "(") (binary_expression "param_1 + 0x260" (identifier "param_1") (+ "+") (number_literal "0x260")) () ")"))))) (; ";")) (if_statement "if (plVar2 != *(long **)(param_1 + 0x268)) {\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" (if "if") (parenthesized_expression "(plVar2 != *(long **)(param_1 + 0x268))" (( "(") (binary_expression "plVar2 != *(long **)(param_1 + 0x268)" (identifier "plVar2") (!= "!=") (pointer_expression "*(long **)(param_1 + 0x268)" (* "*") (cast_expression "(long **)(param_1 + 0x268)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x268)" (( "(") (binary_expression "param_1 + 0x268" (identifier "param_1") (+ "+") (number_literal "0x268")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);\n  }" ({ "{") (do_statement "do {\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    } while (*(long **)(param_1 + 0x268) != plVar2);" (do "do") (compound_statement "{\n      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }\n      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }\n      param_2 = param_2 + 1;\n      plVar2 = plVar2 + 1;\n    }" ({ "{") (while_statement "while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" (while "while") (parenthesized_expression "(plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1)" (( "(") (comma_expression "plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1" (assignment_expression "plVar1 = (long *)*plVar2" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (, ",") (binary_expression "*(int *)((long)plVar1 + 0x7c) != -1" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" (* "*") (cast_expression "(int *)((long)plVar1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar1 + 0x7c)" (( "(") (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n        plVar2 = plVar2 + 1;\n        if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }\n      }" ({ "{") (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(long **)(param_1 + 0x268) == plVar2) {\n          return param_2;\n        }" (if "if") (parenthesized_expression "(*(long **)(param_1 + 0x268) == plVar2)" (( "(") (binary_expression "*(long **)(param_1 + 0x268) == plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" (* "*") (cast_expression "(long **)(param_1 + 0x268)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x268)" (( "(") (binary_expression "param_1 + 0x268" (identifier "param_1") (+ "+") (number_literal "0x268")) () ")")))) (== "==") (identifier "plVar2")) () ")")) (compound_statement "{\n          return param_2;\n        }" ({ "{") (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (} "}"))) (if_statement "if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }\n      else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" (if "if") (parenthesized_expression "(*(code **)(*plVar1 + 0x60) == FUN_001c0090)" (( "(") (binary_expression "*(code **)(*plVar1 + 0x60) == FUN_001c0090" (pointer_expression "*(code **)(*plVar1 + 0x60)" (* "*") (cast_expression "(code **)(*plVar1 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x60)" (( "(") (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x60")) () ")")))) (== "==") (identifier "FUN_001c0090")) () ")")) (compound_statement "{\n        *(int *)((long)plVar1 + 0x7c) = param_2;\n      }" ({ "{") (expression_statement "*(int *)((long)plVar1 + 0x7c) = param_2;" (assignment_expression "*(int *)((long)plVar1 + 0x7c) = param_2" (pointer_expression "*(int *)((long)plVar1 + 0x7c)" (* "*") (cast_expression "(int *)((long)plVar1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar1 + 0x7c)" (( "(") (binary_expression "(long)plVar1 + 0x7c" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" (else "else") (compound_statement "{\n        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);\n      }" ({ "{") (expression_statement "(**(code **)(*plVar1 + 0x60))(plVar1,param_2);" (call_expression "(**(code **)(*plVar1 + 0x60))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x60))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x60)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x60)" (* "*") (cast_expression "(code **)(*plVar1 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x60)" (( "(") (binary_expression "*plVar1 + 0x60" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(plVar1,param_2)" (( "(") (identifier "plVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(long **)(param_1 + 0x268) != plVar2)" (( "(") (binary_expression "*(long **)(param_1 + 0x268) != plVar2" (pointer_expression "*(long **)(param_1 + 0x268)" (* "*") (cast_expression "(long **)(param_1 + 0x268)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x268)" (( "(") (binary_expression "param_1 + 0x268" (identifier "param_1") (+ "+") (number_literal "0x268")) () ")")))) (!= "!=") (identifier "plVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint set_section_indexes(Layout * this, uint shndx) */

type_1 __thiscall var_1::type_2::function_1(type_2 *this,type_1 var_6)

{
  type_3 *pOVar1;
  type_4 *var_5;
  type_5 var_4;
  type_6 uVar4;
  
  uVar4 = (type_6)var_6;
  var_4 = (this->unattached_section_list_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
            _M_impl._M_start;
  if (var_4 !=
      (this->unattached_section_list_).
      super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>._M_impl.
      _M_finish) {
    do {
      while( true ) {
        var_6 = (type_1)uVar4;
        pOVar1 = *var_4;
        if (pOVar1->out_shndx_ != 0xffffffff) break;
        var_5 = (pOVar1->super_Output_data)._vptr_Output_data[0xc];
        if (var_5 == type_3::do_set_out_shndx) {
          pOVar1->out_shndx_ = var_6;
        }
        else {
          (*var_5)(pOVar1,uVar4);
        }
        uVar4 = (type_6)(var_6 + 1);
        var_4 = var_4 + 1;
        if ((this->unattached_section_list_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
            _M_impl._M_finish == var_4) {
          return var_6 + 1;
        }
      }
      var_4 = var_4 + 1;
    } while ((this->unattached_section_list_).
             super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
             _M_impl._M_finish != var_4);
  }
  return var_6;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))))) (if_statement condition: (parenthesized_expression (binary_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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement (identifier)))))

int MASKED(long param_1,int param_2)

{
  long *plVar1;
  long *plVar2;
  
  plVar2 = *(long **)(param_1 + 0x260);
  if (plVar2 != *(long **)(param_1 + 0x268)) {
    do {
      while (plVar1 = (long *)*plVar2, *(int *)((long)plVar1 + 0x7c) != -1) {
        plVar2 = plVar2 + 1;
        if (*(long **)(param_1 + 0x268) == plVar2) {
          return param_2;
        }
      }
      if (*(code **)(*plVar1 + 0x60) == FUN_001c0090) {
        *(int *)((long)plVar1 + 0x7c) = param_2;
      }
      else {
        (**(code **)(*plVar1 + 0x60))(plVar1,param_2);
      }
      param_2 = param_2 + 1;
      plVar2 = plVar2 + 1;
    } while (*(long **)(param_1 + 0x268) != plVar2);
  }
  return param_2;
}

