
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace_unique<std::pair<int, gold::Cie*> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool>
   _M_emplace_unique<std::pair<int,_gold::Cie*>_>(_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>
   * this, pair<int,_gold::Cie*> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> __thiscall
std::
_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>
::_M_emplace_unique<std::pair<int,_gold::Cie*>_>
          (_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>
           *this,pair<int,_gold::Cie*> *__args_0)

{
  size_t *psVar1;
  _Rb_tree_color _Var2;
  _Rb_tree_node_base *p_Var3;
  _Rb_tree_header *p_Var4;
  _Rb_tree_node_base *p_Var5;
  _Rb_tree_node_base *p_Var6;
  _Rb_tree_color _Var7;
  _Base_ptr p_Var8;
  undefined4 extraout_EDX;
  undefined4 extraout_EDX_00;
  bool bVar9;
  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar10;
  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar11;
  _Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_> in_stack_00000004;
  _Base_ptr local_24;
  
  p_Var3 = (_Rb_tree_node_base *)operator_new(0x1c);
  _Var2 = __args_0->first;
  p_Var8 = (_Base_ptr)((int)_Var2 >> 0x1f);
  p_Var3[1]._M_color = _Var2;
  p_Var3[1]._M_left = (_Base_ptr)__args_0->second;
  p_Var3[1]._M_parent = p_Var8;
  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  p_Var4 = &(this->_M_impl).super__Rb_tree_header;
  p_Var5 = &p_Var4->_M_header;
  if (p_Var6 == (_Rb_tree_node_base *)0x0) {
LAB_00150f1c:
    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;
    p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);
    _Var7 = p_Var6[1]._M_color;
    local_24 = p_Var6[1]._M_parent;
  }
  else {
    do {
      p_Var5 = p_Var6;
      local_24 = p_Var5[1]._M_parent;
      _Var7 = p_Var5[1]._M_color;
      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);
      if (bVar9) {
        p_Var6 = p_Var5->_M_left;
      }
      else {
        p_Var6 = p_Var5->_M_right;
      }
    } while (p_Var6 != (_Base_ptr)0x0);
    p_Var6 = p_Var5;
    if (bVar9) goto LAB_00150f1c;
  }
  if (local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)) {
    if (p_Var5 != (_Rb_tree_node_base *)0x0) {
joined_r0x00150eb8:
      bVar9 = true;
      if (p_Var4 != (_Rb_tree_header *)p_Var5) {
        bVar9 = p_Var8 < p_Var5[1]._M_parent ||
                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);
      }
      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);
      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
      *psVar1 = *psVar1 + 1;
      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;
      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;
      pVar10._4_4_ = extraout_EDX;
      pVar10.first._M_node = in_stack_00000004._M_node;
      return pVar10;
    }
    p_Var6 = (_Rb_tree_node_base *)0x0;
  }
  operator_delete(p_Var3);
  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var6;
  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;
  pVar11._4_4_ = extraout_EDX_00;
  pVar11.first._M_node = in_stack_00000004._M_node;
  return pVar11;
}



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

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

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  bool bVar8;
  uint local_24;
  
  iVar2 = FUN_0017ebf0(0x1c);
  uVar1 = *param_3;
  uVar7 = (int)uVar1 >> 0x1f;
  *(uint *)(iVar2 + 0x10) = uVar1;
  *(uint *)(iVar2 + 0x18) = param_3[1];
  *(uint *)(iVar2 + 0x14) = uVar7;
  iVar3 = param_2 + 4;
  iVar4 = iVar3;
  iVar5 = *(int *)(param_2 + 8);
  if (*(int *)(param_2 + 8) == 0) {
LAB_00150f1c:
    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;
    iVar5 = FUN_00181de0(iVar4);
    uVar6 = *(uint *)(iVar5 + 0x10);
    local_24 = *(uint *)(iVar5 + 0x14);
  }
  else {
    do {
      iVar4 = iVar5;
      local_24 = *(uint *)(iVar4 + 0x14);
      uVar6 = *(uint *)(iVar4 + 0x10);
      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);
      if (bVar8) {
        iVar5 = *(int *)(iVar4 + 8);
      }
      else {
        iVar5 = *(int *)(iVar4 + 0xc);
      }
    } while (iVar5 != 0);
    iVar5 = iVar4;
    if (bVar8) goto LAB_00150f1c;
  }
  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {
    if (iVar4 != 0) {
joined_r0x00150eb8:
      bVar8 = true;
      if (iVar3 != iVar4) {
        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||
                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));
      }
      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar5 = 0;
  }
  FUN_001807a0(iVar2);
  *param_1 = iVar5;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1b11e7
SUB ESP,0x38
MOV ESI,dword ptr [ESP + 0x54]
PUSH 0x1c
CALL 0x0017ebf0
MOV EDI,EAX
MOV EAX,dword ptr [ESI]
CDQ
MOV dword ptr [ESP + 0x2c],EAX
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [EDI + 0x10],EAX
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [EDI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x54]
MOV dword ptr [EDI + 0x14],EDX
MOV ESI,dword ptr [EAX + 0x8]
ADD EAX,0x4
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x00150e76
JMP 0x00150f18
MOV EAX,dword ptr [ESI + 0x8]
MOV EBP,0x1
TEST EAX,EAX
JZ 0x00150e91
MOV ESI,EAX
MOV EDX,dword ptr [ESI + 0x14]
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESI + 0x10]
CMP dword ptr [ESP + 0x8],ECX
SBB EAX,EDX
JC 0x00150e68
MOV EAX,dword ptr [ESI + 0xc]
XOR EBP,EBP
TEST EAX,EAX
JNZ 0x00150e74
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,EBP
MOV EAX,ESI
TEST DL,DL
JNZ 0x00150f1c
CMP ECX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x18]
SBB EDX,dword ptr [ESP + 0xc]
JNC 0x00150eef
TEST EAX,EAX
JZ 0x00150eed
MOV EDX,0x1
CMP dword ptr [ESP + 0x14],EAX
JNZ 0x00150f61
PUSH dword ptr [ESP + 0x14]
PUSH EAX
PUSH EDI
PUSH EDX
CALL 0x00181ec0
MOV EAX,dword ptr [ESP + 0x54]
ADD dword ptr [EAX + 0x14],0x1
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX],EDI
MOV byte ptr [EAX + 0x4],0x1
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
XOR ESI,ESI
SUB ESP,0xc
PUSH EDI
CALL 0x001807a0
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX],ESI
MOV byte ptr [EAX + 0x4],0x0
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV ESI,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x44]
CMP dword ptr [EAX + 0xc],ESI
JZ 0x00150f50
SUB ESP,0xc
PUSH ESI
CALL 0x00181de0
ADD ESP,0x10
MOV EBP,EAX
MOV ECX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,ESI
MOV ESI,EBP
JMP 0x00150e9d
MOV EAX,ESI
MOV EDX,0x1
CMP dword ptr [ESP + 0x14],EAX
JZ 0x00150ebe
MOV ECX,dword ptr [ESP + 0x1c]
CMP ECX,dword ptr [EAX + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
SBB ECX,dword ptr [EAX + 0x14]
SETC DL
MOVZX EDX,DL
JMP 0x00150ebe
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00150e10(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00150e10(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00150e10(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_00150e10(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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_0017ebf0(0x1c);" (assignment_expression "iVar2 = FUN_0017ebf0(0x1c)" identifier = (call_expression "FUN_0017ebf0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal )))) ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar7 = (int)uVar1 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar1 >> 0x1f" identifier = (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (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) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x14) = uVar7" (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) )))) = identifier) ;) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(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) ))))) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\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 "{\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }" { (labeled_statement "LAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (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) )))) == identifier) )) (goto_statement "goto joined_r0x00150eb8;" goto statement_identifier ;))) (expression_statement "iVar5 = FUN_00181de0(iVar4);" (assignment_expression "iVar5 = FUN_00181de0(iVar4)" identifier = (call_expression "FUN_00181de0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(uint *)(iVar5 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar5 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x14)" * (cast_expression "(uint *)(iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" else (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" { (do_statement "do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" do (compound_statement "{\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" { (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (expression_statement "local_24 = *(uint *)(iVar4 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);" (assignment_expression "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" identifier = (binary_expression "uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 < local_24" identifier < identifier) || (binary_expression "uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 - local_24" identifier - identifier) < (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))))) ;) (if_statement "if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" else (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) }))) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (bVar8) goto LAB_00150f1c;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_00150f1c;" goto statement_identifier ;)) }))) (if_statement "if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" if (parenthesized_expression "(local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1))" ( (binary_expression "local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 < uVar7" identifier < identifier) || (binary_expression "local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 - uVar7" identifier - identifier) < (call_expression "(uint)(uVar6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) ))))) )) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" { (if_statement "if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x00150eb8:\n      bVar8 = true;" statement_identifier : (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;)) (if_statement "if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" if (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) (compound_statement "{\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" { (expression_statement "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));" (assignment_expression "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" identifier = (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) || (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14)" identifier - (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) < (call_expression "(uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < *(uint *)(iVar4 + 0x10))" ( (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))))) ;) })) (expression_statement "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);" (call_expression "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3)" identifier (argument_list "(bVar8,iVar2,iVar4,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: _M_emplace_unique<std::pair<int, gold::Cie*> >\n   DWARF original prototype:\n   pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool>\n   _M_emplace_unique<std::pair<int,_gold::Cie*>_>(_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n   * this, pair<int,_gold::Cie*> * __args#0) */\n\npair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> __thiscall\nstd::\n_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n::_M_emplace_unique<std::pair<int,_gold::Cie*>_>\n          (_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n           *this,pair<int,_gold::Cie*> *__args_0)\n\n{\n  size_t *psVar1;\n  _Rb_tree_color _Var2;\n  _Rb_tree_node_base *p_Var3;\n  _Rb_tree_header *p_Var4;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_color _Var7;\n  _Base_ptr p_Var8;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  bool bVar9;\n  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar10;\n  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar11;\n  _Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_> in_stack_00000004;\n  _Base_ptr local_24;\n  \n  p_Var3 = (_Rb_tree_node_base *)operator_new(0x1c);\n  _Var2 = __args_0->first;\n  p_Var8 = (_Base_ptr)((int)_Var2 >> 0x1f);\n  p_Var3[1]._M_color = _Var2;\n  p_Var3[1]._M_left = (_Base_ptr)__args_0->second;\n  p_Var3[1]._M_parent = p_Var8;\n  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var4 = &(this->_M_impl).super__Rb_tree_header;\n  p_Var5 = &p_Var4->_M_header;\n  if (p_Var6 == (_Rb_tree_node_base *)0x0) {\nLAB_00150f1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;\n    p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);\n    _Var7 = p_Var6[1]._M_color;\n    local_24 = p_Var6[1]._M_parent;\n  }\n  else {\n    do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = p_Var5;\n    if (bVar9) goto LAB_00150f1c;\n  }\n  if (local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)) {\n    if (p_Var5 != (_Rb_tree_node_base *)0x0) {\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }\n    p_Var6 = (_Rb_tree_node_base *)0x0;\n  }\n  operator_delete(p_Var3);\n  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var6;\n  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;\n  pVar11._4_4_ = extraout_EDX_00;\n  pVar11.first._M_node = in_stack_00000004._M_node;\n  return pVar11;\n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> __thiscall\nstd::\n_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n::_M_emplace_unique<std::pair<int,_gold::Cie*>_>\n          (_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n           *this,pair<int,_gold::Cie*> *__args_0)" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , (binary_expression "_gold::Cie*>_>,_bool> __thiscall\nstd::\n_Rb_tree<long_long_unsigned_int" (binary_expression "_gold::Cie*>_>,_bool> __thiscall" (binary_expression "_gold::Cie*>_>,_bool" (binary_expression "_gold::Cie*>_" identifier (ERROR "::Cie*" : : identifier *) > identifier) > (ERROR "," ,) identifier) > identifier) (ERROR "std::\n_Rb_tree" identifier : : identifier) < identifier) , (binary_expression "_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std" (binary_expression "_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_" identifier (ERROR "::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*" : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Cie*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : : identifier *) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "less<long_long_unsigned_int>,_std" (binary_expression "less<long_long_unsigned_int" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , (binary_expression "_gold::Cie*>_>_>\n::_M_emplace_unique<std" (binary_expression "_gold::Cie*>_>_>\n::_M_emplace_unique" (binary_expression "_gold::Cie*>_>_" (binary_expression "_gold::Cie*>_" identifier (ERROR "::Cie*" : : identifier *) > identifier) > identifier) > (ERROR "::" : :) identifier) < identifier) : : (binary_expression "pair<int" identifier < identifier) , (binary_expression "_gold::Cie*>_>\n          (_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n           *this,pair<int,_gold::Cie*> *__args_0)" (binary_expression "_gold::Cie*>_" identifier (ERROR "::Cie*" : : identifier *) > identifier) > (parenthesized_expression "(_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n           *this,pair<int,_gold::Cie*> *__args_0)" ( (ERROR "_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>\n           *this,pair<int,_gold::" (comma_expression "_Rb_tree<long_long_unsigned_int,_std" (binary_expression "_Rb_tree<long_long_unsigned_int" identifier < identifier) , identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Cie*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : : (binary_expression "Cie*>_>,_std" (binary_expression "Cie*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : : (binary_expression "less<long_long_unsigned_int>,_std" (binary_expression "less<long_long_unsigned_int" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : : (comma_expression "Cie*>_>_>\n           *this,pair<int,_gold" (binary_expression "Cie*>_>_>\n           *this" (binary_expression "Cie*>_>_" (binary_expression "Cie*>_" identifier * (ERROR ">" >) identifier) > identifier) > (pointer_expression "*this" * identifier)) , (comma_expression "pair<int,_gold" (binary_expression "pair<int" identifier < identifier) , identifier)) : :) (binary_expression "Cie*> *__args_0" identifier * (ERROR ">" >) (pointer_expression "*__args_0" * identifier)) )))) (compound_statement "{\n  size_t *psVar1;\n  _Rb_tree_color _Var2;\n  _Rb_tree_node_base *p_Var3;\n  _Rb_tree_header *p_Var4;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_color _Var7;\n  _Base_ptr p_Var8;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  bool bVar9;\n  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar10;\n  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool> pVar11;\n  _Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_> in_stack_00000004;\n  _Base_ptr local_24;\n  \n  p_Var3 = (_Rb_tree_node_base *)operator_new(0x1c);\n  _Var2 = __args_0->first;\n  p_Var8 = (_Base_ptr)((int)_Var2 >> 0x1f);\n  p_Var3[1]._M_color = _Var2;\n  p_Var3[1]._M_left = (_Base_ptr)__args_0->second;\n  p_Var3[1]._M_parent = p_Var8;\n  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var4 = &(this->_M_impl).super__Rb_tree_header;\n  p_Var5 = &p_Var4->_M_header;\n  if (p_Var6 == (_Rb_tree_node_base *)0x0) {\nLAB_00150f1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;\n    p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);\n    _Var7 = p_Var6[1]._M_color;\n    local_24 = p_Var6[1]._M_parent;\n  }\n  else {\n    do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = p_Var5;\n    if (bVar9) goto LAB_00150f1c;\n  }\n  if (local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)) {\n    if (p_Var5 != (_Rb_tree_node_base *)0x0) {\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }\n    p_Var6 = (_Rb_tree_node_base *)0x0;\n  }\n  operator_delete(p_Var3);\n  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var6;\n  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;\n  pVar11._4_4_ = extraout_EDX_00;\n  pVar11.first._M_node = in_stack_00000004._M_node;\n  return pVar11;\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "_Rb_tree_color _Var2;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "_Rb_tree_header *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var6;" type_identifier (pointer_declarator "*p_Var6" * identifier) ;) (declaration "_Rb_tree_color _Var7;" type_identifier identifier ;) (declaration "_Base_ptr p_Var8;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_00;" type_identifier identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (ERROR "pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : :) (expression_statement "Cie*>_>,_bool> pVar10;" (binary_expression "Cie*>_>,_bool> pVar10" (binary_expression "Cie*>_>,_bool" (binary_expression "Cie*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) > identifier) ;) (ERROR "pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (comma_expression "pair<long_long_unsigned_int_const,_gold" (binary_expression "pair<long_long_unsigned_int_const" identifier < identifier) , identifier) : :) (expression_statement "Cie*>_>,_bool> pVar11;" (binary_expression "Cie*>_>,_bool> pVar11" (binary_expression "Cie*>_>,_bool" (binary_expression "Cie*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) > identifier) ;) (ERROR "_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::" (comma_expression "_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold" (binary_expression "_Rb_tree_iterator<std::pair<long_long_unsigned_int_const" (binary_expression "_Rb_tree_iterator<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : :) (expression_statement "Cie*>_> in_stack_00000004;" (binary_expression "Cie*>_> in_stack_00000004" (binary_expression "Cie*>_" identifier * (ERROR ">" >) identifier) > identifier) ;) (declaration "_Base_ptr local_24;" type_identifier identifier ;) (expression_statement "p_Var3 = (_Rb_tree_node_base *)operator_new(0x1c);" (assignment_expression "p_Var3 = (_Rb_tree_node_base *)operator_new(0x1c)" identifier = (cast_expression "(_Rb_tree_node_base *)operator_new(0x1c)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "_Var2 = __args_0->first;" (assignment_expression "_Var2 = __args_0->first" identifier = (field_expression "__args_0->first" identifier -> field_identifier)) ;) (expression_statement "p_Var8 = (_Base_ptr)((int)_Var2 >> 0x1f);" (assignment_expression "p_Var8 = (_Base_ptr)((int)_Var2 >> 0x1f)" identifier = (call_expression "(_Base_ptr)((int)_Var2 >> 0x1f)" (parenthesized_expression "(_Base_ptr)" ( identifier )) (argument_list "((int)_Var2 >> 0x1f)" ( (binary_expression "(int)_Var2 >> 0x1f" (cast_expression "(int)_Var2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "p_Var3[1]._M_color = _Var2;" (assignment_expression "p_Var3[1]._M_color = _Var2" (field_expression "p_Var3[1]._M_color" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "p_Var3[1]._M_left = (_Base_ptr)__args_0->second;" (assignment_expression "p_Var3[1]._M_left = (_Base_ptr)__args_0->second" (field_expression "p_Var3[1]._M_left" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_Base_ptr)__args_0->second" ( (type_descriptor "_Base_ptr" type_identifier) ) (field_expression "__args_0->second" identifier -> field_identifier))) ;) (expression_statement "p_Var3[1]._M_parent = p_Var8;" (assignment_expression "p_Var3[1]._M_parent = p_Var8" (field_expression "p_Var3[1]._M_parent" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var6 = (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)) ;) (expression_statement "p_Var4 = &(this->_M_impl).super__Rb_tree_header;" (assignment_expression "p_Var4 = &(this->_M_impl).super__Rb_tree_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_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))) ;) (expression_statement "p_Var5 = &p_Var4->_M_header;" (assignment_expression "p_Var5 = &p_Var4->_M_header" identifier = (pointer_expression "&p_Var4->_M_header" & (field_expression "p_Var4->_M_header" identifier -> field_identifier))) ;) (if_statement "if (p_Var6 == (_Rb_tree_node_base *)0x0) {\nLAB_00150f1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;\n    p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);\n    _Var7 = p_Var6[1]._M_color;\n    local_24 = p_Var6[1]._M_parent;\n  }\n  else {\n    do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = p_Var5;\n    if (bVar9) goto LAB_00150f1c;\n  }" if (parenthesized_expression "(p_Var6 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var6 == (_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 "{\nLAB_00150f1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;\n    p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);\n    _Var7 = p_Var6[1]._M_color;\n    local_24 = p_Var6[1]._M_parent;\n  }" { (labeled_statement "LAB_00150f1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;" statement_identifier : (if_statement "if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5) goto joined_r0x00150eb8;" if (parenthesized_expression "((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5)" ( (binary_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var5" (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) == identifier) )) (goto_statement "goto joined_r0x00150eb8;" goto statement_identifier ;))) (expression_statement "p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5);" (assignment_expression "p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5)" identifier = (cast_expression "(_Rb_tree_node_base *)_Rb_tree_decrement(p_Var5)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_Rb_tree_decrement(p_Var5)" identifier (argument_list "(p_Var5)" ( identifier ))))) ;) (expression_statement "_Var7 = p_Var6[1]._M_color;" (assignment_expression "_Var7 = p_Var6[1]._M_color" identifier = (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "local_24 = p_Var6[1]._M_parent;" (assignment_expression "local_24 = p_Var6[1]._M_parent" identifier = (field_expression "p_Var6[1]._M_parent" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) ;) }) (else_clause "else {\n    do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = p_Var5;\n    if (bVar9) goto LAB_00150f1c;\n  }" else (compound_statement "{\n    do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = p_Var5;\n    if (bVar9) goto LAB_00150f1c;\n  }" { (do_statement "do {\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);" do (compound_statement "{\n      p_Var5 = p_Var6;\n      local_24 = p_Var5[1]._M_parent;\n      _Var7 = p_Var5[1]._M_color;\n      bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);\n      if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }\n    }" { (expression_statement "p_Var5 = p_Var6;" (assignment_expression "p_Var5 = p_Var6" identifier = identifier) ;) (expression_statement "local_24 = p_Var5[1]._M_parent;" (assignment_expression "local_24 = p_Var5[1]._M_parent" identifier = (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "_Var7 = p_Var5[1]._M_color;" (assignment_expression "_Var7 = p_Var5[1]._M_color" identifier = (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7);" (assignment_expression "bVar9 = p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7)" identifier = (binary_expression "p_Var8 < local_24 || (uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7)" (binary_expression "p_Var8 < local_24" identifier < identifier) || (binary_expression "(uint)((int)p_Var8 - (int)local_24) < (uint)(_Var2 < _Var7)" (call_expression "(uint)((int)p_Var8 - (int)local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p_Var8 - (int)local_24)" ( (binary_expression "(int)p_Var8 - (int)local_24" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < (call_expression "(uint)(_Var2 < _Var7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(_Var2 < _Var7)" ( (binary_expression "_Var2 < _Var7" identifier < identifier) )))))) ;) (if_statement "if (bVar9) {\n        p_Var6 = p_Var5->_M_left;\n      }\n      else {\n        p_Var6 = p_Var5->_M_right;\n      }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n        p_Var6 = p_Var5->_M_left;\n      }" { (expression_statement "p_Var6 = p_Var5->_M_left;" (assignment_expression "p_Var6 = p_Var5->_M_left" identifier = (field_expression "p_Var5->_M_left" identifier -> field_identifier)) ;) }) (else_clause "else {\n        p_Var6 = p_Var5->_M_right;\n      }" else (compound_statement "{\n        p_Var6 = p_Var5->_M_right;\n      }" { (expression_statement "p_Var6 = p_Var5->_M_right;" (assignment_expression "p_Var6 = p_Var5->_M_right" identifier = (field_expression "p_Var5->_M_right" identifier -> field_identifier)) ;) }))) }) while (parenthesized_expression "(p_Var6 != (_Base_ptr)0x0)" ( (binary_expression "p_Var6 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (expression_statement "p_Var6 = p_Var5;" (assignment_expression "p_Var6 = p_Var5" identifier = identifier) ;) (if_statement "if (bVar9) goto LAB_00150f1c;" if (parenthesized_expression "(bVar9)" ( identifier )) (goto_statement "goto LAB_00150f1c;" goto statement_identifier ;)) }))) (if_statement "if (local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)) {\n    if (p_Var5 != (_Rb_tree_node_base *)0x0) {\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }\n    p_Var6 = (_Rb_tree_node_base *)0x0;\n  }" if (parenthesized_expression "(local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2))" ( (binary_expression "local_24 < p_Var8 || (uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)" (binary_expression "local_24 < p_Var8" identifier < identifier) || (binary_expression "(uint)((int)local_24 - (int)p_Var8) < (uint)(_Var7 < _Var2)" (call_expression "(uint)((int)local_24 - (int)p_Var8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_24 - (int)p_Var8)" ( (binary_expression "(int)local_24 - (int)p_Var8" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < (call_expression "(uint)(_Var7 < _Var2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(_Var7 < _Var2)" ( (binary_expression "_Var7 < _Var2" identifier < identifier) ))))) )) (compound_statement "{\n    if (p_Var5 != (_Rb_tree_node_base *)0x0) {\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }\n    p_Var6 = (_Rb_tree_node_base *)0x0;\n  }" { (if_statement "if (p_Var5 != (_Rb_tree_node_base *)0x0) {\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }" if (parenthesized_expression "(p_Var5 != (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var5 != (_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 "{\njoined_r0x00150eb8:\n      bVar9 = true;\n      if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }\n      _Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar10._4_4_ = extraout_EDX;\n      pVar10.first._M_node = in_stack_00000004._M_node;\n      return pVar10;\n    }" { (labeled_statement "joined_r0x00150eb8:\n      bVar9 = true;" statement_identifier : (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;)) (if_statement "if (p_Var4 != (_Rb_tree_header *)p_Var5) {\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }" if (parenthesized_expression "(p_Var4 != (_Rb_tree_header *)p_Var5)" ( (binary_expression "p_Var4 != (_Rb_tree_header *)p_Var5" identifier != (cast_expression "(_Rb_tree_header *)p_Var5" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);\n      }" { (expression_statement "bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color);" (assignment_expression "bVar9 = p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color)" identifier = (binary_expression "p_Var8 < p_Var5[1]._M_parent ||\n                (uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color)" (binary_expression "p_Var8 < p_Var5[1]._M_parent" identifier < (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) || (binary_expression "(uint)((int)p_Var8 - (int)p_Var5[1]._M_parent) < (uint)(_Var2 < p_Var5[1]._M_color)" (call_expression "(uint)((int)p_Var8 - (int)p_Var5[1]._M_parent)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p_Var8 - (int)p_Var5[1]._M_parent)" ( (binary_expression "(int)p_Var8 - (int)p_Var5[1]._M_parent" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var5[1]._M_parent" ( (type_descriptor "int" primitive_type) ) (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier))) ))) < (call_expression "(uint)(_Var2 < p_Var5[1]._M_color)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(_Var2 < p_Var5[1]._M_color)" ( (binary_expression "_Var2 < p_Var5[1]._M_color" identifier < (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) )))))) ;) })) (expression_statement "_Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header);" (call_expression "_Rb_tree_insert_and_rebalance(bVar9,p_Var3,p_Var5,&p_Var4->_M_header)" identifier (argument_list "(bVar9,p_Var3,p_Var5,&p_Var4->_M_header)" ( identifier , identifier , identifier , (pointer_expression "&p_Var4->_M_header" & (field_expression "p_Var4->_M_header" identifier -> field_identifier)) ))) ;) (expression_statement "psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;" (assignment_expression "psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header._M_node_count" & (field_expression "(this->_M_impl).super__Rb_tree_header._M_node_count" (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))) ;) (expression_statement "*psVar1 = *psVar1 + 1;" (assignment_expression "*psVar1 = *psVar1 + 1" (pointer_expression "*psVar1" * identifier) = (binary_expression "*psVar1 + 1" (pointer_expression "*psVar1" * identifier) + number_literal)) ;) (expression_statement "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3;" (assignment_expression "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var3" (field_expression "(in_stack_00000004._M_node)->_M_color" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var3" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;" (assignment_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1" (pointer_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" * (cast_expression "(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(in_stack_00000004._M_node)->_M_parent" & (field_expression "(in_stack_00000004._M_node)->_M_parent" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier)))) = number_literal) ;) (expression_statement "pVar10._4_4_ = extraout_EDX;" (assignment_expression "pVar10._4_4_ = extraout_EDX" (field_expression "pVar10._4_4_" identifier . field_identifier) = identifier) ;) (expression_statement "pVar10.first._M_node = in_stack_00000004._M_node;" (assignment_expression "pVar10.first._M_node = in_stack_00000004._M_node" (field_expression "pVar10.first._M_node" (field_expression "pVar10.first" identifier . field_identifier) . field_identifier) = (field_expression "in_stack_00000004._M_node" identifier . field_identifier)) ;) (return_statement "return pVar10;" return identifier ;) })) (expression_statement "p_Var6 = (_Rb_tree_node_base *)0x0;" (assignment_expression "p_Var6 = (_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)) ;) })) (expression_statement "operator_delete(p_Var3);" (call_expression "operator_delete(p_Var3)" identifier (argument_list "(p_Var3)" ( identifier ))) ;) (expression_statement "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var6;" (assignment_expression "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var6" (field_expression "(in_stack_00000004._M_node)->_M_color" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var6" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;" (assignment_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0" (pointer_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" * (cast_expression "(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(in_stack_00000004._M_node)->_M_parent" & (field_expression "(in_stack_00000004._M_node)->_M_parent" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier)))) = number_literal) ;) (expression_statement "pVar11._4_4_ = extraout_EDX_00;" (assignment_expression "pVar11._4_4_ = extraout_EDX_00" (field_expression "pVar11._4_4_" identifier . field_identifier) = identifier) ;) (expression_statement "pVar11.first._M_node = in_stack_00000004._M_node;" (assignment_expression "pVar11.first._M_node = in_stack_00000004._M_node" (field_expression "pVar11.first._M_node" (field_expression "pVar11.first" identifier . field_identifier) . field_identifier) = (field_expression "in_stack_00000004._M_node" identifier . field_identifier)) ;) (return_statement "return pVar11;" return identifier ;) }))
(translation_unit "int * FUN_00150e10(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" (function_definition "int * FUN_00150e10(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00150e10(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_00150e10(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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_0017ebf0(0x1c);" (assignment_expression "iVar2 = FUN_0017ebf0(0x1c)" identifier = (call_expression "FUN_0017ebf0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal )))) ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar7 = (int)uVar1 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar1 >> 0x1f" identifier = (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (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) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x14) = uVar7" (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) )))) = identifier) ;) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(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) ))))) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\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 "{\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }" { (labeled_statement "LAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (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) )))) == identifier) )) (goto_statement "goto joined_r0x00150eb8;" goto statement_identifier ;))) (expression_statement "iVar5 = FUN_00181de0(iVar4);" (assignment_expression "iVar5 = FUN_00181de0(iVar4)" identifier = (call_expression "FUN_00181de0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(uint *)(iVar5 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar5 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x14)" * (cast_expression "(uint *)(iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" else (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" { (do_statement "do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" do (compound_statement "{\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" { (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (expression_statement "local_24 = *(uint *)(iVar4 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);" (assignment_expression "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" identifier = (binary_expression "uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 < local_24" identifier < identifier) || (binary_expression "uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 - local_24" identifier - identifier) < (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))))) ;) (if_statement "if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" else (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) }))) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (bVar8) goto LAB_00150f1c;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_00150f1c;" goto statement_identifier ;)) }))) (if_statement "if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" if (parenthesized_expression "(local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1))" ( (binary_expression "local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 < uVar7" identifier < identifier) || (binary_expression "local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 - uVar7" identifier - identifier) < (call_expression "(uint)(uVar6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) ))))) )) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" { (if_statement "if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x00150eb8:\n      bVar8 = true;" statement_identifier : (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;)) (if_statement "if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" if (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) (compound_statement "{\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" { (expression_statement "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));" (assignment_expression "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" identifier = (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) || (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14)" identifier - (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) < (call_expression "(uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < *(uint *)(iVar4 + 0x10))" ( (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))))) ;) })) (expression_statement "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);" (call_expression "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3)" identifier (argument_list "(bVar8,iVar2,iVar4,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = 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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (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) ))))) ;) (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 = (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (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) ))))) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (binary_expression (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00150e10(int *param_1,int param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00150e10(int *param_1,int param_2,uint *param_3)" (* "*") (function_declarator "FUN_00150e10(int *param_1,int param_2,uint *param_3)" (identifier "FUN_00150e10") (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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  uint local_24;\n  \n  iVar2 = FUN_0017ebf0(0x1c);\n  uVar1 = *param_3;\n  uVar7 = (int)uVar1 >> 0x1f;\n  *(uint *)(iVar2 + 0x10) = uVar1;\n  *(uint *)(iVar2 + 0x18) = param_3[1];\n  *(uint *)(iVar2 + 0x14) = uVar7;\n  iVar3 = param_2 + 4;\n  iVar4 = iVar3;\n  iVar5 = *(int *)(param_2 + 8);\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }\n  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar5;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (expression_statement "iVar2 = FUN_0017ebf0(0x1c);" (assignment_expression "iVar2 = FUN_0017ebf0(0x1c)" (identifier "iVar2") (= "=") (call_expression "FUN_0017ebf0(0x1c)" (identifier "FUN_0017ebf0") (argument_list "(0x1c)" (( "(") (number_literal "0x1c") () ")")))) (; ";")) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" (identifier "uVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar7 = (int)uVar1 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar1 >> 0x1f" (identifier "uVar7") (= "=") (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x10) = uVar1;" (assignment_expression "*(uint *)(iVar2 + 0x10) = uVar1" (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")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x18) = param_3[1];" (assignment_expression "*(uint *)(iVar2 + 0x18) = param_3[1]" (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x14) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x14) = uVar7" (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")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar3 = param_2 + 4;" (assignment_expression "iVar3 = param_2 + 4" (identifier "iVar3") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar5 = *(int *)(param_2 + 8);" (assignment_expression "iVar5 = *(int *)(param_2 + 8)" (identifier "iVar5") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }\n  else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\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 "{\nLAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;\n    iVar5 = FUN_00181de0(iVar4);\n    uVar6 = *(uint *)(iVar5 + 0x10);\n    local_24 = *(uint *)(iVar5 + 0x14);\n  }" ({ "{") (labeled_statement "LAB_00150f1c:\n    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" (statement_identifier "LAB_00150f1c") (: ":") (if_statement "if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar4)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) == iVar4" (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")) () ")")))) (== "==") (identifier "iVar4")) () ")")) (goto_statement "goto joined_r0x00150eb8;" (goto "goto") (statement_identifier "joined_r0x00150eb8") (; ";")))) (expression_statement "iVar5 = FUN_00181de0(iVar4);" (assignment_expression "iVar5 = FUN_00181de0(iVar4)" (identifier "iVar5") (= "=") (call_expression "FUN_00181de0(iVar4)" (identifier "FUN_00181de0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x10)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x10)" (* "*") (cast_expression "(uint *)(iVar5 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "local_24 = *(uint *)(iVar5 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar5 + 0x14)" (identifier "local_24") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x14)" (* "*") (cast_expression "(uint *)(iVar5 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" (else "else") (compound_statement "{\n    do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);\n    iVar5 = iVar4;\n    if (bVar8) goto LAB_00150f1c;\n  }" ({ "{") (do_statement "do {\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    } while (iVar5 != 0);" (do "do") (compound_statement "{\n      iVar4 = iVar5;\n      local_24 = *(uint *)(iVar4 + 0x14);\n      uVar6 = *(uint *)(iVar4 + 0x10);\n      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);\n      if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }\n    }" ({ "{") (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" (identifier "iVar4") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "local_24 = *(uint *)(iVar4 + 0x14);" (assignment_expression "local_24 = *(uint *)(iVar4 + 0x14)" (identifier "local_24") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar6 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0x10)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);" (assignment_expression "bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" (identifier "bVar8") (= "=") (binary_expression "uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 < local_24" (identifier "uVar7") (< "<") (identifier "local_24")) (|| "||") (binary_expression "uVar7 - local_24 < (uint)(uVar1 < uVar6)" (binary_expression "uVar7 - local_24" (identifier "uVar7") (- "-") (identifier "local_24")) (< "<") (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < uVar6)" (( "(") (binary_expression "uVar1 < uVar6" (identifier "uVar1") (< "<") (identifier "uVar6")) () ")")))))) (; ";")) (if_statement "if (bVar8) {\n        iVar5 = *(int *)(iVar4 + 8);\n      }\n      else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 8);\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" (else "else") (compound_statement "{\n        iVar5 = *(int *)(iVar4 + 0xc);\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (bVar8) goto LAB_00150f1c;" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (goto_statement "goto LAB_00150f1c;" (goto "goto") (statement_identifier "LAB_00150f1c") (; ";"))) (} "}")))) (if_statement "if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" (if "if") (parenthesized_expression "(local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1))" (( "(") (binary_expression "local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 < uVar7" (identifier "local_24") (< "<") (identifier "uVar7")) (|| "||") (binary_expression "local_24 - uVar7 < (uint)(uVar6 < uVar1)" (binary_expression "local_24 - uVar7" (identifier "local_24") (- "-") (identifier "uVar7")) (< "<") (call_expression "(uint)(uVar6 < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < uVar1)" (( "(") (binary_expression "uVar6 < uVar1" (identifier "uVar6") (< "<") (identifier "uVar1")) () ")"))))) () ")")) (compound_statement "{\n    if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar5 = 0;\n  }" ({ "{") (if_statement "if (iVar4 != 0) {\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\njoined_r0x00150eb8:\n      bVar8 = true;\n      if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }\n      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" ({ "{") (labeled_statement "joined_r0x00150eb8:\n      bVar8 = true;" (statement_identifier "joined_r0x00150eb8") (: ":") (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" (identifier "bVar8") (= "=") (true "true")) (; ";"))) (if_statement "if (iVar3 != iVar4) {\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" (if "if") (parenthesized_expression "(iVar3 != iVar4)" (( "(") (binary_expression "iVar3 != iVar4" (identifier "iVar3") (!= "!=") (identifier "iVar4")) () ")")) (compound_statement "{\n        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));\n      }" ({ "{") (expression_statement "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));" (assignment_expression "bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (identifier "bVar8") (= "=") (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14) ||\n                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 < *(uint *)(iVar4 + 0x14)" (identifier "uVar7") (< "<") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (|| "||") (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (binary_expression "uVar7 - *(uint *)(iVar4 + 0x14)" (identifier "uVar7") (- "-") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (< "<") (call_expression "(uint)(uVar1 < *(uint *)(iVar4 + 0x10))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < *(uint *)(iVar4 + 0x10))" (( "(") (binary_expression "uVar1 < *(uint *)(iVar4 + 0x10)" (identifier "uVar1") (< "<") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))))) (; ";")) (} "}"))) (expression_statement "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);" (call_expression "FUN_00181ec0(bVar8,iVar2,iVar4,iVar3)" (identifier "FUN_00181ec0") (argument_list "(bVar8,iVar2,iVar4,iVar3)" (( "(") (identifier "bVar8") (, ",") (identifier "iVar2") (, ",") (identifier "iVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" (identifier "FUN_001807a0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace_unique<std::pair<int, gold::Cie*> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_bool>
   _M_emplace_unique<std::pair<int,_gold::Cie*>_>(_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::Cie*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::Cie*>_>_>
   * this, pair<int,_gold::Cie*> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>,var_3> __thiscall
std::
_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::var_1*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>var_2>
::_M_emplace_unique<std::pair<int,_gold::var_1*>var_2>
          (_Rb_tree<long_long_unsigned_int,_std::pair<long_long_unsigned_int_const,_gold::var_1*>,_std::_Select1st<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>,_std::less<long_long_unsigned_int>,_std::allocator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>var_2>
           *this,pair<int,_gold::var_1*> *__args_0)

{
  size_t *psVar1;
  type_1 var_13;
  type_2 *p_Var3;
  type_3 *var_15;
  type_2 *var_9;
  type_2 *var_8;
  type_1 var_14;
  type_4 var_11;
  type_5 extraout_EDX;
  type_5 extraout_EDX_00;
  bool bVar9;
  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>,var_3> var_4;
  pair<std::_Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2>,var_3> var_5;
  _Rb_tree_iterator<std::pair<long_long_unsigned_int_const,_gold::var_1*>var_2> var_6;
  type_4 var_12;
  
  p_Var3 = (type_2 *)var_7(0x1c);
  var_13 = __args_0->first;
  var_11 = (type_4)((int)var_13 >> 0x1f);
  p_Var3[1]._M_color = var_13;
  p_Var3[1]._M_left = (type_4)__args_0->second;
  p_Var3[1]._M_parent = var_11;
  var_8 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  var_15 = &(this->_M_impl).super__Rb_tree_header;
  var_9 = &var_15->_M_header;
  if (var_8 == (type_2 *)0x0) {
LAB_00150f1c:
    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == var_9) goto joined_r0x00150eb8;
    var_8 = (type_2 *)var_10(var_9);
    var_14 = var_8[1]._M_color;
    var_12 = var_8[1]._M_parent;
  }
  else {
    do {
      var_9 = var_8;
      var_12 = var_9[1]._M_parent;
      var_14 = var_9[1]._M_color;
      bVar9 = var_11 < var_12 || (uint)((int)var_11 - (int)var_12) < (uint)(var_13 < var_14);
      if (bVar9) {
        var_8 = var_9->_M_left;
      }
      else {
        var_8 = var_9->_M_right;
      }
    } while (var_8 != (type_4)0x0);
    var_8 = var_9;
    if (bVar9) goto LAB_00150f1c;
  }
  if (var_12 < var_11 || (uint)((int)var_12 - (int)var_11) < (uint)(var_14 < var_13)) {
    if (var_9 != (type_2 *)0x0) {
joined_r0x00150eb8:
      bVar9 = true;
      if (var_15 != (type_3 *)var_9) {
        bVar9 = var_11 < var_9[1]._M_parent ||
                (uint)((int)var_11 - (int)var_9[1]._M_parent) < (uint)(var_13 < var_9[1]._M_color);
      }
      var_16(bVar9,p_Var3,var_9,&var_15->_M_header);
      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
      *psVar1 = *psVar1 + 1;
      (var_6._M_node)->_M_color = (type_1)p_Var3;
      *(type_6 *)&(var_6._M_node)->_M_parent = 1;
      var_4._4_4_ = extraout_EDX;
      var_4.first._M_node = var_6._M_node;
      return var_4;
    }
    var_8 = (type_2 *)0x0;
  }
  var_17(p_Var3);
  (var_6._M_node)->_M_color = (type_1)var_8;
  *(type_6 *)&(var_6._M_node)->_M_parent = 0;
  var_5._4_4_ = extraout_EDX_00;
  var_5.first._M_node = var_6._M_node;
  return var_5;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (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))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (labeled_statement label: (statement_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: (identifier))) consequence: (goto_statement label: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) alternative: (else_clause (compound_statement (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (identifier)) 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)))))))) 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))))))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (true)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_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)))))) right: (binary_expression left: (binary_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)))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (identifier)))))

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

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

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  bool bVar8;
  uint local_24;
  
  iVar2 = FUN_0017ebf0(0x1c);
  uVar1 = *param_3;
  uVar7 = (int)uVar1 >> 0x1f;
  *(uint *)(iVar2 + 0x10) = uVar1;
  *(uint *)(iVar2 + 0x18) = param_3[1];
  *(uint *)(iVar2 + 0x14) = uVar7;
  iVar3 = param_2 + 4;
  iVar4 = iVar3;
  iVar5 = *(int *)(param_2 + 8);
  if (*(int *)(param_2 + 8) == 0) {
LAB_00150f1c:
    if (*(int *)(param_2 + 0xc) == iVar4) goto joined_r0x00150eb8;
    iVar5 = FUN_00181de0(iVar4);
    uVar6 = *(uint *)(iVar5 + 0x10);
    local_24 = *(uint *)(iVar5 + 0x14);
  }
  else {
    do {
      iVar4 = iVar5;
      local_24 = *(uint *)(iVar4 + 0x14);
      uVar6 = *(uint *)(iVar4 + 0x10);
      bVar8 = uVar7 < local_24 || uVar7 - local_24 < (uint)(uVar1 < uVar6);
      if (bVar8) {
        iVar5 = *(int *)(iVar4 + 8);
      }
      else {
        iVar5 = *(int *)(iVar4 + 0xc);
      }
    } while (iVar5 != 0);
    iVar5 = iVar4;
    if (bVar8) goto LAB_00150f1c;
  }
  if (local_24 < uVar7 || local_24 - uVar7 < (uint)(uVar6 < uVar1)) {
    if (iVar4 != 0) {
joined_r0x00150eb8:
      bVar8 = true;
      if (iVar3 != iVar4) {
        bVar8 = uVar7 < *(uint *)(iVar4 + 0x14) ||
                uVar7 - *(uint *)(iVar4 + 0x14) < (uint)(uVar1 < *(uint *)(iVar4 + 0x10));
      }
      FUN_00181ec0(bVar8,iVar2,iVar4,iVar3);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar5 = 0;
  }
  FUN_001807a0(iVar2);
  *param_1 = iVar5;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}

