
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
   * this, key_type * __k) */

pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall
std::
_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
::_M_get_insert_unique_pos
          (_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
           *this,key_type *__k)

{
  bool bVar1;
  _Rb_tree_node_base *p_Var2;
  _Rb_tree_node_base *p_Var3;
  Relobj *pRVar4;
  Relobj *in_EDX;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar5;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar6;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar7;
  _Rb_tree_node_base *in_stack_00000004;
  
  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  if (p_Var3 == (_Rb_tree_node_base *)0x0) {
    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;
  }
  else {
    pRVar4 = __k->first;
    do {
      p_Var2 = p_Var3;
      in_EDX = (Relobj *)p_Var2[1]._M_color;
      if ((pRVar4 < in_EDX) ||
         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {
        p_Var3 = p_Var2->_M_left;
        bVar1 = true;
      }
      else {
        p_Var3 = p_Var2->_M_right;
        bVar1 = false;
      }
    } while (p_Var3 != (_Base_ptr)0x0);
    p_Var3 = p_Var2;
    if (!bVar1) goto LAB_0005edde;
  }
  if (p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {
    in_stack_00000004->_M_color = _S_red;
    in_stack_00000004->_M_parent = p_Var2;
    pVar7.second = (_Rb_tree_node_base *)in_EDX;
    pVar7.first = in_stack_00000004;
    return pVar7;
  }
  p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2);
  pRVar4 = __k->first;
  in_EDX = (Relobj *)p_Var3[1]._M_color;
LAB_0005edde:
  if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))
  {
    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;
    in_stack_00000004->_M_parent = (_Base_ptr)0x0;
    pVar6.second = (_Rb_tree_node_base *)in_EDX;
    pVar6.first = in_stack_00000004;
    return pVar6;
  }
  in_stack_00000004->_M_parent = p_Var2;
  in_stack_00000004->_M_color = _S_red;
  pVar5.second = (_Rb_tree_node_base *)in_EDX;
  pVar5.first = in_stack_00000004;
  return pVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * FUN_0005ed80(int *param_1,int param_2,uint *param_3)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  
  if (*(int *)(param_2 + 8) == 0) {
    iVar2 = param_2 + 4;
  }
  else {
    uVar4 = *param_3;
    iVar3 = *(int *)(param_2 + 8);
    do {
      iVar2 = iVar3;
      uVar5 = *(uint *)(iVar2 + 0x10);
      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {
        iVar3 = *(int *)(iVar2 + 8);
        bVar1 = true;
      }
      else {
        iVar3 = *(int *)(iVar2 + 0xc);
        bVar1 = false;
      }
    } while (iVar3 != 0);
    iVar3 = iVar2;
    if (!bVar1) goto LAB_0005edde;
  }
  if (iVar2 == *(int *)(param_2 + 0xc)) {
    *param_1 = 0;
    param_1[1] = iVar2;
    return param_1;
  }
  iVar3 = FUN_00200670(iVar2);
  uVar4 = *param_3;
  uVar5 = *(uint *)(iVar3 + 0x10);
LAB_0005edde:
  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {
    *param_1 = iVar3;
    param_1[1] = 0;
    return param_1;
  }
  param_1[1] = iVar2;
  *param_1 = 0;
  return param_1;
}


CALL 0x000644b6
ADD EAX,0x35027b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [EAX + 0x8]
TEST ESI,ESI
JZ 0x0005ee20
MOV ECX,dword ptr [EDI]
JMP 0x0005edc5
JNZ 0x0005edba
MOV EAX,dword ptr [EDI + 0x4]
CMP dword ptr [ESI + 0x14],EAX
JA 0x0005edcc
MOV EAX,dword ptr [ESI + 0xc]
XOR EBX,EBX
TEST EAX,EAX
JZ 0x0005edd8
MOV ESI,EAX
MOV EDX,dword ptr [ESI + 0x10]
CMP EDX,ECX
JBE 0x0005edb0
MOV EAX,dword ptr [ESI + 0x8]
MOV EBX,0x1
TEST EAX,EAX
JNZ 0x0005edc3
MOV EAX,ESI
TEST BL,BL
JNZ 0x0005ee23
CMP ECX,EDX
JBE 0x0005ee00
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,EBP
MOV dword ptr [EBP],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
JNZ 0x0005ee0a
MOV EDI,dword ptr [EDI + 0x4]
CMP dword ptr [ESI + 0x14],EDI
JC 0x0005ede2
MOV dword ptr [EBP],ESI
MOV EAX,EBP
MOV dword ptr [EBP + 0x4],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
LEA ESI,[EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x34]
CMP ESI,dword ptr [EAX + 0xc]
JZ 0x0005ee50
SUB ESP,0xc
PUSH ESI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00200670
ADD ESP,0x10
MOV ECX,dword ptr [EDI]
MOV EBX,EAX
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,ESI
MOV ESI,EBX
JMP 0x0005edde
MOV dword ptr [EBP],0x0
MOV EAX,EBP
MOV dword ptr [EBP + 0x4],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint * FUN_0005ed80(int *param_1,int param_2,uint *param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0005ed80(int *param_1,int param_2,uint *param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005ed80(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_0005ed80(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar2 = param_2 + 4;\n  }" { (expression_statement "iVar2 = param_2 + 4;" (assignment_expression "iVar2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" else (compound_statement "{\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" { (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar3 = *(int *)(param_2 + 8);" (assignment_expression "iVar3 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))))" ( (binary_expression "(uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) || (parenthesized_expression "((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" ( (parenthesized_expression "(uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))" ( (binary_expression "uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))" (binary_expression "uVar5 == uVar4" identifier == identifier) && (parenthesized_expression "(param_3[1] < *(uint *)(iVar2 + 0x14))" ( (binary_expression "param_3[1] < *(uint *)(iVar2 + 0x14)" (subscript_expression "param_3[1]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 8);" (assignment_expression "iVar3 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_0005edde;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_0005edde;" goto statement_identifier ;)) }))) (if_statement "if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(param_2 + 0xc))" ( (binary_expression "iVar2 == *(int *)(param_2 + 0xc)" identifier == (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar3 = FUN_00200670(iVar2);" (assignment_expression "iVar3 = FUN_00200670(iVar2)" identifier = (call_expression "FUN_00200670(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" statement_identifier : (if_statement "if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" if (parenthesized_expression "((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))))" ( (binary_expression "(uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" ( (parenthesized_expression "(uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))" ( (binary_expression "uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))" (binary_expression "uVar4 != uVar5" identifier != identifier) || (parenthesized_expression "(param_3[1] <= *(uint *)(iVar3 + 0x14))" ( (binary_expression "param_3[1] <= *(uint *)(iVar3 + 0x14)" (subscript_expression "param_3[1]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" { (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return param_1;" return identifier ;) }))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>\n   _M_get_insert_unique_pos(_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n   * this, key_type * __k) */\n\npair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall\nstd::\n_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n           *this,key_type *__k)\n\n{\n  bool bVar1;\n  _Rb_tree_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  Relobj *pRVar4;\n  Relobj *in_EDX;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar5;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar6;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar7;\n  _Rb_tree_node_base *in_stack_00000004;\n  \n  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var3 == (_Rb_tree_node_base *)0x0) {\n    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = p_Var2;\n    pVar7.second = (_Rb_tree_node_base *)in_EDX;\n    pVar7.first = in_stack_00000004;\n    return pVar7;\n  }\n  p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2);\n  pRVar4 = __k->first;\n  in_EDX = (Relobj *)p_Var3[1]._M_color;\nLAB_0005edde:\n  if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))\n  {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }\n  in_stack_00000004->_M_parent = p_Var2;\n  in_stack_00000004->_M_color = _S_red;\n  pVar5.second = (_Rb_tree_node_base *)in_EDX;\n  pVar5.first = in_stack_00000004;\n  return pVar5;\n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : : identifier * >) (function_definition "__thiscall\nstd::\n_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n           *this,key_type *__k)\n\n{\n  bool bVar1;\n  _Rb_tree_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  Relobj *pRVar4;\n  Relobj *in_EDX;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar5;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar6;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar7;\n  _Rb_tree_node_base *in_stack_00000004;\n  \n  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var3 == (_Rb_tree_node_base *)0x0) {\n    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = p_Var2;\n    pVar7.second = (_Rb_tree_node_base *)in_EDX;\n    pVar7.first = in_stack_00000004;\n    return pVar7;\n  }\n  p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2);\n  pRVar4 = __k->first;\n  in_EDX = (Relobj *)p_Var3[1]._M_color;\nLAB_0005edde:\n  if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))\n  {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }\n  in_stack_00000004->_M_parent = p_Var2;\n  in_stack_00000004->_M_color = _S_red;\n  pVar5.second = (_Rb_tree_node_base *)in_EDX;\n  pVar5.first = in_stack_00000004;\n  return pVar5;\n}" (ms_call_modifier "__thiscall" __thiscall) type_identifier (ERROR "::\n_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n::" : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > identifier > identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > , identifier : : identifier , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier * , identifier > identifier > identifier > identifier > identifier > identifier > : :) (function_declarator "_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n           *this,key_type *__k)" identifier (parameter_list "(_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n           *this,key_type *__k)" ( (parameter_declaration "_Rb_tree<std::pair<gold::Relobj*" type_identifier (ERROR "<std::pair<gold::Relobj" < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::pair<gold::Relobj*" type_identifier (ERROR "::pair<const_std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_" type_identifier (ERROR ">_>_>" > identifier > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<const_std::pair<gold::Relobj*" type_identifier (ERROR "::_Select1st<std::pair<const_std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_>_" type_identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<std::pair<gold::Relobj*" type_identifier (ERROR "::less<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<const_std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<const_std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_>_>_>\n           *this" type_identifier (ERROR ">_>_>_>_>_>" > identifier > identifier > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "key_type *__k" type_identifier (pointer_declarator "*__k" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  _Rb_tree_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  Relobj *pRVar4;\n  Relobj *in_EDX;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar5;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar6;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar7;\n  _Rb_tree_node_base *in_stack_00000004;\n  \n  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var3 == (_Rb_tree_node_base *)0x0) {\n    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = p_Var2;\n    pVar7.second = (_Rb_tree_node_base *)in_EDX;\n    pVar7.first = in_stack_00000004;\n    return pVar7;\n  }\n  p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2);\n  pRVar4 = __k->first;\n  in_EDX = (Relobj *)p_Var3[1]._M_color;\nLAB_0005edde:\n  if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))\n  {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }\n  in_stack_00000004->_M_parent = p_Var2;\n  in_stack_00000004->_M_color = _S_red;\n  pVar5.second = (_Rb_tree_node_base *)in_EDX;\n  pVar5.first = in_stack_00000004;\n  return pVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "_Rb_tree_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "Relobj *pRVar4;" type_identifier (pointer_declarator "*pRVar4" * identifier) ;) (declaration "Relobj *in_EDX;" type_identifier (pointer_declarator "*in_EDX" * identifier) ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar5;" (binary_expression "_Rb_tree_node_base*> pVar5" identifier * (ERROR ">" >) identifier) ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar6;" (binary_expression "_Rb_tree_node_base*> pVar6" identifier * (ERROR ">" >) identifier) ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar7;" (binary_expression "_Rb_tree_node_base*> pVar7" identifier * (ERROR ">" >) identifier) ;) (declaration "_Rb_tree_node_base *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (expression_statement "p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent" identifier = (field_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_parent" (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (p_Var3 == (_Rb_tree_node_base *)0x0) {\n    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }" if (parenthesized_expression "(p_Var3 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var3 == (_Rb_tree_node_base *)0x0" identifier == (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }" { (expression_statement "p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header;" (assignment_expression "p_Var2 = &(this->_M_impl).super__Rb_tree_header._M_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header._M_header" & (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) }) (else_clause "else {\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }" else (compound_statement "{\n    pRVar4 = __k->first;\n    do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);\n    p_Var3 = p_Var2;\n    if (!bVar1) goto LAB_0005edde;\n  }" { (expression_statement "pRVar4 = __k->first;" (assignment_expression "pRVar4 = __k->first" identifier = (field_expression "__k->first" identifier -> field_identifier)) ;) (do_statement "do {\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var3 != (_Base_ptr)0x0);" do (compound_statement "{\n      p_Var2 = p_Var3;\n      in_EDX = (Relobj *)p_Var2[1]._M_color;\n      if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }\n    }" { (expression_statement "p_Var2 = p_Var3;" (assignment_expression "p_Var2 = p_Var3" identifier = identifier) ;) (expression_statement "in_EDX = (Relobj *)p_Var2[1]._M_color;" (assignment_expression "in_EDX = (Relobj *)p_Var2[1]._M_color" identifier = (cast_expression "(Relobj *)p_Var2[1]._M_color" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var2[1]._M_color" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))) ;) (if_statement "if ((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))) {\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }\n      else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }" if (parenthesized_expression "((pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent))))" ( (binary_expression "(pRVar4 < in_EDX) ||\n         ((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))" (parenthesized_expression "(pRVar4 < in_EDX)" ( (binary_expression "pRVar4 < in_EDX" identifier < identifier) )) || (parenthesized_expression "((in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)))" ( (parenthesized_expression "(in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent))" ( (binary_expression "in_EDX == pRVar4 && ((_Base_ptr)__k->second < p_Var2[1]._M_parent)" (binary_expression "in_EDX == pRVar4" identifier == identifier) && (parenthesized_expression "((_Base_ptr)__k->second < p_Var2[1]._M_parent)" ( (binary_expression "(_Base_ptr)__k->second < p_Var2[1]._M_parent" (cast_expression "(_Base_ptr)__k->second" ( (type_descriptor "_Base_ptr" type_identifier) ) (field_expression "__k->second" identifier -> field_identifier)) < (field_expression "p_Var2[1]._M_parent" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier)) ))) )) ))) )) (compound_statement "{\n        p_Var3 = p_Var2->_M_left;\n        bVar1 = true;\n      }" { (expression_statement "p_Var3 = p_Var2->_M_left;" (assignment_expression "p_Var3 = p_Var2->_M_left" identifier = (field_expression "p_Var2->_M_left" identifier -> field_identifier)) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }" else (compound_statement "{\n        p_Var3 = p_Var2->_M_right;\n        bVar1 = false;\n      }" { (expression_statement "p_Var3 = p_Var2->_M_right;" (assignment_expression "p_Var3 = p_Var2->_M_right" identifier = (field_expression "p_Var2->_M_right" identifier -> field_identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(p_Var3 != (_Base_ptr)0x0)" ( (binary_expression "p_Var3 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (expression_statement "p_Var3 = p_Var2;" (assignment_expression "p_Var3 = p_Var2" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_0005edde;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_0005edde;" goto statement_identifier ;)) }))) (if_statement "if (p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = p_Var2;\n    pVar7.second = (_Rb_tree_node_base *)in_EDX;\n    pVar7.first = in_stack_00000004;\n    return pVar7;\n  }" if (parenthesized_expression "(p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left)" ( (binary_expression "p_Var2 == (this->_M_impl).super__Rb_tree_header._M_header._M_left" identifier == (field_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_left" (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) )) (compound_statement "{\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = p_Var2;\n    pVar7.second = (_Rb_tree_node_base *)in_EDX;\n    pVar7.first = in_stack_00000004;\n    return pVar7;\n  }" { (expression_statement "in_stack_00000004->_M_color = _S_red;" (assignment_expression "in_stack_00000004->_M_color = _S_red" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = identifier) ;) (expression_statement "in_stack_00000004->_M_parent = p_Var2;" (assignment_expression "in_stack_00000004->_M_parent = p_Var2" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = identifier) ;) (expression_statement "pVar7.second = (_Rb_tree_node_base *)in_EDX;" (assignment_expression "pVar7.second = (_Rb_tree_node_base *)in_EDX" (field_expression "pVar7.second" identifier . field_identifier) = (cast_expression "(_Rb_tree_node_base *)in_EDX" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pVar7.first = in_stack_00000004;" (assignment_expression "pVar7.first = in_stack_00000004" (field_expression "pVar7.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar7;" return identifier ;) })) (expression_statement "p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2);" (assignment_expression "p_Var3 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2)" identifier = (cast_expression "(_Rb_tree_node_base *)_Rb_tree_decrement(p_Var2)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_Rb_tree_decrement(p_Var2)" identifier (argument_list "(p_Var2)" ( identifier ))))) ;) (expression_statement "pRVar4 = __k->first;" (assignment_expression "pRVar4 = __k->first" identifier = (field_expression "__k->first" identifier -> field_identifier)) ;) (expression_statement "in_EDX = (Relobj *)p_Var3[1]._M_color;" (assignment_expression "in_EDX = (Relobj *)p_Var3[1]._M_color" identifier = (cast_expression "(Relobj *)p_Var3[1]._M_color" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var3[1]._M_color" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier))) ;) (labeled_statement "LAB_0005edde:\n  if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))\n  {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }" statement_identifier : (if_statement "if ((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))\n  {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }" if (parenthesized_expression "((pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))))" ( (binary_expression "(pRVar4 <= in_EDX) && ((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent)))" (parenthesized_expression "(pRVar4 <= in_EDX)" ( (binary_expression "pRVar4 <= in_EDX" identifier <= identifier) )) && (parenthesized_expression "((pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent)))" ( (parenthesized_expression "(pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent))" ( (binary_expression "pRVar4 != in_EDX || ((_Base_ptr)__k->second <= p_Var3[1]._M_parent)" (binary_expression "pRVar4 != in_EDX" identifier != identifier) || (parenthesized_expression "((_Base_ptr)__k->second <= p_Var3[1]._M_parent)" ( (binary_expression "(_Base_ptr)__k->second <= p_Var3[1]._M_parent" (cast_expression "(_Base_ptr)__k->second" ( (type_descriptor "_Base_ptr" type_identifier) ) (field_expression "__k->second" identifier -> field_identifier)) <= (field_expression "p_Var3[1]._M_parent" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier)) ))) )) ))) )) (compound_statement "{\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar6.second = (_Rb_tree_node_base *)in_EDX;\n    pVar6.first = in_stack_00000004;\n    return pVar6;\n  }" { (expression_statement "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3;" (assignment_expression "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var3" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var3" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "in_stack_00000004->_M_parent = (_Base_ptr)0x0;" (assignment_expression "in_stack_00000004->_M_parent = (_Base_ptr)0x0" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) ;) (expression_statement "pVar6.second = (_Rb_tree_node_base *)in_EDX;" (assignment_expression "pVar6.second = (_Rb_tree_node_base *)in_EDX" (field_expression "pVar6.second" identifier . field_identifier) = (cast_expression "(_Rb_tree_node_base *)in_EDX" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pVar6.first = in_stack_00000004;" (assignment_expression "pVar6.first = in_stack_00000004" (field_expression "pVar6.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar6;" return identifier ;) }))) (expression_statement "in_stack_00000004->_M_parent = p_Var2;" (assignment_expression "in_stack_00000004->_M_parent = p_Var2" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = identifier) ;) (expression_statement "in_stack_00000004->_M_color = _S_red;" (assignment_expression "in_stack_00000004->_M_color = _S_red" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = identifier) ;) (expression_statement "pVar5.second = (_Rb_tree_node_base *)in_EDX;" (assignment_expression "pVar5.second = (_Rb_tree_node_base *)in_EDX" (field_expression "pVar5.second" identifier . field_identifier) = (cast_expression "(_Rb_tree_node_base *)in_EDX" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pVar5.first = in_stack_00000004;" (assignment_expression "pVar5.first = in_stack_00000004" (field_expression "pVar5.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar5;" return identifier ;) })))
(translation_unit "int * FUN_0005ed80(int *param_1,int param_2,uint *param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}\n\n" (function_definition "int * FUN_0005ed80(int *param_1,int param_2,uint *param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005ed80(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_0005ed80(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar2 = param_2 + 4;\n  }" { (expression_statement "iVar2 = param_2 + 4;" (assignment_expression "iVar2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" else (compound_statement "{\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" { (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar3 = *(int *)(param_2 + 8);" (assignment_expression "iVar3 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))))" ( (binary_expression "(uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) || (parenthesized_expression "((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" ( (parenthesized_expression "(uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))" ( (binary_expression "uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))" (binary_expression "uVar5 == uVar4" identifier == identifier) && (parenthesized_expression "(param_3[1] < *(uint *)(iVar2 + 0x14))" ( (binary_expression "param_3[1] < *(uint *)(iVar2 + 0x14)" (subscript_expression "param_3[1]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 8);" (assignment_expression "iVar3 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_0005edde;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_0005edde;" goto statement_identifier ;)) }))) (if_statement "if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(param_2 + 0xc))" ( (binary_expression "iVar2 == *(int *)(param_2 + 0xc)" identifier == (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar3 = FUN_00200670(iVar2);" (assignment_expression "iVar3 = FUN_00200670(iVar2)" identifier = (call_expression "FUN_00200670(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" statement_identifier : (if_statement "if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" if (parenthesized_expression "((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))))" ( (binary_expression "(uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" ( (parenthesized_expression "(uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))" ( (binary_expression "uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))" (binary_expression "uVar4 != uVar5" identifier != identifier) || (parenthesized_expression "(param_3[1] <= *(uint *)(iVar3 + 0x14))" ( (binary_expression "param_3[1] <= *(uint *)(iVar3 + 0x14)" (subscript_expression "param_3[1]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" { (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return param_1;" return identifier ;) }))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 = BOOL) ;) }) (else_clause else (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 = BOOL) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0005ed80(int *param_1,int param_2,uint *param_3)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0005ed80(int *param_1,int param_2,uint *param_3)" (* "*") (function_declarator "FUN_0005ed80(int *param_1,int param_2,uint *param_3)" (identifier "FUN_0005ed80") (parameter_list "(int *param_1,int param_2,uint *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }\n  if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }\n  iVar3 = FUN_00200670(iVar2);\n  uVar4 = *param_3;\n  uVar5 = *(uint *)(iVar3 + 0x10);\nLAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }\n  param_1[1] = iVar2;\n  *param_1 = 0;\n  return param_1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (if_statement "if (*(int *)(param_2 + 8) == 0) {\n    iVar2 = param_2 + 4;\n  }\n  else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = param_2 + 4;\n  }" ({ "{") (expression_statement "iVar2 = param_2 + 4;" (assignment_expression "iVar2 = param_2 + 4" (identifier "iVar2") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" (else "else") (compound_statement "{\n    uVar4 = *param_3;\n    iVar3 = *(int *)(param_2 + 8);\n    do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);\n    iVar3 = iVar2;\n    if (!bVar1) goto LAB_0005edde;\n  }" ({ "{") (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" (identifier "uVar4") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_2 + 8);" (assignment_expression "iVar3 = *(int *)(param_2 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (do_statement "do {\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar3 != 0);" (do "do") (compound_statement "{\n      iVar2 = iVar3;\n      uVar5 = *(uint *)(iVar2 + 0x10);\n      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }\n    }" ({ "{") (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" (identifier "iVar2") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar2 + 0x10)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x10)" (* "*") (cast_expression "(uint *)(iVar2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" (if "if") (parenthesized_expression "((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))))" (( "(") (binary_expression "(uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" (parenthesized_expression "(uVar4 < uVar5)" (( "(") (binary_expression "uVar4 < uVar5" (identifier "uVar4") (< "<") (identifier "uVar5")) () ")")) (|| "||") (parenthesized_expression "((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))" (( "(") (parenthesized_expression "(uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14)))" (( "(") (binary_expression "uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))" (binary_expression "uVar5 == uVar4" (identifier "uVar5") (== "==") (identifier "uVar4")) (&& "&&") (parenthesized_expression "(param_3[1] < *(uint *)(iVar2 + 0x14))" (( "(") (binary_expression "param_3[1] < *(uint *)(iVar2 + 0x14)" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (< "<") (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 8);\n        bVar1 = true;\n      }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar2 + 8);" (assignment_expression "iVar3 = *(int *)(iVar2 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" (else "else") (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0xc);\n        bVar1 = false;\n      }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (!bVar1) goto LAB_0005edde;" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (goto_statement "goto LAB_0005edde;" (goto "goto") (statement_identifier "LAB_0005edde") (; ";"))) (} "}")))) (if_statement "if (iVar2 == *(int *)(param_2 + 0xc)) {\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(iVar2 == *(int *)(param_2 + 0xc))" (( "(") (binary_expression "iVar2 == *(int *)(param_2 + 0xc)" (identifier "iVar2") (== "==") (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    *param_1 = 0;\n    param_1[1] = iVar2;\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_00200670(iVar2);" (assignment_expression "iVar3 = FUN_00200670(iVar2)" (identifier "iVar3") (= "=") (call_expression "FUN_00200670(iVar2)" (identifier "FUN_00200670") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" (identifier "uVar4") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x10)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (labeled_statement "LAB_0005edde:\n  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" (statement_identifier "LAB_0005edde") (: ":") (if_statement "if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" (if "if") (parenthesized_expression "((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))))" (( "(") (binary_expression "(uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" (parenthesized_expression "(uVar4 <= uVar5)" (( "(") (binary_expression "uVar4 <= uVar5" (identifier "uVar4") (<= "<=") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))" (( "(") (parenthesized_expression "(uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14)))" (( "(") (binary_expression "uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))" (binary_expression "uVar4 != uVar5" (identifier "uVar4") (!= "!=") (identifier "uVar5")) (|| "||") (parenthesized_expression "(param_3[1] <= *(uint *)(iVar3 + 0x14))" (( "(") (binary_expression "param_3[1] <= *(uint *)(iVar3 + 0x14)" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (<= "<=") (pointer_expression "*(uint *)(iVar3 + 0x14)" (* "*") (cast_expression "(uint *)(iVar3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    *param_1 = iVar3;\n    param_1[1] = 0;\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<std::pair<gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
   * this, key_type * __k) */

pair<type_1::type_7*,type_4::type_7*> __thiscall
type_1::
type_2<type_1::pair<gold::type_8*,type_3>,type_4::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>,type_4::_Select1st<type_1::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>_>,type_4::less<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>_>_>
::function_1
          (type_2<type_1::pair<gold::type_8*,type_3>,type_4::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>,type_4::_Select1st<type_1::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>_>,type_4::less<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<const_std::pair<gold::type_8*,type_3>,type_4::unordered_set<type_1::pair<gold::type_8*,type_3>,type_5::Section_id_hash,type_4::equal_to<type_1::pair<gold::type_8*,type_3>_>,type_4::allocator<type_1::pair<gold::type_8*,type_3>_>_>_>_>_>
           *this,type_6 *__k)

{
  bool bVar1;
  type_7 *var_7;
  type_7 *var_4;
  type_8 *var_5;
  type_8 *var_6;
  pair<type_1::type_7*,type_4::type_7*> var_1;
  pair<type_1::type_7*,type_4::type_7*> var_2;
  pair<type_1::type_7*,type_4::type_7*> var_3;
  type_7 *in_stack_00000004;
  
  var_4 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  if (var_4 == (type_7 *)0x0) {
    var_7 = &(this->_M_impl).super__Rb_tree_header._M_header;
  }
  else {
    var_5 = __k->first;
    do {
      var_7 = var_4;
      var_6 = (type_8 *)var_7[1]._M_color;
      if ((var_5 < var_6) ||
         ((var_6 == var_5 && ((type_9)__k->second < var_7[1]._M_parent)))) {
        var_4 = var_7->_M_left;
        bVar1 = true;
      }
      else {
        var_4 = var_7->_M_right;
        bVar1 = false;
      }
    } while (var_4 != (type_9)0x0);
    var_4 = var_7;
    if (!bVar1) goto LAB_0005edde;
  }
  if (var_7 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {
    in_stack_00000004->_M_color = _S_red;
    in_stack_00000004->_M_parent = var_7;
    var_3.second = (type_7 *)var_6;
    var_3.first = in_stack_00000004;
    return var_3;
  }
  var_4 = (type_7 *)var_8(var_7);
  var_5 = __k->first;
  var_6 = (type_8 *)var_4[1]._M_color;
LAB_0005edde:
  if ((var_5 <= var_6) && ((var_5 != var_6 || ((type_9)__k->second <= var_4[1]._M_parent))))
  {
    in_stack_00000004->_M_color = (type_10)var_4;
    in_stack_00000004->_M_parent = (type_9)0x0;
    var_2.second = (type_7 *)var_6;
    var_2.first = in_stack_00000004;
    return var_2;
  }
  in_stack_00000004->_M_parent = var_7;
  in_stack_00000004->_M_color = _S_red;
  var_1.second = (type_7 *)var_6;
  var_1.first = in_stack_00000004;
  return var_1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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)))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (false))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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)))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * MASKED(int *param_1,int param_2,uint *param_3)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  
  if (*(int *)(param_2 + 8) == 0) {
    iVar2 = param_2 + 4;
  }
  else {
    uVar4 = *param_3;
    iVar3 = *(int *)(param_2 + 8);
    do {
      iVar2 = iVar3;
      uVar5 = *(uint *)(iVar2 + 0x10);
      if ((uVar4 < uVar5) || ((uVar5 == uVar4 && (param_3[1] < *(uint *)(iVar2 + 0x14))))) {
        iVar3 = *(int *)(iVar2 + 8);
        bVar1 = true;
      }
      else {
        iVar3 = *(int *)(iVar2 + 0xc);
        bVar1 = false;
      }
    } while (iVar3 != 0);
    iVar3 = iVar2;
    if (!bVar1) goto LAB_0005edde;
  }
  if (iVar2 == *(int *)(param_2 + 0xc)) {
    *param_1 = 0;
    param_1[1] = iVar2;
    return param_1;
  }
  iVar3 = FUN_00200670(iVar2);
  uVar4 = *param_3;
  uVar5 = *(uint *)(iVar3 + 0x10);
LAB_0005edde:
  if ((uVar4 <= uVar5) && ((uVar4 != uVar5 || (param_3[1] <= *(uint *)(iVar3 + 0x14))))) {
    *param_1 = iVar3;
    param_1[1] = 0;
    return param_1;
  }
  param_1[1] = iVar2;
  *param_1 = 0;
  return param_1;
}

