
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void
   _M_rehash_aux(_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>
   * this, size_type __n, false_type param_2) */

void __thiscall
std::
_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>
::_M_rehash_aux(void *this,uint __n)

{
  __bucket_type *pp_Var1;
  _Hash_node_base *p_Var2;
  bool bVar3;
  _Hash_node_base *p_Var4;
  bool bVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  __bucket_type p_Var9;
  bool bVar10;
  bool bVar11;
  _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>
  *in_stack_ffffffc4;
  size_t in_stack_ffffffc8;
  __bucket_type *local_30;
  uint local_2c;
  
  if (__n == 1) {
    *(undefined4 *)((int)this + 0x18) = 0;
    local_30 = (__bucket_type *)((int)this + 0x18);
  }
  else {
    local_30 = __detail::
               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>
               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);
  }
  p_Var2 = *(_Hash_node_base **)((int)this + 8);
  *(undefined4 *)((int)this + 8) = 0;
  if (p_Var2 != (_Hash_node_base *)0x0) {
    bVar3 = false;
    local_2c = 0;
    p_Var9 = (__bucket_type)0x0;
    uVar8 = 0;
    do {
      p_Var4 = p_Var2;
      p_Var2 = p_Var4->_M_nxt;
      uVar6 = (uint)p_Var4[1]._M_nxt % __n;
      bVar10 = p_Var9 != (__bucket_type)0x0;
      bVar11 = uVar6 == uVar8;
      bVar5 = bVar10 && bVar11;
      if (bVar5) {
        p_Var4->_M_nxt = p_Var9->_M_nxt;
        p_Var9->_M_nxt = p_Var4;
        bVar3 = bVar5;
      }
      else {
        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&
           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {
          local_30[uVar7] = p_Var9;
        }
        pp_Var1 = local_30 + uVar6;
        if (*pp_Var1 == (__bucket_type)0x0) {
          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);
          *(_Hash_node_base **)((int)this + 8) = p_Var4;
          *pp_Var1 = (__bucket_type)((int)this + 8);
          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {
            local_2c = uVar6;
            bVar3 = false;
          }
          else {
            local_30[local_2c] = p_Var4;
            local_2c = uVar6;
            bVar3 = false;
          }
        }
        else {
          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;
          (*pp_Var1)->_M_nxt = p_Var4;
          bVar3 = false;
        }
      }
      p_Var9 = p_Var4;
      uVar8 = uVar6;
    } while (p_Var2 != (_Hash_node_base *)0x0);
    if (((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&
       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)) {
      local_30[uVar8] = p_Var4;
    }
  }
                    /* WARNING: Load size is inaccurate */
  if (*this != (__bucket_type *)((int)this + 0x18)) {
    operator_delete(*this);
  }
  *(uint *)((int)this + 4) = __n;
  *(__bucket_type **)this = local_30;
  return;
}



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

void FUN_000e1040(int *param_1,uint param_2)

{
  int *piVar1;
  bool bVar2;
  int *piVar3;
  bool bVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  int *piVar8;
  bool bVar9;
  bool bVar10;
  int *local_30;
  uint local_2c;
  
  if (param_2 == 1) {
    param_1[6] = 0;
    local_30 = param_1 + 6;
  }
  else {
    local_30 = (int *)FUN_000dd600();
  }
  piVar1 = (int *)param_1[2];
  param_1[2] = 0;
  if (piVar1 != (int *)0x0) {
    bVar2 = false;
    local_2c = 0;
    piVar8 = (int *)0x0;
    uVar7 = 0;
    do {
      piVar3 = piVar1;
      piVar1 = (int *)*piVar3;
      uVar5 = (uint)piVar3[1] % param_2;
      bVar9 = piVar8 != (int *)0x0;
      bVar10 = uVar5 == uVar7;
      bVar4 = bVar9 && bVar10;
      if (bVar4) {
        *piVar3 = *piVar8;
        *piVar8 = (int)piVar3;
        bVar2 = bVar4;
      }
      else {
        if (((bVar2) && (*piVar8 != 0)) &&
           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {
          local_30[uVar6] = (int)piVar8;
        }
        piVar8 = local_30 + uVar5;
        if ((int *)*piVar8 == (int *)0x0) {
          *piVar3 = param_1[2];
          param_1[2] = (int)piVar3;
          *piVar8 = (int)(param_1 + 2);
          if (*piVar3 == 0) {
            local_2c = uVar5;
            bVar2 = false;
          }
          else {
            local_30[local_2c] = (int)piVar3;
            local_2c = uVar5;
            bVar2 = false;
          }
        }
        else {
          *piVar3 = *(int *)*piVar8;
          *(int **)*piVar8 = piVar3;
          bVar2 = false;
        }
      }
      piVar8 = piVar3;
      uVar7 = uVar5;
    } while (piVar1 != (int *)0x0);
    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&
       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {
      local_30[uVar7] = (int)piVar3;
    }
  }
  if ((int *)*param_1 != param_1 + 6) {
    FUN_00248220((int *)*param_1);
  }
  param_1[1] = param_2;
  *param_1 = (int)local_30;
  return;
}


CALL 0x000b4846
ADD EAX,0x332fbb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x40]
ADD EAX,0x18
CMP dword ptr [ESP + 0x44],0x1
MOV dword ptr [ESP + 0x14],EAX
JZ 0x000e11d0
MOV EAX,dword ptr [ESP + 0x44]
CALL 0x000dd600
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [EAX + 0x8],0x0
TEST ECX,ECX
JZ 0x000e1147
MOV EAX,dword ptr [ESP + 0x40]
MOV byte ptr [ESP + 0xa],0x0
XOR EBX,EBX
XOR EDI,EDI
MOV dword ptr [ESP + 0x10],0x0
ADD EAX,0x8
MOV dword ptr [ESP + 0x18],EAX
JMP 0x000e10c4
MOV EAX,dword ptr [EBX]
MOV byte ptr [ESP + 0xa],DL
MOV dword ptr [ECX],EAX
MOV dword ptr [EBX],ECX
MOV EDI,EBP
MOV EBX,ECX
TEST ESI,ESI
JZ 0x000e1126
MOV ECX,ESI
MOV EAX,dword ptr [ECX + 0x4]
XOR EDX,EDX
MOV ESI,dword ptr [ECX]
DIV dword ptr [ESP + 0x44]
TEST EBX,EBX
MOV EBP,EDX
SETNZ DL
CMP EBP,EDI
SETZ AL
AND DL,AL
MOV byte ptr [ESP + 0xb],DL
JNZ 0x000e10b0
CMP byte ptr [ESP + 0xa],0x0
JZ 0x000e1104
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JZ 0x000e1104
MOV EAX,dword ptr [EAX + 0x4]
XOR EDX,EDX
DIV dword ptr [ESP + 0x44]
CMP EDX,EDI
JZ 0x000e1104
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + EDX*0x4],EBX
MOV EAX,dword ptr [ESP + 0xc]
LEA EAX,[EAX + EBP*0x4]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x000e1180
MOV EDX,dword ptr [EDX]
MOV byte ptr [ESP + 0xa],0x0
MOV EDI,EBP
MOV EBX,ECX
MOV dword ptr [ECX],EDX
MOV EAX,dword ptr [EAX]
MOV dword ptr [EAX],ECX
TEST ESI,ESI
JNZ 0x000e10c2
CMP byte ptr [ESP + 0xb],0x0
JZ 0x000e1147
MOV EAX,dword ptr [ECX]
TEST EAX,EAX
JZ 0x000e1147
MOV EAX,dword ptr [EAX + 0x4]
XOR EDX,EDX
DIV dword ptr [ESP + 0x44]
CMP EBP,EDX
JZ 0x000e1147
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + EDX*0x4],ECX
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX]
CMP EAX,dword ptr [ESP + 0x14]
JZ 0x000e1163
SUB ESP,0xc
PUSH EAX
MOV EBX,dword ptr [ESP + 0x2c]
CALL 0x00248220
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV dword ptr [EAX + 0x4],ESI
MOV ESI,dword ptr [ESP + 0xc]
MOV dword ptr [EAX],ESI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [EDI + 0x8]
MOV dword ptr [ECX],EDX
MOV dword ptr [EDI + 0x8],ECX
MOV EDI,dword ptr [ESP + 0x18]
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ECX]
TEST EAX,EAX
JZ 0x000e11b8
MOV EDI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0xc]
MOV byte ptr [ESP + 0xa],0x0
MOV dword ptr [ESP + 0x10],EBP
MOV dword ptr [EAX + EDI*0x4],ECX
JMP 0x000e10ba
MOV byte ptr [ESP + 0xa],0x0
MOV dword ptr [ESP + 0x10],EBP
JMP 0x000e10ba
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX + 0x18],0x0
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x000e1078
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000e1040(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}\n\n" comment (function_definition "void FUN_000e1040(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" primitive_type (function_declarator "FUN_000e1040(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (if_statement "if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }" { (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30 = param_1 + 6;" (assignment_expression "local_30 = param_1 + 6" identifier = (binary_expression "param_1 + 6" identifier + number_literal)) ;) }) (else_clause "else {\n    local_30 = (int *)FUN_000dd600();\n  }" else (compound_statement "{\n    local_30 = (int *)FUN_000dd600();\n  }" { (expression_statement "local_30 = (int *)FUN_000dd600();" (assignment_expression "local_30 = (int *)FUN_000dd600()" identifier = (cast_expression "(int *)FUN_000dd600()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000dd600()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "piVar1 = (int *)param_1[2];" (assignment_expression "piVar1 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    }" { (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" identifier = identifier) ;) (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "uVar5 = (uint)piVar3[1] % param_2;" (assignment_expression "uVar5 = (uint)piVar3[1] % param_2" identifier = (binary_expression "(uint)piVar3[1] % param_2" (cast_expression "(uint)piVar3[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar3[1]" identifier [ number_literal ])) % identifier)) ;) (expression_statement "bVar9 = piVar8 != (int *)0x0;" (assignment_expression "bVar9 = piVar8 != (int *)0x0" identifier = (binary_expression "piVar8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar10 = uVar5 == uVar7;" (assignment_expression "bVar10 = uVar5 == uVar7" identifier = (binary_expression "uVar5 == uVar7" identifier == identifier)) ;) (expression_statement "bVar4 = bVar9 && bVar10;" (assignment_expression "bVar4 = bVar9 && bVar10" identifier = (binary_expression "bVar9 && bVar10" identifier && identifier)) ;) (if_statement "if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }" { (expression_statement "*piVar3 = *piVar8;" (assignment_expression "*piVar3 = *piVar8" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "*piVar8 = (int)piVar3;" (assignment_expression "*piVar8 = (int)piVar3" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "bVar2 = bVar4;" (assignment_expression "bVar2 = bVar4" identifier = identifier) ;) }) (else_clause "else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" else (compound_statement "{\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" { (if_statement "if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }" if (parenthesized_expression "(((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7))" ( (binary_expression "((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" (parenthesized_expression "((bVar2) && (*piVar8 != 0))" ( (binary_expression "(bVar2) && (*piVar8 != 0)" (parenthesized_expression "(bVar2)" ( identifier )) && (parenthesized_expression "(*piVar8 != 0)" ( (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" * identifier) != number_literal) ))) )) && (parenthesized_expression "(uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" ( (comma_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7" (assignment_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2" identifier = (binary_expression "*(uint *)(*piVar8 + 4) % param_2" (pointer_expression "*(uint *)(*piVar8 + 4)" * (cast_expression "(uint *)(*piVar8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + 4)" ( (binary_expression "*piVar8 + 4" (pointer_expression "*piVar8" * identifier) + number_literal) )))) % identifier)) , (binary_expression "uVar6 != uVar7" identifier != identifier)) ))) )) (compound_statement "{\n          local_30[uVar6] = (int)piVar8;\n        }" { (expression_statement "local_30[uVar6] = (int)piVar8;" (assignment_expression "local_30[uVar6] = (int)piVar8" (subscript_expression "local_30[uVar6]" identifier [ identifier ]) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "piVar8 = local_30 + uVar5;" (assignment_expression "piVar8 = local_30 + uVar5" identifier = (binary_expression "local_30 + uVar5" identifier + identifier)) ;) (if_statement "if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" if (parenthesized_expression "((int *)*piVar8 == (int *)0x0)" ( (binary_expression "(int *)*piVar8 == (int *)0x0" (cast_expression "(int *)*piVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar8" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }" { (expression_statement "*piVar3 = param_1[2];" (assignment_expression "*piVar3 = param_1[2]" (pointer_expression "*piVar3" * identifier) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)piVar3;" (assignment_expression "param_1[2] = (int)piVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar8 = (int)(param_1 + 2);" (assignment_expression "*piVar8 = (int)(param_1 + 2)" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" if (parenthesized_expression "(*piVar3 == 0)" ( (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) )) (compound_statement "{\n            local_2c = uVar5;\n            bVar2 = false;\n          }" { (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }) (else_clause "else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" else (compound_statement "{\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" { (expression_statement "local_30[local_2c] = (int)piVar3;" (assignment_expression "local_30[local_2c] = (int)piVar3" (subscript_expression "local_30[local_2c]" identifier [ identifier ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }) (else_clause "else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" else (compound_statement "{\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" { (expression_statement "*piVar3 = *(int *)*piVar8;" (assignment_expression "*piVar3 = *(int *)*piVar8" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*(int *)*piVar8" * (cast_expression "(int *)*piVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar8" * identifier)))) ;) (expression_statement "*(int **)*piVar8 = piVar3;" (assignment_expression "*(int **)*piVar8 = piVar3" (pointer_expression "*(int **)*piVar8" * (cast_expression "(int **)*piVar8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar8" * identifier))) = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }))) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" identifier = identifier) ;) (expression_statement "uVar7 = uVar5;" (assignment_expression "uVar7 = uVar5" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }" if (parenthesized_expression "(((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7))" ( (binary_expression "((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" (parenthesized_expression "((bVar9 && bVar10) && (*piVar3 != 0))" ( (binary_expression "(bVar9 && bVar10) && (*piVar3 != 0)" (parenthesized_expression "(bVar9 && bVar10)" ( (binary_expression "bVar9 && bVar10" identifier && identifier) )) && (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) && (parenthesized_expression "(uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" ( (comma_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7" (assignment_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2" identifier = (binary_expression "*(uint *)(*piVar3 + 4) % param_2" (pointer_expression "*(uint *)(*piVar3 + 4)" * (cast_expression "(uint *)(*piVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 4)" ( (binary_expression "*piVar3 + 4" (pointer_expression "*piVar3" * identifier) + number_literal) )))) % identifier)) , (binary_expression "uVar5 != uVar7" identifier != identifier)) ))) )) (compound_statement "{\n      local_30[uVar7] = (int)piVar3;\n    }" { (expression_statement "local_30[uVar7] = (int)piVar3;" (assignment_expression "local_30[uVar7] = (int)piVar3" (subscript_expression "local_30[uVar7]" identifier [ identifier ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (if_statement "if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }" if (parenthesized_expression "((int *)*param_1 != param_1 + 6)" ( (binary_expression "(int *)*param_1 != param_1 + 6" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 6" identifier + number_literal)) )) (compound_statement "{\n    FUN_00248220((int *)*param_1);\n  }" { (expression_statement "FUN_00248220((int *)*param_1);" (call_expression "FUN_00248220((int *)*param_1)" identifier (argument_list "((int *)*param_1)" ( (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void\n   _M_rehash_aux(_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>\n   * this, size_type __n, false_type param_2) */\n\nvoid __thiscall\nstd::\n_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>\n::_M_rehash_aux(void *this,uint __n)\n\n{\n  __bucket_type *pp_Var1;\n  _Hash_node_base *p_Var2;\n  bool bVar3;\n  _Hash_node_base *p_Var4;\n  bool bVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  __bucket_type p_Var9;\n  bool bVar10;\n  bool bVar11;\n  _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n  *in_stack_ffffffc4;\n  size_t in_stack_ffffffc8;\n  __bucket_type *local_30;\n  uint local_2c;\n  \n  if (__n == 1) {\n    *(undefined4 *)((int)this + 0x18) = 0;\n    local_30 = (__bucket_type *)((int)this + 0x18);\n  }\n  else {\n    local_30 = __detail::\n               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);\n  }\n  p_Var2 = *(_Hash_node_base **)((int)this + 8);\n  *(undefined4 *)((int)this + 8) = 0;\n  if (p_Var2 != (_Hash_node_base *)0x0) {\n    bVar3 = false;\n    local_2c = 0;\n    p_Var9 = (__bucket_type)0x0;\n    uVar8 = 0;\n    do {\n      p_Var4 = p_Var2;\n      p_Var2 = p_Var4->_M_nxt;\n      uVar6 = (uint)p_Var4[1]._M_nxt % __n;\n      bVar10 = p_Var9 != (__bucket_type)0x0;\n      bVar11 = uVar6 == uVar8;\n      bVar5 = bVar10 && bVar11;\n      if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }\n      p_Var9 = p_Var4;\n      uVar8 = uVar6;\n    } while (p_Var2 != (_Hash_node_base *)0x0);\n    if (((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)) {\n      local_30[uVar8] = p_Var4;\n    }\n  }\n                    /* WARNING: Load size is inaccurate */\n  if (*this != (__bucket_type *)((int)this + 0x18)) {\n    operator_delete(*this);\n  }\n  *(uint *)((int)this + 4) = __n;\n  *(__bucket_type **)this = local_30;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::\n_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>\n::_M_rehash_aux(void *this,uint __n)\n\n{\n  __bucket_type *pp_Var1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Hashtable<" identifier : : identifier <) identifier , (ERROR "_std::pair<" identifier : : identifier <) identifier , identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">_>" > identifier >) , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::equal_to<" identifier : : identifier <) identifier (ERROR ">" >) , (ERROR "_std::hash<" identifier : : identifier <) identifier (ERROR ">" >) , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier (ERROR "<false" < false) , identifier , (ERROR "_false>_>\n::_M_rehash_aux(void *this,uint __n)\n\n{\n  __bucket_type" identifier > identifier > : : (function_declarator "_M_rehash_aux(void *this,uint __n)" identifier (parameter_list "(void *this,uint __n)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint __n" type_identifier identifier) ))) { identifier) (pointer_declarator "*pp_Var1" * identifier) ;) (declaration "_Hash_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "_Hash_node_base *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "__bucket_type p_Var9;" type_identifier identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (ERROR "_Hashtable_alloc<std::allocator<std::" (binary_expression "_Hashtable_alloc<std::allocator<std" (binary_expression "_Hashtable_alloc<std" identifier < identifier) (ERROR "::allocator" : : identifier) < identifier) : :) (labeled_statement "__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n  *in_stack_ffffffc4;" statement_identifier (ERROR "::_Hash_node<std::pair<const_std::pair<gold:" : : (binary_expression "_Hash_node<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) :) : (expression_statement "Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n  *in_stack_ffffffc4;" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n  *in_stack_ffffffc4" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>,_true>_" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int>,_true" (binary_expression "Relobj*,_unsigned_int>,_unsigned_int" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) > identifier) > identifier) > (pointer_expression "*in_stack_ffffffc4" * identifier)) ;)) (declaration "size_t in_stack_ffffffc8;" primitive_type identifier ;) (declaration "__bucket_type *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (if_statement "if (__n == 1) {\n    *(undefined4 *)((int)this + 0x18) = 0;\n    local_30 = (__bucket_type *)((int)this + 0x18);\n  }\n  else {\n    local_30 = __detail::\n               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);\n  }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)((int)this + 0x18) = 0;\n    local_30 = (__bucket_type *)((int)this + 0x18);\n  }" { (expression_statement "*(undefined4 *)((int)this + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x18)" * (cast_expression "(undefined4 *)((int)this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "local_30 = (__bucket_type *)((int)this + 0x18);" (assignment_expression "local_30 = (__bucket_type *)((int)this + 0x18)" identifier = (cast_expression "(__bucket_type *)((int)this + 0x18)" ( (type_descriptor "__bucket_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) (else_clause "else {\n    local_30 = __detail::\n               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);\n  }" else (compound_statement "{\n    local_30 = __detail::\n               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);\n  }" { (ERROR "local_30 = __detail::\n               _Hashtable_alloc<std::allocator<std::" (assignment_expression "local_30 = __detail" identifier = identifier) : : (binary_expression "_Hashtable_alloc<std" identifier < identifier) : : (binary_expression "allocator<std" identifier < identifier) : :) (expression_statement "__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8);" (comma_expression "__detail::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>,_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8)" identifier (ERROR "::_Hash_node<std::pair<const_std::pair<gold::Relobj*,_unsigned_int>,_unsigned_int>" : : (binary_expression "_Hash_node<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<gold" identifier < identifier) : : identifier * , identifier > , identifier >) , (binary_expression "_true>_>_>\n               ::_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8)" (binary_expression "_true>_>_" (binary_expression "_true>_" identifier > identifier) > identifier) > (ERROR "::" : :) (call_expression "_M_allocate_buckets(in_stack_ffffffc4,in_stack_ffffffc8)" identifier (argument_list "(in_stack_ffffffc4,in_stack_ffffffc8)" ( identifier , identifier ))))) ;) }))) (expression_statement "p_Var2 = *(_Hash_node_base **)((int)this + 8);" (assignment_expression "p_Var2 = *(_Hash_node_base **)((int)this + 8)" identifier = (pointer_expression "*(_Hash_node_base **)((int)this + 8)" * (cast_expression "(_Hash_node_base **)((int)this + 8)" ( (type_descriptor "_Hash_node_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)this + 8) = 0;" (assignment_expression "*(undefined4 *)((int)this + 8) = 0" (pointer_expression "*(undefined4 *)((int)this + 8)" * (cast_expression "(undefined4 *)((int)this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (p_Var2 != (_Hash_node_base *)0x0) {\n    bVar3 = false;\n    local_2c = 0;\n    p_Var9 = (__bucket_type)0x0;\n    uVar8 = 0;\n    do {\n      p_Var4 = p_Var2;\n      p_Var2 = p_Var4->_M_nxt;\n      uVar6 = (uint)p_Var4[1]._M_nxt % __n;\n      bVar10 = p_Var9 != (__bucket_type)0x0;\n      bVar11 = uVar6 == uVar8;\n      bVar5 = bVar10 && bVar11;\n      if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }\n      p_Var9 = p_Var4;\n      uVar8 = uVar6;\n    } while (p_Var2 != (_Hash_node_base *)0x0);\n    if (((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)) {\n      local_30[uVar8] = p_Var4;\n    }\n  }" if (parenthesized_expression "(p_Var2 != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var2 != (_Hash_node_base *)0x0" identifier != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar3 = false;\n    local_2c = 0;\n    p_Var9 = (__bucket_type)0x0;\n    uVar8 = 0;\n    do {\n      p_Var4 = p_Var2;\n      p_Var2 = p_Var4->_M_nxt;\n      uVar6 = (uint)p_Var4[1]._M_nxt % __n;\n      bVar10 = p_Var9 != (__bucket_type)0x0;\n      bVar11 = uVar6 == uVar8;\n      bVar5 = bVar10 && bVar11;\n      if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }\n      p_Var9 = p_Var4;\n      uVar8 = uVar6;\n    } while (p_Var2 != (_Hash_node_base *)0x0);\n    if (((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)) {\n      local_30[uVar8] = p_Var4;\n    }\n  }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "p_Var9 = (__bucket_type)0x0;" (assignment_expression "p_Var9 = (__bucket_type)0x0" identifier = (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      p_Var4 = p_Var2;\n      p_Var2 = p_Var4->_M_nxt;\n      uVar6 = (uint)p_Var4[1]._M_nxt % __n;\n      bVar10 = p_Var9 != (__bucket_type)0x0;\n      bVar11 = uVar6 == uVar8;\n      bVar5 = bVar10 && bVar11;\n      if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }\n      p_Var9 = p_Var4;\n      uVar8 = uVar6;\n    } while (p_Var2 != (_Hash_node_base *)0x0);" do (compound_statement "{\n      p_Var4 = p_Var2;\n      p_Var2 = p_Var4->_M_nxt;\n      uVar6 = (uint)p_Var4[1]._M_nxt % __n;\n      bVar10 = p_Var9 != (__bucket_type)0x0;\n      bVar11 = uVar6 == uVar8;\n      bVar5 = bVar10 && bVar11;\n      if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }\n      p_Var9 = p_Var4;\n      uVar8 = uVar6;\n    }" { (expression_statement "p_Var4 = p_Var2;" (assignment_expression "p_Var4 = p_Var2" identifier = identifier) ;) (expression_statement "p_Var2 = p_Var4->_M_nxt;" (assignment_expression "p_Var2 = p_Var4->_M_nxt" identifier = (field_expression "p_Var4->_M_nxt" identifier -> field_identifier)) ;) (expression_statement "uVar6 = (uint)p_Var4[1]._M_nxt % __n;" (assignment_expression "uVar6 = (uint)p_Var4[1]._M_nxt % __n" identifier = (binary_expression "(uint)p_Var4[1]._M_nxt % __n" (cast_expression "(uint)p_Var4[1]._M_nxt" ( (type_descriptor "uint" type_identifier) ) (field_expression "p_Var4[1]._M_nxt" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier)) % identifier)) ;) (expression_statement "bVar10 = p_Var9 != (__bucket_type)0x0;" (assignment_expression "bVar10 = p_Var9 != (__bucket_type)0x0" identifier = (binary_expression "p_Var9 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal))) ;) (expression_statement "bVar11 = uVar6 == uVar8;" (assignment_expression "bVar11 = uVar6 == uVar8" identifier = (binary_expression "uVar6 == uVar8" identifier == identifier)) ;) (expression_statement "bVar5 = bVar10 && bVar11;" (assignment_expression "bVar5 = bVar10 && bVar11" identifier = (binary_expression "bVar10 && bVar11" identifier && identifier)) ;) (if_statement "if (bVar5) {\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }\n      else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n        p_Var4->_M_nxt = p_Var9->_M_nxt;\n        p_Var9->_M_nxt = p_Var4;\n        bVar3 = bVar5;\n      }" { (expression_statement "p_Var4->_M_nxt = p_Var9->_M_nxt;" (assignment_expression "p_Var4->_M_nxt = p_Var9->_M_nxt" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) = (field_expression "p_Var9->_M_nxt" identifier -> field_identifier)) ;) (expression_statement "p_Var9->_M_nxt = p_Var4;" (assignment_expression "p_Var9->_M_nxt = p_Var4" (field_expression "p_Var9->_M_nxt" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar3 = bVar5;" (assignment_expression "bVar3 = bVar5" identifier = identifier) ;) }) (else_clause "else {\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }" else (compound_statement "{\n        if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }\n        pp_Var1 = local_30 + uVar6;\n        if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }\n      }" { (if_statement "if (((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)) {\n          local_30[uVar7] = p_Var9;\n        }" if (parenthesized_expression "(((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8))" ( (binary_expression "((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)) &&\n           (uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)" (parenthesized_expression "((bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0))" ( (binary_expression "(bVar3) && (p_Var9->_M_nxt != (_Hash_node_base *)0x0)" (parenthesized_expression "(bVar3)" ( identifier )) && (parenthesized_expression "(p_Var9->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var9->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var9->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8)" ( (comma_expression "uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n, uVar7 != uVar8" (assignment_expression "uVar7 = (uint)p_Var9->_M_nxt[1]._M_nxt % __n" identifier = (binary_expression "(uint)p_Var9->_M_nxt[1]._M_nxt % __n" (cast_expression "(uint)p_Var9->_M_nxt[1]._M_nxt" ( (type_descriptor "uint" type_identifier) ) (field_expression "p_Var9->_M_nxt[1]._M_nxt" (subscript_expression "p_Var9->_M_nxt[1]" (field_expression "p_Var9->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) % identifier)) , (binary_expression "uVar7 != uVar8" identifier != identifier)) ))) )) (compound_statement "{\n          local_30[uVar7] = p_Var9;\n        }" { (expression_statement "local_30[uVar7] = p_Var9;" (assignment_expression "local_30[uVar7] = p_Var9" (subscript_expression "local_30[uVar7]" identifier [ identifier ]) = identifier) ;) })) (expression_statement "pp_Var1 = local_30 + uVar6;" (assignment_expression "pp_Var1 = local_30 + uVar6" identifier = (binary_expression "local_30 + uVar6" identifier + identifier)) ;) (if_statement "if (*pp_Var1 == (__bucket_type)0x0) {\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }\n        else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }" if (parenthesized_expression "(*pp_Var1 == (__bucket_type)0x0)" ( (binary_expression "*pp_Var1 == (__bucket_type)0x0" (pointer_expression "*pp_Var1" * identifier) == (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n          p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);\n          *(_Hash_node_base **)((int)this + 8) = p_Var4;\n          *pp_Var1 = (__bucket_type)((int)this + 8);\n          if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n        }" { (expression_statement "p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8);" (assignment_expression "p_Var4->_M_nxt = *(_Hash_node_base **)((int)this + 8)" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) = (pointer_expression "*(_Hash_node_base **)((int)this + 8)" * (cast_expression "(_Hash_node_base **)((int)this + 8)" ( (type_descriptor "_Hash_node_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(_Hash_node_base **)((int)this + 8) = p_Var4;" (assignment_expression "*(_Hash_node_base **)((int)this + 8) = p_Var4" (pointer_expression "*(_Hash_node_base **)((int)this + 8)" * (cast_expression "(_Hash_node_base **)((int)this + 8)" ( (type_descriptor "_Hash_node_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*pp_Var1 = (__bucket_type)((int)this + 8);" (assignment_expression "*pp_Var1 = (__bucket_type)((int)this + 8)" (pointer_expression "*pp_Var1" * identifier) = (call_expression "(__bucket_type)((int)this + 8)" (parenthesized_expression "(__bucket_type)" ( identifier )) (argument_list "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (p_Var4->_M_nxt == (_Hash_node_base *)0x0) {\n            local_2c = uVar6;\n            bVar3 = false;\n          }\n          else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }" if (parenthesized_expression "(p_Var4->_M_nxt == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var4->_M_nxt == (_Hash_node_base *)0x0" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            local_2c = uVar6;\n            bVar3 = false;\n          }" { (expression_statement "local_2c = uVar6;" (assignment_expression "local_2c = uVar6" identifier = identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }) (else_clause "else {\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }" else (compound_statement "{\n            local_30[local_2c] = p_Var4;\n            local_2c = uVar6;\n            bVar3 = false;\n          }" { (expression_statement "local_30[local_2c] = p_Var4;" (assignment_expression "local_30[local_2c] = p_Var4" (subscript_expression "local_30[local_2c]" identifier [ identifier ]) = identifier) ;) (expression_statement "local_2c = uVar6;" (assignment_expression "local_2c = uVar6" identifier = identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }))) }) (else_clause "else {\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }" else (compound_statement "{\n          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;\n          (*pp_Var1)->_M_nxt = p_Var4;\n          bVar3 = false;\n        }" { (expression_statement "p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;" (assignment_expression "p_Var4->_M_nxt = (*pp_Var1)->_M_nxt" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) = (field_expression "(*pp_Var1)->_M_nxt" (parenthesized_expression "(*pp_Var1)" ( (pointer_expression "*pp_Var1" * identifier) )) -> field_identifier)) ;) (expression_statement "(*pp_Var1)->_M_nxt = p_Var4;" (assignment_expression "(*pp_Var1)->_M_nxt = p_Var4" (field_expression "(*pp_Var1)->_M_nxt" (parenthesized_expression "(*pp_Var1)" ( (pointer_expression "*pp_Var1" * identifier) )) -> field_identifier) = identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }))) }))) (expression_statement "p_Var9 = p_Var4;" (assignment_expression "p_Var9 = p_Var4" identifier = identifier) ;) (expression_statement "uVar8 = uVar6;" (assignment_expression "uVar8 = uVar6" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var2 != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var2 != (_Hash_node_base *)0x0" identifier != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)) {\n      local_30[uVar8] = p_Var4;\n    }" if (parenthesized_expression "(((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8))" ( (binary_expression "((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)) &&\n       (uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)" (parenthesized_expression "((bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0))" ( (binary_expression "(bVar10 && bVar11) && (p_Var4->_M_nxt != (_Hash_node_base *)0x0)" (parenthesized_expression "(bVar10 && bVar11)" ( (binary_expression "bVar10 && bVar11" identifier && identifier) )) && (parenthesized_expression "(p_Var4->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var4->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8)" ( (comma_expression "uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n, uVar6 != uVar8" (assignment_expression "uVar8 = (uint)p_Var4->_M_nxt[1]._M_nxt % __n" identifier = (binary_expression "(uint)p_Var4->_M_nxt[1]._M_nxt % __n" (cast_expression "(uint)p_Var4->_M_nxt[1]._M_nxt" ( (type_descriptor "uint" type_identifier) ) (field_expression "p_Var4->_M_nxt[1]._M_nxt" (subscript_expression "p_Var4->_M_nxt[1]" (field_expression "p_Var4->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) % identifier)) , (binary_expression "uVar6 != uVar8" identifier != identifier)) ))) )) (compound_statement "{\n      local_30[uVar8] = p_Var4;\n    }" { (expression_statement "local_30[uVar8] = p_Var4;" (assignment_expression "local_30[uVar8] = p_Var4" (subscript_expression "local_30[uVar8]" identifier [ identifier ]) = identifier) ;) })) })) comment (if_statement "if (*this != (__bucket_type *)((int)this + 0x18)) {\n    operator_delete(*this);\n  }" if (parenthesized_expression "(*this != (__bucket_type *)((int)this + 0x18))" ( (binary_expression "*this != (__bucket_type *)((int)this + 0x18)" (pointer_expression "*this" * identifier) != (cast_expression "(__bucket_type *)((int)this + 0x18)" ( (type_descriptor "__bucket_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )) (compound_statement "{\n    operator_delete(*this);\n  }" { (expression_statement "operator_delete(*this);" (call_expression "operator_delete(*this)" identifier (argument_list "(*this)" ( (pointer_expression "*this" * identifier) ))) ;) })) (expression_statement "*(uint *)((int)this + 4) = __n;" (assignment_expression "*(uint *)((int)this + 4) = __n" (pointer_expression "*(uint *)((int)this + 4)" * (cast_expression "(uint *)((int)this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(__bucket_type **)this = local_30;" (assignment_expression "*(__bucket_type **)this = local_30" (pointer_expression "*(__bucket_type **)this" * (cast_expression "(__bucket_type **)this" ( (type_descriptor "__bucket_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000e1040(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}\n\n" (function_definition "void FUN_000e1040(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" primitive_type (function_declarator "FUN_000e1040(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (if_statement "if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }" { (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30 = param_1 + 6;" (assignment_expression "local_30 = param_1 + 6" identifier = (binary_expression "param_1 + 6" identifier + number_literal)) ;) }) (else_clause "else {\n    local_30 = (int *)FUN_000dd600();\n  }" else (compound_statement "{\n    local_30 = (int *)FUN_000dd600();\n  }" { (expression_statement "local_30 = (int *)FUN_000dd600();" (assignment_expression "local_30 = (int *)FUN_000dd600()" identifier = (cast_expression "(int *)FUN_000dd600()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000dd600()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "piVar1 = (int *)param_1[2];" (assignment_expression "piVar1 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    }" { (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" identifier = identifier) ;) (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "uVar5 = (uint)piVar3[1] % param_2;" (assignment_expression "uVar5 = (uint)piVar3[1] % param_2" identifier = (binary_expression "(uint)piVar3[1] % param_2" (cast_expression "(uint)piVar3[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar3[1]" identifier [ number_literal ])) % identifier)) ;) (expression_statement "bVar9 = piVar8 != (int *)0x0;" (assignment_expression "bVar9 = piVar8 != (int *)0x0" identifier = (binary_expression "piVar8 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar10 = uVar5 == uVar7;" (assignment_expression "bVar10 = uVar5 == uVar7" identifier = (binary_expression "uVar5 == uVar7" identifier == identifier)) ;) (expression_statement "bVar4 = bVar9 && bVar10;" (assignment_expression "bVar4 = bVar9 && bVar10" identifier = (binary_expression "bVar9 && bVar10" identifier && identifier)) ;) (if_statement "if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }" { (expression_statement "*piVar3 = *piVar8;" (assignment_expression "*piVar3 = *piVar8" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "*piVar8 = (int)piVar3;" (assignment_expression "*piVar8 = (int)piVar3" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "bVar2 = bVar4;" (assignment_expression "bVar2 = bVar4" identifier = identifier) ;) }) (else_clause "else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" else (compound_statement "{\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" { (if_statement "if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }" if (parenthesized_expression "(((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7))" ( (binary_expression "((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" (parenthesized_expression "((bVar2) && (*piVar8 != 0))" ( (binary_expression "(bVar2) && (*piVar8 != 0)" (parenthesized_expression "(bVar2)" ( identifier )) && (parenthesized_expression "(*piVar8 != 0)" ( (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" * identifier) != number_literal) ))) )) && (parenthesized_expression "(uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" ( (comma_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7" (assignment_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2" identifier = (binary_expression "*(uint *)(*piVar8 + 4) % param_2" (pointer_expression "*(uint *)(*piVar8 + 4)" * (cast_expression "(uint *)(*piVar8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + 4)" ( (binary_expression "*piVar8 + 4" (pointer_expression "*piVar8" * identifier) + number_literal) )))) % identifier)) , (binary_expression "uVar6 != uVar7" identifier != identifier)) ))) )) (compound_statement "{\n          local_30[uVar6] = (int)piVar8;\n        }" { (expression_statement "local_30[uVar6] = (int)piVar8;" (assignment_expression "local_30[uVar6] = (int)piVar8" (subscript_expression "local_30[uVar6]" identifier [ identifier ]) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "piVar8 = local_30 + uVar5;" (assignment_expression "piVar8 = local_30 + uVar5" identifier = (binary_expression "local_30 + uVar5" identifier + identifier)) ;) (if_statement "if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" if (parenthesized_expression "((int *)*piVar8 == (int *)0x0)" ( (binary_expression "(int *)*piVar8 == (int *)0x0" (cast_expression "(int *)*piVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar8" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }" { (expression_statement "*piVar3 = param_1[2];" (assignment_expression "*piVar3 = param_1[2]" (pointer_expression "*piVar3" * identifier) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)piVar3;" (assignment_expression "param_1[2] = (int)piVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar8 = (int)(param_1 + 2);" (assignment_expression "*piVar8 = (int)(param_1 + 2)" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" if (parenthesized_expression "(*piVar3 == 0)" ( (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) )) (compound_statement "{\n            local_2c = uVar5;\n            bVar2 = false;\n          }" { (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }) (else_clause "else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" else (compound_statement "{\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" { (expression_statement "local_30[local_2c] = (int)piVar3;" (assignment_expression "local_30[local_2c] = (int)piVar3" (subscript_expression "local_30[local_2c]" identifier [ identifier ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }) (else_clause "else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" else (compound_statement "{\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" { (expression_statement "*piVar3 = *(int *)*piVar8;" (assignment_expression "*piVar3 = *(int *)*piVar8" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*(int *)*piVar8" * (cast_expression "(int *)*piVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar8" * identifier)))) ;) (expression_statement "*(int **)*piVar8 = piVar3;" (assignment_expression "*(int **)*piVar8 = piVar3" (pointer_expression "*(int **)*piVar8" * (cast_expression "(int **)*piVar8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar8" * identifier))) = identifier) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }))) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" identifier = identifier) ;) (expression_statement "uVar7 = uVar5;" (assignment_expression "uVar7 = uVar5" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }" if (parenthesized_expression "(((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7))" ( (binary_expression "((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" (parenthesized_expression "((bVar9 && bVar10) && (*piVar3 != 0))" ( (binary_expression "(bVar9 && bVar10) && (*piVar3 != 0)" (parenthesized_expression "(bVar9 && bVar10)" ( (binary_expression "bVar9 && bVar10" identifier && identifier) )) && (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) && (parenthesized_expression "(uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" ( (comma_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7" (assignment_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2" identifier = (binary_expression "*(uint *)(*piVar3 + 4) % param_2" (pointer_expression "*(uint *)(*piVar3 + 4)" * (cast_expression "(uint *)(*piVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 4)" ( (binary_expression "*piVar3 + 4" (pointer_expression "*piVar3" * identifier) + number_literal) )))) % identifier)) , (binary_expression "uVar5 != uVar7" identifier != identifier)) ))) )) (compound_statement "{\n      local_30[uVar7] = (int)piVar3;\n    }" { (expression_statement "local_30[uVar7] = (int)piVar3;" (assignment_expression "local_30[uVar7] = (int)piVar3" (subscript_expression "local_30[uVar7]" identifier [ identifier ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (if_statement "if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }" if (parenthesized_expression "((int *)*param_1 != param_1 + 6)" ( (binary_expression "(int *)*param_1 != param_1 + 6" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 6" identifier + number_literal)) )) (compound_statement "{\n    FUN_00248220((int *)*param_1);\n  }" { (expression_statement "FUN_00248220((int *)*param_1);" (call_expression "FUN_00248220((int *)*param_1)" identifier (argument_list "((int *)*param_1)" ( (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) % IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT && IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) % IDENT)) , (binary_expression IDENT != IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT))) = IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT && IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) % IDENT)) , (binary_expression IDENT != IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_000e1040(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000e1040(int *param_1,uint param_2)" (identifier "FUN_000e1040") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  bool bVar2;\n  int *piVar3;\n  bool bVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  int *piVar8;\n  bool bVar9;\n  bool bVar10;\n  int *local_30;\n  uint local_2c;\n  \n  if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }\n  piVar1 = (int *)param_1[2];\n  param_1[2] = 0;\n  if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }\n  if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }\n  param_1[1] = param_2;\n  *param_1 = (int)local_30;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (if_statement "if (param_2 == 1) {\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }\n  else {\n    local_30 = (int *)FUN_000dd600();\n  }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    param_1[6] = 0;\n    local_30 = param_1 + 6;\n  }" ({ "{") (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = param_1 + 6;" (assignment_expression "local_30 = param_1 + 6" (identifier "local_30") (= "=") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (else_clause "else {\n    local_30 = (int *)FUN_000dd600();\n  }" (else "else") (compound_statement "{\n    local_30 = (int *)FUN_000dd600();\n  }" ({ "{") (expression_statement "local_30 = (int *)FUN_000dd600();" (assignment_expression "local_30 = (int *)FUN_000dd600()" (identifier "local_30") (= "=") (cast_expression "(int *)FUN_000dd600()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000dd600()" (identifier "FUN_000dd600") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")))) (expression_statement "piVar1 = (int *)param_1[2];" (assignment_expression "piVar1 = (int *)param_1[2]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bVar2 = false;\n    local_2c = 0;\n    piVar8 = (int *)0x0;\n    uVar7 = 0;\n    do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);\n    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }\n  }" ({ "{") (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" (identifier "piVar8") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    } while (piVar1 != (int *)0x0);" (do "do") (compound_statement "{\n      piVar3 = piVar1;\n      piVar1 = (int *)*piVar3;\n      uVar5 = (uint)piVar3[1] % param_2;\n      bVar9 = piVar8 != (int *)0x0;\n      bVar10 = uVar5 == uVar7;\n      bVar4 = bVar9 && bVar10;\n      if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }\n      piVar8 = piVar3;\n      uVar7 = uVar5;\n    }" ({ "{") (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" (identifier "piVar3") (= "=") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "uVar5 = (uint)piVar3[1] % param_2;" (assignment_expression "uVar5 = (uint)piVar3[1] % param_2" (identifier "uVar5") (= "=") (binary_expression "(uint)piVar3[1] % param_2" (cast_expression "(uint)piVar3[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (% "%") (identifier "param_2"))) (; ";")) (expression_statement "bVar9 = piVar8 != (int *)0x0;" (assignment_expression "bVar9 = piVar8 != (int *)0x0" (identifier "bVar9") (= "=") (binary_expression "piVar8 != (int *)0x0" (identifier "piVar8") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (expression_statement "bVar10 = uVar5 == uVar7;" (assignment_expression "bVar10 = uVar5 == uVar7" (identifier "bVar10") (= "=") (binary_expression "uVar5 == uVar7" (identifier "uVar5") (== "==") (identifier "uVar7"))) (; ";")) (expression_statement "bVar4 = bVar9 && bVar10;" (assignment_expression "bVar4 = bVar9 && bVar10" (identifier "bVar4") (= "=") (binary_expression "bVar9 && bVar10" (identifier "bVar9") (&& "&&") (identifier "bVar10"))) (; ";")) (if_statement "if (bVar4) {\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }\n      else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" (if "if") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (compound_statement "{\n        *piVar3 = *piVar8;\n        *piVar8 = (int)piVar3;\n        bVar2 = bVar4;\n      }" ({ "{") (expression_statement "*piVar3 = *piVar8;" (assignment_expression "*piVar3 = *piVar8" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (expression_statement "*piVar8 = (int)piVar3;" (assignment_expression "*piVar8 = (int)piVar3" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "bVar2 = bVar4;" (assignment_expression "bVar2 = bVar4" (identifier "bVar2") (= "=") (identifier "bVar4")) (; ";")) (} "}")) (else_clause "else {\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" (else "else") (compound_statement "{\n        if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }\n        piVar8 = local_30 + uVar5;\n        if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }\n      }" ({ "{") (if_statement "if (((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {\n          local_30[uVar6] = (int)piVar8;\n        }" (if "if") (parenthesized_expression "(((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7))" (( "(") (binary_expression "((bVar2) && (*piVar8 != 0)) &&\n           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" (parenthesized_expression "((bVar2) && (*piVar8 != 0))" (( "(") (binary_expression "(bVar2) && (*piVar8 != 0)" (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (&& "&&") (parenthesized_expression "(*piVar8 != 0)" (( "(") (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)" (( "(") (comma_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7" (assignment_expression "uVar6 = *(uint *)(*piVar8 + 4) % param_2" (identifier "uVar6") (= "=") (binary_expression "*(uint *)(*piVar8 + 4) % param_2" (pointer_expression "*(uint *)(*piVar8 + 4)" (* "*") (cast_expression "(uint *)(*piVar8 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar8 + 4)" (( "(") (binary_expression "*piVar8 + 4" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (number_literal "4")) () ")")))) (% "%") (identifier "param_2"))) (, ",") (binary_expression "uVar6 != uVar7" (identifier "uVar6") (!= "!=") (identifier "uVar7"))) () ")"))) () ")")) (compound_statement "{\n          local_30[uVar6] = (int)piVar8;\n        }" ({ "{") (expression_statement "local_30[uVar6] = (int)piVar8;" (assignment_expression "local_30[uVar6] = (int)piVar8" (subscript_expression "local_30[uVar6]" (identifier "local_30") ([ "[") (identifier "uVar6") (] "]")) (= "=") (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8"))) (; ";")) (} "}"))) (expression_statement "piVar8 = local_30 + uVar5;" (assignment_expression "piVar8 = local_30 + uVar5" (identifier "piVar8") (= "=") (binary_expression "local_30 + uVar5" (identifier "local_30") (+ "+") (identifier "uVar5"))) (; ";")) (if_statement "if ((int *)*piVar8 == (int *)0x0) {\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }\n        else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" (if "if") (parenthesized_expression "((int *)*piVar8 == (int *)0x0)" (( "(") (binary_expression "(int *)*piVar8 == (int *)0x0" (cast_expression "(int *)*piVar8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *piVar3 = param_1[2];\n          param_1[2] = (int)piVar3;\n          *piVar8 = (int)(param_1 + 2);\n          if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n        }" ({ "{") (expression_statement "*piVar3 = param_1[2];" (assignment_expression "*piVar3 = param_1[2]" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[2] = (int)piVar3;" (assignment_expression "param_1[2] = (int)piVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "*piVar8 = (int)(param_1 + 2);" (assignment_expression "*piVar8 = (int)(param_1 + 2)" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (*piVar3 == 0) {\n            local_2c = uVar5;\n            bVar2 = false;\n          }\n          else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" (if "if") (parenthesized_expression "(*piVar3 == 0)" (( "(") (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            local_2c = uVar5;\n            bVar2 = false;\n          }" ({ "{") (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" (identifier "local_2c") (= "=") (identifier "uVar5")) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" (else "else") (compound_statement "{\n            local_30[local_2c] = (int)piVar3;\n            local_2c = uVar5;\n            bVar2 = false;\n          }" ({ "{") (expression_statement "local_30[local_2c] = (int)piVar3;" (assignment_expression "local_30[local_2c] = (int)piVar3" (subscript_expression "local_30[local_2c]" (identifier "local_30") ([ "[") (identifier "local_2c") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" (identifier "local_2c") (= "=") (identifier "uVar5")) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" (else "else") (compound_statement "{\n          *piVar3 = *(int *)*piVar8;\n          *(int **)*piVar8 = piVar3;\n          bVar2 = false;\n        }" ({ "{") (expression_statement "*piVar3 = *(int *)*piVar8;" (assignment_expression "*piVar3 = *(int *)*piVar8" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (pointer_expression "*(int *)*piVar8" (* "*") (cast_expression "(int *)*piVar8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))))) (; ";")) (expression_statement "*(int **)*piVar8 = piVar3;" (assignment_expression "*(int **)*piVar8 = piVar3" (pointer_expression "*(int **)*piVar8" (* "*") (cast_expression "(int **)*piVar8" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*piVar8" (* "*") (identifier "piVar8")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")))) (expression_statement "piVar8 = piVar3;" (assignment_expression "piVar8 = piVar3" (identifier "piVar8") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "uVar7 = uVar5;" (assignment_expression "uVar7 = uVar5" (identifier "uVar7") (= "=") (identifier "uVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (if_statement "if (((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {\n      local_30[uVar7] = (int)piVar3;\n    }" (if "if") (parenthesized_expression "(((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7))" (( "(") (binary_expression "((bVar9 && bVar10) && (*piVar3 != 0)) &&\n       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" (parenthesized_expression "((bVar9 && bVar10) && (*piVar3 != 0))" (( "(") (binary_expression "(bVar9 && bVar10) && (*piVar3 != 0)" (parenthesized_expression "(bVar9 && bVar10)" (( "(") (binary_expression "bVar9 && bVar10" (identifier "bVar9") (&& "&&") (identifier "bVar10")) () ")")) (&& "&&") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)" (( "(") (comma_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7" (assignment_expression "uVar7 = *(uint *)(*piVar3 + 4) % param_2" (identifier "uVar7") (= "=") (binary_expression "*(uint *)(*piVar3 + 4) % param_2" (pointer_expression "*(uint *)(*piVar3 + 4)" (* "*") (cast_expression "(uint *)(*piVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + 4)" (( "(") (binary_expression "*piVar3 + 4" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "4")) () ")")))) (% "%") (identifier "param_2"))) (, ",") (binary_expression "uVar5 != uVar7" (identifier "uVar5") (!= "!=") (identifier "uVar7"))) () ")"))) () ")")) (compound_statement "{\n      local_30[uVar7] = (int)piVar3;\n    }" ({ "{") (expression_statement "local_30[uVar7] = (int)piVar3;" (assignment_expression "local_30[uVar7] = (int)piVar3" (subscript_expression "local_30[uVar7]" (identifier "local_30") ([ "[") (identifier "uVar7") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((int *)*param_1 != param_1 + 6) {\n    FUN_00248220((int *)*param_1);\n  }" (if "if") (parenthesized_expression "((int *)*param_1 != param_1 + 6)" (( "(") (binary_expression "(int *)*param_1 != param_1 + 6" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (!= "!=") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6"))) () ")")) (compound_statement "{\n    FUN_00248220((int *)*param_1);\n  }" ({ "{") (expression_statement "FUN_00248220((int *)*param_1);" (call_expression "FUN_00248220((int *)*param_1)" (identifier "FUN_00248220") (argument_list "((int *)*param_1)" (( "(") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void
   _M_rehash_aux(_Hashtable<unsigned_int,_std::pair<unsigned_int_const,_unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_unsigned_int>_>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>_>
   * this, size_type __n, false_type param_2) */

void __thiscall
std::
_Hashtable<unsigned_int,_std::pair<unsigned_int_const,var_2>,_std::allocator<std::pair<unsigned_int_const,var_2>var_4>,_std::__detail::_Select1st,_std::equal_to<unsigned_int>,_std::hash<unsigned_int>,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<false,_false,_false>var_4>
::_M_rehash_aux(void *this,type_2 var_5)

{
  type_3 *pp_Var1;
  type_1 *var_7;
  bool bVar3;
  type_1 *p_Var4;
  bool bVar5;
  type_2 var_9;
  type_2 var_13;
  type_2 var_10;
  type_3 var_8;
  bool var_11;
  bool var_12;
  _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::var_1*,var_2>,var_2>,var_3>var_4>var_4>
  *in_stack_ffffffc4;
  size_t in_stack_ffffffc8;
  type_3 *var_14;
  type_2 local_2c;
  
  if (var_5 == 1) {
    *(type_4 *)((int)this + 0x18) = 0;
    var_14 = (type_3 *)((int)this + 0x18);
  }
  else {
    var_14 = __detail::
               _Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const_std::pair<gold::var_1*,var_2>,var_2>,var_3>var_4>var_4>
               ::var_6(in_stack_ffffffc4,in_stack_ffffffc8);
  }
  var_7 = *(type_1 **)((int)this + 8);
  *(type_4 *)((int)this + 8) = 0;
  if (var_7 != (type_1 *)0x0) {
    bVar3 = false;
    local_2c = 0;
    var_8 = (type_3)0x0;
    var_10 = 0;
    do {
      p_Var4 = var_7;
      var_7 = p_Var4->_M_nxt;
      var_9 = (type_2)p_Var4[1]._M_nxt % var_5;
      var_11 = var_8 != (type_3)0x0;
      var_12 = var_9 == var_10;
      bVar5 = var_11 && var_12;
      if (bVar5) {
        p_Var4->_M_nxt = var_8->_M_nxt;
        var_8->_M_nxt = p_Var4;
        bVar3 = bVar5;
      }
      else {
        if (((bVar3) && (var_8->_M_nxt != (type_1 *)0x0)) &&
           (var_13 = (type_2)var_8->_M_nxt[1]._M_nxt % var_5, var_13 != var_10)) {
          var_14[var_13] = var_8;
        }
        pp_Var1 = var_14 + var_9;
        if (*pp_Var1 == (type_3)0x0) {
          p_Var4->_M_nxt = *(type_1 **)((int)this + 8);
          *(type_1 **)((int)this + 8) = p_Var4;
          *pp_Var1 = (type_3)((int)this + 8);
          if (p_Var4->_M_nxt == (type_1 *)0x0) {
            local_2c = var_9;
            bVar3 = false;
          }
          else {
            var_14[local_2c] = p_Var4;
            local_2c = var_9;
            bVar3 = false;
          }
        }
        else {
          p_Var4->_M_nxt = (*pp_Var1)->_M_nxt;
          (*pp_Var1)->_M_nxt = p_Var4;
          bVar3 = false;
        }
      }
      var_8 = p_Var4;
      var_10 = var_9;
    } while (var_7 != (type_1 *)0x0);
    if (((var_11 && var_12) && (p_Var4->_M_nxt != (type_1 *)0x0)) &&
       (var_10 = (type_2)p_Var4->_M_nxt[1]._M_nxt % var_5, var_9 != var_10)) {
      var_14[var_10] = p_Var4;
    }
  }
                    /* WARNING: Load size is inaccurate */
  if (*this != (type_3 *)((int)this + 0x18)) {
    var_15(*this);
  }
  *(type_2 *)((int)this + 4) = var_5;
  *(type_3 **)this = var_14;
  return;
}


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

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

void MASKED(int *param_1,uint param_2)

{
  int *piVar1;
  bool bVar2;
  int *piVar3;
  bool bVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  int *piVar8;
  bool bVar9;
  bool bVar10;
  int *local_30;
  uint local_2c;
  
  if (param_2 == 1) {
    param_1[6] = 0;
    local_30 = param_1 + 6;
  }
  else {
    local_30 = (int *)FUN_000dd600();
  }
  piVar1 = (int *)param_1[2];
  param_1[2] = 0;
  if (piVar1 != (int *)0x0) {
    bVar2 = false;
    local_2c = 0;
    piVar8 = (int *)0x0;
    uVar7 = 0;
    do {
      piVar3 = piVar1;
      piVar1 = (int *)*piVar3;
      uVar5 = (uint)piVar3[1] % param_2;
      bVar9 = piVar8 != (int *)0x0;
      bVar10 = uVar5 == uVar7;
      bVar4 = bVar9 && bVar10;
      if (bVar4) {
        *piVar3 = *piVar8;
        *piVar8 = (int)piVar3;
        bVar2 = bVar4;
      }
      else {
        if (((bVar2) && (*piVar8 != 0)) &&
           (uVar6 = *(uint *)(*piVar8 + 4) % param_2, uVar6 != uVar7)) {
          local_30[uVar6] = (int)piVar8;
        }
        piVar8 = local_30 + uVar5;
        if ((int *)*piVar8 == (int *)0x0) {
          *piVar3 = param_1[2];
          param_1[2] = (int)piVar3;
          *piVar8 = (int)(param_1 + 2);
          if (*piVar3 == 0) {
            local_2c = uVar5;
            bVar2 = false;
          }
          else {
            local_30[local_2c] = (int)piVar3;
            local_2c = uVar5;
            bVar2 = false;
          }
        }
        else {
          *piVar3 = *(int *)*piVar8;
          *(int **)*piVar8 = piVar3;
          bVar2 = false;
        }
      }
      piVar8 = piVar3;
      uVar7 = uVar5;
    } while (piVar1 != (int *)0x0);
    if (((bVar9 && bVar10) && (*piVar3 != 0)) &&
       (uVar7 = *(uint *)(*piVar3 + 4) % param_2, uVar5 != uVar7)) {
      local_30[uVar7] = (int)piVar3;
    }
  }
  if ((int *)*param_1 != param_1 + 6) {
    FUN_00248220((int *)*param_1);
  }
  param_1[1] = param_2;
  *param_1 = (int)local_30;
  return;
}

