
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: iterator
   _M_insert_unique_node(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
   * this, size_type __bkt, __hash_code __code, __node_type * __node, size_type __n_elt) */

iterator __thiscall
std::
_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
::_M_insert_unique_node
          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)

{
  int *piVar1;
  int *piVar2;
  undefined4 *puVar3;
  int iVar4;
  void *__s;
  int *piVar5;
  uint uVar6;
  void *local_3c;
  uint local_2c;
  char local_24 [4];
  uint local_20;
  
  __detail::_Prime_rehash_policy::_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4));
  if (local_24[0] == '\0') {
    __s = *(void **)__bkt;
  }
  else {
    if (local_20 == 1) {
      __s = (void *)(__bkt + 0x18);
      *(undefined4 *)(__bkt + 0x18) = 0;
    }
    else {
      if (0x3fffffff < local_20) {
                    /* WARNING: Subroutine does not return */
        __throw_bad_alloc();
      }
                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */
      __s = operator_new(local_20 << 2);
      memset(__s,0,local_20 << 2);
    }
    local_3c = (void *)(__bkt + 0x18);
    piVar5 = *(int **)(__bkt + 8);
    *(undefined4 *)(__bkt + 8) = 0;
    if (piVar5 != (int *)0x0) {
      local_2c = 0;
      do {
        while( true ) {
          piVar2 = (int *)*piVar5;
          uVar6 = (uint)piVar5[4] % local_20;
          piVar1 = (int *)((int)__s + uVar6 * 4);
          if ((int *)*piVar1 == (int *)0x0) break;
          *piVar5 = *(int *)*piVar1;
          *(int **)*piVar1 = piVar5;
          uVar6 = local_2c;
LAB_001af888:
          local_2c = uVar6;
          piVar5 = piVar2;
          if (piVar2 == (int *)0x0) goto LAB_001af8d0;
        }
        *piVar5 = *(int *)(__bkt + 8);
        *(int **)(__bkt + 8) = piVar5;
        *piVar1 = __bkt + 8;
        if (*piVar5 == 0) goto LAB_001af888;
        *(int **)((int)__s + local_2c * 4) = piVar5;
        piVar5 = piVar2;
        local_2c = uVar6;
      } while (piVar2 != (int *)0x0);
    }
LAB_001af8d0:
    if (local_3c != *(void **)__bkt) {
      operator_delete(*(void **)__bkt);
    }
    *(void **)__bkt = __s;
    *(uint *)(__bkt + 4) = local_20;
    __code = (uint)__node % local_20;
  }
  *(__node_type **)(__n_elt + 0x10) = __node;
  puVar3 = *(undefined4 **)((int)__s + __code * 4);
  if (puVar3 == (undefined4 *)0x0) {
    *(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8);
    iVar4 = *(int *)__bkt;
    *(size_type *)(__bkt + 8) = __n_elt;
    if (*(int *)__n_elt != 0) {
      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =
           __n_elt;
    }
    *(size_type *)(iVar4 + __code * 4) = __bkt + 8;
  }
  else {
    *(undefined4 *)__n_elt = *puVar3;
    **(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;
  }
  *(int *)(__bkt + 0xc) = *(int *)(__bkt + 0xc) + 1;
  this->_M_buckets = (__bucket_type *)__n_elt;
  return (iterator)
         (_Node_iterator_base<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_true>
          )this;
}



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

void FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,
                 undefined4 param_6)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int *__s;
  int *piVar4;
  uint uVar5;
  int *local_3c;
  uint local_2c;
  char local_24 [4];
  uint local_20;
  
  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);
  if (local_24[0] == '\0') {
    __s = (int *)*param_2;
  }
  else {
    if (local_20 == 1) {
      __s = param_2 + 6;
      param_2[6] = 0;
    }
    else {
      if (0x3fffffff < local_20) {
                    /* WARNING: Subroutine does not return */
        FUN_0022c5f0();
      }
                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */
      __s = (int *)FUN_001e5200(local_20 << 2);
      memset(__s,0,local_20 << 2);
    }
    local_3c = param_2 + 6;
    piVar4 = (int *)param_2[2];
    param_2[2] = 0;
    if (piVar4 != (int *)0x0) {
      local_2c = 0;
      do {
        while( true ) {
          piVar2 = (int *)*piVar4;
          uVar5 = (uint)piVar4[4] % local_20;
          piVar1 = __s + uVar5;
          if ((int *)*piVar1 == (int *)0x0) break;
          *piVar4 = *(int *)*piVar1;
          *(int **)*piVar1 = piVar4;
          uVar5 = local_2c;
LAB_001af888:
          local_2c = uVar5;
          piVar4 = piVar2;
          if (piVar2 == (int *)0x0) goto LAB_001af8d0;
        }
        *piVar4 = param_2[2];
        param_2[2] = (int)piVar4;
        *piVar1 = (int)(param_2 + 2);
        if (*piVar4 == 0) goto LAB_001af888;
        __s[local_2c] = (int)piVar4;
        piVar4 = piVar2;
        local_2c = uVar5;
      } while (piVar2 != (int *)0x0);
    }
LAB_001af8d0:
    if (local_3c != (int *)*param_2) {
      FUN_001e6db0((int *)*param_2);
    }
    *param_2 = (int)__s;
    param_2[1] = local_20;
    param_3 = param_4 % local_20;
  }
  param_5[4] = param_4;
  if ((int *)__s[param_3] == (int *)0x0) {
    *param_5 = param_2[2];
    iVar3 = *param_2;
    param_2[2] = (int)param_5;
    if (*param_5 != 0) {
      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;
    }
    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;
  }
  else {
    *param_5 = *(int *)__s[param_3];
    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;
  }
  param_2[3] = param_2[3] + 1;
  *param_1 = param_5;
  return;
}


CALL 0x000559e6
ADD EAX,0x1df82b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x38
MOV ESI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x2c],EAX
LEA EAX,[EBP + -0x20]
LEA EDX,[ESI + 0x10]
MOV EDI,dword ptr [ESI + 0x14]
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [ESI + 0xc]
PUSH dword ptr [ESI + 0x4]
PUSH EDX
PUSH EAX
CALL 0x0022c460
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x1c
CMP byte ptr [EBP + -0x20],0x0
MOV dword ptr [EBP + -0x24],EAX
JZ 0x001af900
CMP EAX,0x1
JZ 0x001af990
CMP dword ptr [EBP + -0x24],0x3fffffff
JA 0x001af9a2
MOV EAX,dword ptr [EBP + -0x24]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
SHL EAX,0x2
PUSH EAX
MOV dword ptr [EBP + -0x28],EAX
CALL 0x001e5200
ADD ESP,0xc
PUSH dword ptr [EBP + -0x28]
MOV EBX,dword ptr [EBP + -0x2c]
MOV EDI,EAX
PUSH 0x0
PUSH EAX
CALL 0x000292f0
LEA EAX,[ESI + 0x18]
ADD ESP,0x10
MOV dword ptr [EBP + -0x38],EAX
MOV ECX,dword ptr [ESI + 0x8]
MOV dword ptr [ESI + 0x8],0x0
TEST ECX,ECX
JZ 0x001af8d0
XOR EBX,EBX
LEA EAX,[ESI + 0x8]
MOV dword ptr [EBP + -0x34],EAX
MOV dword ptr [EBP + -0x28],EBX
JMP 0x001af88f
MOV EAX,dword ptr [EAX]
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [EBX]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EBP + -0x30]
TEST ECX,ECX
JZ 0x001af8d0
MOV EAX,dword ptr [ECX]
XOR EDX,EDX
MOV dword ptr [EBP + -0x30],EAX
MOV EAX,dword ptr [ECX + 0x10]
DIV dword ptr [EBP + -0x24]
LEA EBX,[EDI + EDX*0x4]
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JNZ 0x001af880
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [EBP + -0x34]
MOV dword ptr [ESI + 0x8],ECX
MOV dword ptr [EBX],EAX
MOV EBX,dword ptr [ECX]
TEST EBX,EBX
JZ 0x001af950
MOV EAX,dword ptr [EBP + -0x28]
MOV dword ptr [EBP + -0x28],EDX
MOV dword ptr [EDI + EAX*0x4],ECX
MOV ECX,dword ptr [EBP + -0x30]
TEST ECX,ECX
JNZ 0x001af88f
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI]
CMP dword ptr [EBP + -0x38],EAX
JZ 0x001af8e6
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x24]
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [ESI],EDI
MOV EBX,EDX
MOV dword ptr [ESI + 0x4],EDX
XOR EDX,EDX
DIV EBX
MOV dword ptr [EBP + 0x10],EDX
JMP 0x001af902
MOV EDI,dword ptr [ESI]
MOV EAX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + 0x14]
MOV dword ptr [EAX + 0x10],EDX
MOV EAX,dword ptr [EBP + 0x10]
LEA ECX,[EAX*0x4 + 0x0]
MOV EAX,dword ptr [EDI + EAX*0x4]
TEST EAX,EAX
JZ 0x001af960
MOV EAX,dword ptr [EAX]
MOV EDI,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + 0x18]
MOV dword ptr [EDI],EAX
MOV EDI,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + EDI*0x4]
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [EBP + 0x8]
MOV EDI,dword ptr [EBP + 0x18]
ADD dword ptr [ESI + 0xc],0x1
MOV dword ptr [EAX],EDI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV dword ptr [EBP + -0x28],EDX
JMP 0x001af888
MOV EAX,dword ptr [ESI + 0x8]
MOV EDI,dword ptr [EBP + 0x18]
MOV dword ptr [EDI],EAX
MOV EBX,dword ptr [ESI]
MOV dword ptr [ESI + 0x8],EDI
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x001af981
MOV EAX,dword ptr [EAX + 0x10]
XOR EDX,EDX
DIV dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [EBX + EDX*0x4],EAX
LEA EAX,[ESI + 0x8]
MOV dword ptr [EBX + ECX*0x1],EAX
JMP 0x001af930
LEA EDI,[ESI + 0x18]
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [EBP + -0x38],EDI
JMP 0x001af85e
MOV EBX,dword ptr [EBP + -0x2c]
CALL 0x0022c5f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}\n\n" comment (function_definition "void FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" primitive_type (function_declarator "FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "char local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);" (call_expression "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" identifier (argument_list "(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" ( identifier , (binary_expression "param_2 + 4" identifier + number_literal) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" if (parenthesized_expression "(local_24[0] == '\0')" ( (binary_expression "local_24[0] == '\0'" (subscript_expression "local_24[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    __s = (int *)*param_2;\n  }" { (expression_statement "__s = (int *)*param_2;" (assignment_expression "__s = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) }) (else_clause "else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" else (compound_statement "{\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" { (if_statement "if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" if (parenthesized_expression "(local_20 == 1)" ( (binary_expression "local_20 == 1" identifier == number_literal) )) (compound_statement "{\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }" { (expression_statement "__s = param_2 + 6;" (assignment_expression "__s = param_2 + 6" identifier = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" else (compound_statement "{\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" { (if_statement "if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }" if (parenthesized_expression "(0x3fffffff < local_20)" ( (binary_expression "0x3fffffff < local_20" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0022c5f0();\n      }" { comment (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__s = (int *)FUN_001e5200(local_20 << 2);" (assignment_expression "__s = (int *)FUN_001e5200(local_20 << 2)" identifier = (cast_expression "(int *)FUN_001e5200(local_20 << 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(local_20 << 2)" identifier (argument_list "(local_20 << 2)" ( (binary_expression "local_20 << 2" identifier << number_literal) ))))) ;) (expression_statement "memset(__s,0,local_20 << 2);" (call_expression "memset(__s,0,local_20 << 2)" identifier (argument_list "(__s,0,local_20 << 2)" ( identifier , number_literal , (binary_expression "local_20 << 2" identifier << number_literal) ))) ;) }))) (expression_statement "local_3c = param_2 + 6;" (assignment_expression "local_3c = param_2 + 6" identifier = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)param_2[2];" (assignment_expression "piVar4 = (int *)param_2[2]" identifier = (cast_expression "(int *)param_2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);" do (compound_statement "{\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      }" { (while_statement "while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" { (expression_statement "piVar2 = (int *)*piVar4;" (assignment_expression "piVar2 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "uVar5 = (uint)piVar4[4] % local_20;" (assignment_expression "uVar5 = (uint)piVar4[4] % local_20" identifier = (binary_expression "(uint)piVar4[4] % local_20" (cast_expression "(uint)piVar4[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar4[4]" identifier [ number_literal ])) % identifier)) ;) (expression_statement "piVar1 = __s + uVar5;" (assignment_expression "piVar1 = __s + uVar5" identifier = (binary_expression "__s + uVar5" identifier + identifier)) ;) (if_statement "if ((int *)*piVar1 == (int *)0x0) break;" if (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" ( (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*piVar4 = *(int *)*piVar1;" (assignment_expression "*piVar4 = *(int *)*piVar1" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*(int *)*piVar1" * (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)))) ;) (expression_statement "*(int **)*piVar1 = piVar4;" (assignment_expression "*(int **)*piVar1 = piVar4" (pointer_expression "*(int **)*piVar1" * (cast_expression "(int **)*piVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar1" * identifier))) = identifier) ;) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;) (labeled_statement "LAB_001af888:\n          local_2c = uVar5;" statement_identifier : (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;)) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001af8d0;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001af8d0;" goto statement_identifier ;)) })) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = (int)piVar4;" (assignment_expression "param_2[2] = (int)piVar4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = (int)(param_2 + 2);" (assignment_expression "*piVar1 = (int)(param_2 + 2)" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)(param_2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (if_statement "if (*piVar4 == 0) goto LAB_001af888;" if (parenthesized_expression "(*piVar4 == 0)" ( (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" * identifier) == number_literal) )) (goto_statement "goto LAB_001af888;" goto statement_identifier ;)) (expression_statement "__s[local_2c] = (int)piVar4;" (assignment_expression "__s[local_2c] = (int)piVar4" (subscript_expression "__s[local_2c]" identifier [ identifier ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" identifier = identifier) ;) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) }) while (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" statement_identifier : (if_statement "if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" if (parenthesized_expression "(local_3c != (int *)*param_2)" ( (binary_expression "local_3c != (int *)*param_2" identifier != (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n      FUN_001e6db0((int *)*param_2);\n    }" { (expression_statement "FUN_001e6db0((int *)*param_2);" (call_expression "FUN_001e6db0((int *)*param_2)" identifier (argument_list "((int *)*param_2)" ( (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) ))) ;) }))) (expression_statement "*param_2 = (int)__s;" (assignment_expression "*param_2 = (int)__s" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = local_20;" (assignment_expression "param_2[1] = local_20" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_3 = param_4 % local_20;" (assignment_expression "param_3 = param_4 % local_20" identifier = (binary_expression "param_4 % local_20" identifier % identifier)) ;) }))) (expression_statement "param_5[4] = param_4;" (assignment_expression "param_5[4] = param_4" (subscript_expression "param_5[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" if (parenthesized_expression "((int *)__s[param_3] == (int *)0x0)" ( (binary_expression "(int *)__s[param_3] == (int *)0x0" (cast_expression "(int *)__s[param_3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[param_3]" identifier [ identifier ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }" { (expression_statement "*param_5 = param_2[2];" (assignment_expression "*param_5 = param_2[2]" (pointer_expression "*param_5" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[2] = (int)param_5;" (assignment_expression "param_2[2] = (int)param_5" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" if (parenthesized_expression "(*param_5 != 0)" ( (binary_expression "*param_5 != 0" (pointer_expression "*param_5" * identifier) != number_literal) )) (compound_statement "{\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" { (expression_statement "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;" (assignment_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5" (pointer_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" * (cast_expression "(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" ( (binary_expression "iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" identifier + (binary_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" (parenthesized_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1])" ( (binary_expression "*(uint *)(*param_5 + 0x10) % (uint)param_2[1]" (pointer_expression "*(uint *)(*param_5 + 0x10)" * (cast_expression "(uint *)(*param_5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0x10)" ( (binary_expression "*param_5 + 0x10" (pointer_expression "*param_5" * identifier) + number_literal) )))) % (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) * number_literal)) )))) = identifier) ;) })) (expression_statement "*(int **)(iVar3 + param_3 * 4) = param_2 + 2;" (assignment_expression "*(int **)(iVar3 + param_3 * 4) = param_2 + 2" (pointer_expression "*(int **)(iVar3 + param_3 * 4)" * (cast_expression "(int **)(iVar3 + param_3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + param_3 * 4)" ( (binary_expression "iVar3 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = (binary_expression "param_2 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" else (compound_statement "{\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" { (expression_statement "*param_5 = *(int *)__s[param_3];" (assignment_expression "*param_5 = *(int *)__s[param_3]" (pointer_expression "*param_5" * identifier) = (pointer_expression "*(int *)__s[param_3]" * (cast_expression "(int *)__s[param_3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[param_3]" identifier [ identifier ])))) ;) (expression_statement "**(undefined4 **)(*param_2 + param_3 * 4) = param_5;" (assignment_expression "**(undefined4 **)(*param_2 + param_3 * 4) = param_5" (pointer_expression "**(undefined4 **)(*param_2 + param_3 * 4)" * (pointer_expression "*(undefined4 **)(*param_2 + param_3 * 4)" * (cast_expression "(undefined4 **)(*param_2 + param_3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + param_3 * 4)" ( (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_3 * 4" identifier * number_literal)) ))))) = identifier) ;) }))) (expression_statement "param_2[3] = param_2[3] + 1;" (assignment_expression "param_2[3] = param_2[3] + 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "param_2[3] + 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "*param_1 = param_5;" (assignment_expression "*param_1 = param_5" (pointer_expression "*param_1" * identifier) = 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: iterator\n   _M_insert_unique_node(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n   * this, size_type __bkt, __hash_code __code, __node_type * __node, size_type __n_elt) */\n\niterator __thiscall\nstd::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n::_M_insert_unique_node\n          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  void *__s;\n  int *piVar5;\n  uint uVar6;\n  void *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  __detail::_Prime_rehash_policy::_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4));\n  if (local_24[0] == '\0') {\n    __s = *(void **)__bkt;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = (void *)(__bkt + 0x18);\n    piVar5 = *(int **)(__bkt + 8);\n    *(undefined4 *)(__bkt + 8) = 0;\n    if (piVar5 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }\n    *(void **)__bkt = __s;\n    *(uint *)(__bkt + 4) = local_20;\n    __code = (uint)__node % local_20;\n  }\n  *(__node_type **)(__n_elt + 0x10) = __node;\n  puVar3 = *(undefined4 **)((int)__s + __code * 4);\n  if (puVar3 == (undefined4 *)0x0) {\n    *(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8);\n    iVar4 = *(int *)__bkt;\n    *(size_type *)(__bkt + 8) = __n_elt;\n    if (*(int *)__n_elt != 0) {\n      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;\n    }\n    *(size_type *)(iVar4 + __code * 4) = __bkt + 8;\n  }\n  else {\n    *(undefined4 *)__n_elt = *puVar3;\n    **(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;\n  }\n  *(int *)(__bkt + 0xc) = *(int *)(__bkt + 0xc) + 1;\n  this->_M_buckets = (__bucket_type *)__n_elt;\n  return (iterator)\n         (_Node_iterator_base<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_true>\n          )this;\n}\n\n" comment comment (declaration "iterator __thiscall\nstd::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n::_M_insert_unique_node\n          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)\n\n{\n  int *piVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Hashtable<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">" >) , (ERROR "_std::pair<const_std::pair<" identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">" >) , (ERROR "_gold::" identifier : :) identifier (ERROR "*>" * >) , (ERROR "_std::allocator<std::pair<const_std::pair<" identifier : : identifier < identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">" >) , (ERROR "_gold::Version_base*>" identifier : : identifier * >) identifier (ERROR ">" >) , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_gold::Versions::" identifier : : identifier : :) identifier , (ERROR "_gold::Versions::" identifier : : identifier : :) identifier , (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 "<true" < true) , identifier , (ERROR "_true>_>\n::_M_insert_unique_node\n          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)\n\n{\n  int" identifier > identifier > : : (function_declarator "_M_insert_unique_node\n          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)" identifier (parameter_list "(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n           *this,size_type __bkt,__hash_code __code,__node_type *__node,size_type __n_elt)" ( (parameter_declaration "_Hashtable<std::pair<unsigned_int" type_identifier (ERROR "<std::pair<" < identifier : : identifier <) identifier) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::pair<unsigned_int" type_identifier (ERROR "::pair<const_std::pair<" : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Version_base" type_identifier (ERROR "::" : :) identifier) (ERROR "*>" * >) , (parameter_declaration "_std::allocator<std::pair<const_std::pair<unsigned_int" type_identifier (ERROR "::allocator<std::pair<const_std::pair<" : : identifier < identifier : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Version_base*>_" type_identifier (ERROR "::Version_base*>" : : identifier * >) identifier) (ERROR ">" >) , (parameter_declaration "_std::__detail::_Select1st" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_gold::Versions::Version_table_eq" type_identifier (ERROR "::Versions::" : : identifier : :) identifier) , (parameter_declaration "_gold::Versions::Version_table_hash" type_identifier (ERROR "::Versions::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Mod_range_hashing" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Default_ranged_hash" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Prime_rehash_policy" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Hashtable_traits" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) (ERROR "<true" < true) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_true>_>\n           *this" type_identifier (ERROR ">_>" > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "size_type __bkt" type_identifier identifier) , (parameter_declaration "__hash_code __code" type_identifier identifier) , (parameter_declaration "__node_type *__node" type_identifier (pointer_declarator "*__node" * identifier)) , (parameter_declaration "size_type __n_elt" type_identifier identifier) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "void *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "char local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (labeled_statement "__detail::_Prime_rehash_policy::_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4));" statement_identifier : (ERROR ":" :) (labeled_statement "_Prime_rehash_policy::_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4));" statement_identifier : (ERROR ":" :) (expression_statement "_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4));" (call_expression "_M_need_rehash((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4))" identifier (argument_list "((uint)local_24,__bkt + 0x10,*(uint *)(__bkt + 4))" ( (cast_expression "(uint)local_24" ( (type_descriptor "uint" type_identifier) ) identifier) , (binary_expression "__bkt + 0x10" identifier + number_literal) , (pointer_expression "*(uint *)(__bkt + 4)" * (cast_expression "(uint *)(__bkt + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 4)" ( (binary_expression "__bkt + 4" identifier + number_literal) )))) ))) ;))) (if_statement "if (local_24[0] == '\0') {\n    __s = *(void **)__bkt;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = (void *)(__bkt + 0x18);\n    piVar5 = *(int **)(__bkt + 8);\n    *(undefined4 *)(__bkt + 8) = 0;\n    if (piVar5 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }\n    *(void **)__bkt = __s;\n    *(uint *)(__bkt + 4) = local_20;\n    __code = (uint)__node % local_20;\n  }" if (parenthesized_expression "(local_24[0] == '\0')" ( (binary_expression "local_24[0] == '\0'" (subscript_expression "local_24[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    __s = *(void **)__bkt;\n  }" { (expression_statement "__s = *(void **)__bkt;" (assignment_expression "__s = *(void **)__bkt" identifier = (pointer_expression "*(void **)__bkt" * (cast_expression "(void **)__bkt" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    if (local_20 == 1) {\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = (void *)(__bkt + 0x18);\n    piVar5 = *(int **)(__bkt + 8);\n    *(undefined4 *)(__bkt + 8) = 0;\n    if (piVar5 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }\n    *(void **)__bkt = __s;\n    *(uint *)(__bkt + 4) = local_20;\n    __code = (uint)__node % local_20;\n  }" else (compound_statement "{\n    if (local_20 == 1) {\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = (void *)(__bkt + 0x18);\n    piVar5 = *(int **)(__bkt + 8);\n    *(undefined4 *)(__bkt + 8) = 0;\n    if (piVar5 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }\n    *(void **)__bkt = __s;\n    *(uint *)(__bkt + 4) = local_20;\n    __code = (uint)__node % local_20;\n  }" { (if_statement "if (local_20 == 1) {\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" if (parenthesized_expression "(local_20 == 1)" ( (binary_expression "local_20 == 1" identifier == number_literal) )) (compound_statement "{\n      __s = (void *)(__bkt + 0x18);\n      *(undefined4 *)(__bkt + 0x18) = 0;\n    }" { (expression_statement "__s = (void *)(__bkt + 0x18);" (assignment_expression "__s = (void *)(__bkt + 0x18)" identifier = (cast_expression "(void *)(__bkt + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 0x18)" ( (binary_expression "__bkt + 0x18" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(__bkt + 0x18) = 0;" (assignment_expression "*(undefined4 *)(__bkt + 0x18) = 0" (pointer_expression "*(undefined4 *)(__bkt + 0x18)" * (cast_expression "(undefined4 *)(__bkt + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 0x18)" ( (binary_expression "__bkt + 0x18" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" else (compound_statement "{\n      if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }\n                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */\n      __s = operator_new(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" { (if_statement "if (0x3fffffff < local_20) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }" if (parenthesized_expression "(0x3fffffff < local_20)" ( (binary_expression "0x3fffffff < local_20" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_alloc();\n      }" { comment (expression_statement "__throw_bad_alloc();" (call_expression "__throw_bad_alloc()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__s = operator_new(local_20 << 2);" (assignment_expression "__s = operator_new(local_20 << 2)" identifier = (call_expression "operator_new(local_20 << 2)" identifier (argument_list "(local_20 << 2)" ( (binary_expression "local_20 << 2" identifier << number_literal) )))) ;) (expression_statement "memset(__s,0,local_20 << 2);" (call_expression "memset(__s,0,local_20 << 2)" identifier (argument_list "(__s,0,local_20 << 2)" ( identifier , number_literal , (binary_expression "local_20 << 2" identifier << number_literal) ))) ;) }))) (expression_statement "local_3c = (void *)(__bkt + 0x18);" (assignment_expression "local_3c = (void *)(__bkt + 0x18)" identifier = (cast_expression "(void *)(__bkt + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 0x18)" ( (binary_expression "__bkt + 0x18" identifier + number_literal) )))) ;) (expression_statement "piVar5 = *(int **)(__bkt + 8);" (assignment_expression "piVar5 = *(int **)(__bkt + 8)" identifier = (pointer_expression "*(int **)(__bkt + 8)" * (cast_expression "(int **)(__bkt + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(__bkt + 8) = 0;" (assignment_expression "*(undefined4 *)(__bkt + 8) = 0" (pointer_expression "*(undefined4 *)(__bkt + 8)" * (cast_expression "(undefined4 *)(__bkt + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (piVar5 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      } while (piVar2 != (int *)0x0);" do (compound_statement "{\n        while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar5 = *(int *)(__bkt + 8);\n        *(int **)(__bkt + 8) = piVar5;\n        *piVar1 = __bkt + 8;\n        if (*piVar5 == 0) goto LAB_001af888;\n        *(int **)((int)__s + local_2c * 4) = piVar5;\n        piVar5 = piVar2;\n        local_2c = uVar6;\n      }" { (while_statement "while( true ) {\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          piVar2 = (int *)*piVar5;\n          uVar6 = (uint)piVar5[4] % local_20;\n          piVar1 = (int *)((int)__s + uVar6 * 4);\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar5 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar5;\n          uVar6 = local_2c;\nLAB_001af888:\n          local_2c = uVar6;\n          piVar5 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" { (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "uVar6 = (uint)piVar5[4] % local_20;" (assignment_expression "uVar6 = (uint)piVar5[4] % local_20" identifier = (binary_expression "(uint)piVar5[4] % local_20" (cast_expression "(uint)piVar5[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar5[4]" identifier [ number_literal ])) % identifier)) ;) (expression_statement "piVar1 = (int *)((int)__s + uVar6 * 4);" (assignment_expression "piVar1 = (int *)((int)__s + uVar6 * 4)" identifier = (cast_expression "(int *)((int)__s + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__s + uVar6 * 4)" ( (binary_expression "(int)__s + uVar6 * 4" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) ;) (if_statement "if ((int *)*piVar1 == (int *)0x0) break;" if (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" ( (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*piVar5 = *(int *)*piVar1;" (assignment_expression "*piVar5 = *(int *)*piVar1" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*(int *)*piVar1" * (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)))) ;) (expression_statement "*(int **)*piVar1 = piVar5;" (assignment_expression "*(int **)*piVar1 = piVar5" (pointer_expression "*(int **)*piVar1" * (cast_expression "(int **)*piVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar1" * identifier))) = identifier) ;) (expression_statement "uVar6 = local_2c;" (assignment_expression "uVar6 = local_2c" identifier = identifier) ;) (labeled_statement "LAB_001af888:\n          local_2c = uVar6;" statement_identifier : (expression_statement "local_2c = uVar6;" (assignment_expression "local_2c = uVar6" identifier = identifier) ;)) (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001af8d0;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001af8d0;" goto statement_identifier ;)) })) (expression_statement "*piVar5 = *(int *)(__bkt + 8);" (assignment_expression "*piVar5 = *(int *)(__bkt + 8)" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*(int *)(__bkt + 8)" * (cast_expression "(int *)(__bkt + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(__bkt + 8) = piVar5;" (assignment_expression "*(int **)(__bkt + 8) = piVar5" (pointer_expression "*(int **)(__bkt + 8)" * (cast_expression "(int **)(__bkt + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar1 = __bkt + 8;" (assignment_expression "*piVar1 = __bkt + 8" (pointer_expression "*piVar1" * identifier) = (binary_expression "__bkt + 8" identifier + number_literal)) ;) (if_statement "if (*piVar5 == 0) goto LAB_001af888;" if (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) )) (goto_statement "goto LAB_001af888;" goto statement_identifier ;)) (expression_statement "*(int **)((int)__s + local_2c * 4) = piVar5;" (assignment_expression "*(int **)((int)__s + local_2c * 4) = piVar5" (pointer_expression "*(int **)((int)__s + local_2c * 4)" * (cast_expression "(int **)((int)__s + local_2c * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__s + local_2c * 4)" ( (binary_expression "(int)__s + local_2c * 4" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "local_2c * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (expression_statement "local_2c = uVar6;" (assignment_expression "local_2c = uVar6" identifier = identifier) ;) }) while (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_001af8d0:\n    if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }" statement_identifier : (if_statement "if (local_3c != *(void **)__bkt) {\n      operator_delete(*(void **)__bkt);\n    }" if (parenthesized_expression "(local_3c != *(void **)__bkt)" ( (binary_expression "local_3c != *(void **)__bkt" identifier != (pointer_expression "*(void **)__bkt" * (cast_expression "(void **)__bkt" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      operator_delete(*(void **)__bkt);\n    }" { (expression_statement "operator_delete(*(void **)__bkt);" (call_expression "operator_delete(*(void **)__bkt)" identifier (argument_list "(*(void **)__bkt)" ( (pointer_expression "*(void **)__bkt" * (cast_expression "(void **)__bkt" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) }))) (expression_statement "*(void **)__bkt = __s;" (assignment_expression "*(void **)__bkt = __s" (pointer_expression "*(void **)__bkt" * (cast_expression "(void **)__bkt" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(__bkt + 4) = local_20;" (assignment_expression "*(uint *)(__bkt + 4) = local_20" (pointer_expression "*(uint *)(__bkt + 4)" * (cast_expression "(uint *)(__bkt + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 4)" ( (binary_expression "__bkt + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "__code = (uint)__node % local_20;" (assignment_expression "__code = (uint)__node % local_20" identifier = (binary_expression "(uint)__node % local_20" (cast_expression "(uint)__node" ( (type_descriptor "uint" type_identifier) ) identifier) % identifier)) ;) }))) (expression_statement "*(__node_type **)(__n_elt + 0x10) = __node;" (assignment_expression "*(__node_type **)(__n_elt + 0x10) = __node" (pointer_expression "*(__node_type **)(__n_elt + 0x10)" * (cast_expression "(__node_type **)(__n_elt + 0x10)" ( (type_descriptor "__node_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__n_elt + 0x10)" ( (binary_expression "__n_elt + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3 = *(undefined4 **)((int)__s + __code * 4);" (assignment_expression "puVar3 = *(undefined4 **)((int)__s + __code * 4)" identifier = (pointer_expression "*(undefined4 **)((int)__s + __code * 4)" * (cast_expression "(undefined4 **)((int)__s + __code * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__s + __code * 4)" ( (binary_expression "(int)__s + __code * 4" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "__code * 4" identifier * number_literal)) ))))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    *(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8);\n    iVar4 = *(int *)__bkt;\n    *(size_type *)(__bkt + 8) = __n_elt;\n    if (*(int *)__n_elt != 0) {\n      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;\n    }\n    *(size_type *)(iVar4 + __code * 4) = __bkt + 8;\n  }\n  else {\n    *(undefined4 *)__n_elt = *puVar3;\n    **(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;\n  }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8);\n    iVar4 = *(int *)__bkt;\n    *(size_type *)(__bkt + 8) = __n_elt;\n    if (*(int *)__n_elt != 0) {\n      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;\n    }\n    *(size_type *)(iVar4 + __code * 4) = __bkt + 8;\n  }" { (expression_statement "*(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8);" (assignment_expression "*(undefined4 *)__n_elt = *(undefined4 *)(__bkt + 8)" (pointer_expression "*(undefined4 *)__n_elt" * (cast_expression "(undefined4 *)__n_elt" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(__bkt + 8)" * (cast_expression "(undefined4 *)(__bkt + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)__bkt;" (assignment_expression "iVar4 = *(int *)__bkt" identifier = (pointer_expression "*(int *)__bkt" * (cast_expression "(int *)__bkt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(size_type *)(__bkt + 8) = __n_elt;" (assignment_expression "*(size_type *)(__bkt + 8) = __n_elt" (pointer_expression "*(size_type *)(__bkt + 8)" * (cast_expression "(size_type *)(__bkt + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 8)" ( (binary_expression "__bkt + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)__n_elt != 0) {\n      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;\n    }" if (parenthesized_expression "(*(int *)__n_elt != 0)" ( (binary_expression "*(int *)__n_elt != 0" (pointer_expression "*(int *)__n_elt" * (cast_expression "(int *)__n_elt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      *(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;\n    }" { (expression_statement "*(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt;" (assignment_expression "*(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4) =\n           __n_elt" (pointer_expression "*(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4)" * (cast_expression "(size_type *)(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4)" ( (binary_expression "iVar4 + (*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4" identifier + (binary_expression "(*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)) * 4" (parenthesized_expression "(*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4))" ( (binary_expression "*(uint *)(*(int *)__n_elt + 0x10) % *(uint *)(__bkt + 4)" (pointer_expression "*(uint *)(*(int *)__n_elt + 0x10)" * (cast_expression "(uint *)(*(int *)__n_elt + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)__n_elt + 0x10)" ( (binary_expression "*(int *)__n_elt + 0x10" (pointer_expression "*(int *)__n_elt" * (cast_expression "(int *)__n_elt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) % (pointer_expression "*(uint *)(__bkt + 4)" * (cast_expression "(uint *)(__bkt + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 4)" ( (binary_expression "__bkt + 4" identifier + number_literal) ))))) )) * number_literal)) )))) = identifier) ;) })) (expression_statement "*(size_type *)(iVar4 + __code * 4) = __bkt + 8;" (assignment_expression "*(size_type *)(iVar4 + __code * 4) = __bkt + 8" (pointer_expression "*(size_type *)(iVar4 + __code * 4)" * (cast_expression "(size_type *)(iVar4 + __code * 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + __code * 4)" ( (binary_expression "iVar4 + __code * 4" identifier + (binary_expression "__code * 4" identifier * number_literal)) )))) = (binary_expression "__bkt + 8" identifier + number_literal)) ;) }) (else_clause "else {\n    *(undefined4 *)__n_elt = *puVar3;\n    **(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;\n  }" else (compound_statement "{\n    *(undefined4 *)__n_elt = *puVar3;\n    **(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;\n  }" { (expression_statement "*(undefined4 *)__n_elt = *puVar3;" (assignment_expression "*(undefined4 *)__n_elt = *puVar3" (pointer_expression "*(undefined4 *)__n_elt" * (cast_expression "(undefined4 *)__n_elt" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "**(size_type **)(*(int *)__bkt + __code * 4) = __n_elt;" (assignment_expression "**(size_type **)(*(int *)__bkt + __code * 4) = __n_elt" (pointer_expression "**(size_type **)(*(int *)__bkt + __code * 4)" * (pointer_expression "*(size_type **)(*(int *)__bkt + __code * 4)" * (cast_expression "(size_type **)(*(int *)__bkt + __code * 4)" ( (type_descriptor "size_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)__bkt + __code * 4)" ( (binary_expression "*(int *)__bkt + __code * 4" (pointer_expression "*(int *)__bkt" * (cast_expression "(int *)__bkt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "__code * 4" identifier * number_literal)) ))))) = identifier) ;) }))) (expression_statement "*(int *)(__bkt + 0xc) = *(int *)(__bkt + 0xc) + 1;" (assignment_expression "*(int *)(__bkt + 0xc) = *(int *)(__bkt + 0xc) + 1" (pointer_expression "*(int *)(__bkt + 0xc)" * (cast_expression "(int *)(__bkt + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 0xc)" ( (binary_expression "__bkt + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(__bkt + 0xc) + 1" (pointer_expression "*(int *)(__bkt + 0xc)" * (cast_expression "(int *)(__bkt + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__bkt + 0xc)" ( (binary_expression "__bkt + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "this->_M_buckets = (__bucket_type *)__n_elt;" (assignment_expression "this->_M_buckets = (__bucket_type *)__n_elt" (field_expression "this->_M_buckets" identifier -> field_identifier) = (cast_expression "(__bucket_type *)__n_elt" ( (type_descriptor "__bucket_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (ERROR "return (iterator)\n         (_Node_iterator_base<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_true>\n          )this;\n}" return (parenthesized_expression "(iterator)" ( identifier )) ( (binary_expression "_Node_iterator_base<std::pair<const_std::pair<unsigned_int" (binary_expression "_Node_iterator_base<std::pair<const_std" (binary_expression "_Node_iterator_base<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier (ERROR ">" >) , (ERROR "_gold::" identifier : :) (binary_expression "Version_base*>,_true>\n          )this" (binary_expression "Version_base*>,_true" identifier * (ERROR ">," > ,) identifier) > (ERROR ")" )) identifier) ; }))
(translation_unit "void FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}\n\n" (function_definition "void FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" primitive_type (function_declarator "FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "char local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);" (call_expression "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" identifier (argument_list "(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" ( identifier , (binary_expression "param_2 + 4" identifier + number_literal) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" if (parenthesized_expression "(local_24[0] == '\0')" ( (binary_expression "local_24[0] == '\0'" (subscript_expression "local_24[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    __s = (int *)*param_2;\n  }" { (expression_statement "__s = (int *)*param_2;" (assignment_expression "__s = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) }) (else_clause "else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" else (compound_statement "{\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" { (if_statement "if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" if (parenthesized_expression "(local_20 == 1)" ( (binary_expression "local_20 == 1" identifier == number_literal) )) (compound_statement "{\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }" { (expression_statement "__s = param_2 + 6;" (assignment_expression "__s = param_2 + 6" identifier = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" else (compound_statement "{\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" { (if_statement "if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }" if (parenthesized_expression "(0x3fffffff < local_20)" ( (binary_expression "0x3fffffff < local_20" number_literal < identifier) )) (compound_statement "{\n                    \n        FUN_0022c5f0();\n      }" { (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__s = (int *)FUN_001e5200(local_20 << 2);" (assignment_expression "__s = (int *)FUN_001e5200(local_20 << 2)" identifier = (cast_expression "(int *)FUN_001e5200(local_20 << 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(local_20 << 2)" identifier (argument_list "(local_20 << 2)" ( (binary_expression "local_20 << 2" identifier << number_literal) ))))) ;) (expression_statement "memset(__s,0,local_20 << 2);" (call_expression "memset(__s,0,local_20 << 2)" identifier (argument_list "(__s,0,local_20 << 2)" ( identifier , number_literal , (binary_expression "local_20 << 2" identifier << number_literal) ))) ;) }))) (expression_statement "local_3c = param_2 + 6;" (assignment_expression "local_3c = param_2 + 6" identifier = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)param_2[2];" (assignment_expression "piVar4 = (int *)param_2[2]" identifier = (cast_expression "(int *)param_2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);" do (compound_statement "{\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      }" { (while_statement "while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" { (expression_statement "piVar2 = (int *)*piVar4;" (assignment_expression "piVar2 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "uVar5 = (uint)piVar4[4] % local_20;" (assignment_expression "uVar5 = (uint)piVar4[4] % local_20" identifier = (binary_expression "(uint)piVar4[4] % local_20" (cast_expression "(uint)piVar4[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar4[4]" identifier [ number_literal ])) % identifier)) ;) (expression_statement "piVar1 = __s + uVar5;" (assignment_expression "piVar1 = __s + uVar5" identifier = (binary_expression "__s + uVar5" identifier + identifier)) ;) (if_statement "if ((int *)*piVar1 == (int *)0x0) break;" if (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" ( (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*piVar4 = *(int *)*piVar1;" (assignment_expression "*piVar4 = *(int *)*piVar1" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*(int *)*piVar1" * (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)))) ;) (expression_statement "*(int **)*piVar1 = piVar4;" (assignment_expression "*(int **)*piVar1 = piVar4" (pointer_expression "*(int **)*piVar1" * (cast_expression "(int **)*piVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar1" * identifier))) = identifier) ;) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;) (labeled_statement "LAB_001af888:\n          local_2c = uVar5;" statement_identifier : (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;)) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001af8d0;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001af8d0;" goto statement_identifier ;)) })) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = (int)piVar4;" (assignment_expression "param_2[2] = (int)piVar4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = (int)(param_2 + 2);" (assignment_expression "*piVar1 = (int)(param_2 + 2)" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)(param_2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (if_statement "if (*piVar4 == 0) goto LAB_001af888;" if (parenthesized_expression "(*piVar4 == 0)" ( (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" * identifier) == number_literal) )) (goto_statement "goto LAB_001af888;" goto statement_identifier ;)) (expression_statement "__s[local_2c] = (int)piVar4;" (assignment_expression "__s[local_2c] = (int)piVar4" (subscript_expression "__s[local_2c]" identifier [ identifier ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" identifier = identifier) ;) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" identifier = identifier) ;) }) while (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" statement_identifier : (if_statement "if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" if (parenthesized_expression "(local_3c != (int *)*param_2)" ( (binary_expression "local_3c != (int *)*param_2" identifier != (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n      FUN_001e6db0((int *)*param_2);\n    }" { (expression_statement "FUN_001e6db0((int *)*param_2);" (call_expression "FUN_001e6db0((int *)*param_2)" identifier (argument_list "((int *)*param_2)" ( (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) ))) ;) }))) (expression_statement "*param_2 = (int)__s;" (assignment_expression "*param_2 = (int)__s" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = local_20;" (assignment_expression "param_2[1] = local_20" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_3 = param_4 % local_20;" (assignment_expression "param_3 = param_4 % local_20" identifier = (binary_expression "param_4 % local_20" identifier % identifier)) ;) }))) (expression_statement "param_5[4] = param_4;" (assignment_expression "param_5[4] = param_4" (subscript_expression "param_5[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" if (parenthesized_expression "((int *)__s[param_3] == (int *)0x0)" ( (binary_expression "(int *)__s[param_3] == (int *)0x0" (cast_expression "(int *)__s[param_3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[param_3]" identifier [ identifier ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }" { (expression_statement "*param_5 = param_2[2];" (assignment_expression "*param_5 = param_2[2]" (pointer_expression "*param_5" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[2] = (int)param_5;" (assignment_expression "param_2[2] = (int)param_5" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" if (parenthesized_expression "(*param_5 != 0)" ( (binary_expression "*param_5 != 0" (pointer_expression "*param_5" * identifier) != number_literal) )) (compound_statement "{\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" { (expression_statement "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;" (assignment_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5" (pointer_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" * (cast_expression "(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" ( (binary_expression "iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" identifier + (binary_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" (parenthesized_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1])" ( (binary_expression "*(uint *)(*param_5 + 0x10) % (uint)param_2[1]" (pointer_expression "*(uint *)(*param_5 + 0x10)" * (cast_expression "(uint *)(*param_5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0x10)" ( (binary_expression "*param_5 + 0x10" (pointer_expression "*param_5" * identifier) + number_literal) )))) % (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) * number_literal)) )))) = identifier) ;) })) (expression_statement "*(int **)(iVar3 + param_3 * 4) = param_2 + 2;" (assignment_expression "*(int **)(iVar3 + param_3 * 4) = param_2 + 2" (pointer_expression "*(int **)(iVar3 + param_3 * 4)" * (cast_expression "(int **)(iVar3 + param_3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + param_3 * 4)" ( (binary_expression "iVar3 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = (binary_expression "param_2 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" else (compound_statement "{\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" { (expression_statement "*param_5 = *(int *)__s[param_3];" (assignment_expression "*param_5 = *(int *)__s[param_3]" (pointer_expression "*param_5" * identifier) = (pointer_expression "*(int *)__s[param_3]" * (cast_expression "(int *)__s[param_3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[param_3]" identifier [ identifier ])))) ;) (expression_statement "**(undefined4 **)(*param_2 + param_3 * 4) = param_5;" (assignment_expression "**(undefined4 **)(*param_2 + param_3 * 4) = param_5" (pointer_expression "**(undefined4 **)(*param_2 + param_3 * 4)" * (pointer_expression "*(undefined4 **)(*param_2 + param_3 * 4)" * (cast_expression "(undefined4 **)(*param_2 + param_3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + param_3 * 4)" ( (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_3 * 4" identifier * number_literal)) ))))) = identifier) ;) }))) (expression_statement "param_2[3] = param_2[3] + 1;" (assignment_expression "param_2[3] = param_2[3] + 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "param_2[3] + 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "*param_1 = param_5;" (assignment_expression "*param_1 = param_5" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT << LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT << LIT) ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (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 + 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)) )) (break_statement break ;)) (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 = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (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) )) (goto_statement goto statement_identifier ;)) (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 = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ 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 IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) % (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) * LIT)) )))) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ])))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) = IDENT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001af7d0(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" (identifier "FUN_001af7d0") (parameter_list "(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,\n                 undefined4 param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *__s;\n  int *piVar4;\n  uint uVar5;\n  int *local_3c;\n  uint local_2c;\n  char local_24 [4];\n  uint local_20;\n  \n  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);\n  if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }\n  param_5[4] = param_4;\n  if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }\n  param_2[3] = param_2[3] + 1;\n  *param_1 = param_5;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *__s;" (primitive_type "int") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int *local_3c;" (primitive_type "int") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (declaration "char local_24 [4];" (primitive_type "char") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (expression_statement "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);" (call_expression "FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" (identifier "FUN_0022c460") (argument_list "(local_24,param_2 + 4,param_2[1],param_2[3],param_6)" (( "(") (identifier "local_24") (, ",") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "param_6") () ")"))) (; ";")) (if_statement "if (local_24[0] == '\0') {\n    __s = (int *)*param_2;\n  }\n  else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" (if "if") (parenthesized_expression "(local_24[0] == '\0')" (( "(") (binary_expression "local_24[0] == '\0'" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    __s = (int *)*param_2;\n  }" ({ "{") (expression_statement "__s = (int *)*param_2;" (assignment_expression "__s = (int *)*param_2" (identifier "__s") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (} "}")) (else_clause "else {\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" (else "else") (compound_statement "{\n    if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }\n    local_3c = param_2 + 6;\n    piVar4 = (int *)param_2[2];\n    param_2[2] = 0;\n    if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }\nLAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }\n    *param_2 = (int)__s;\n    param_2[1] = local_20;\n    param_3 = param_4 % local_20;\n  }" ({ "{") (if_statement "if (local_20 == 1) {\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }\n    else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" (if "if") (parenthesized_expression "(local_20 == 1)" (( "(") (binary_expression "local_20 == 1" (identifier "local_20") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      __s = param_2 + 6;\n      param_2[6] = 0;\n    }" ({ "{") (expression_statement "__s = param_2 + 6;" (assignment_expression "__s = param_2 + 6" (identifier "__s") (= "=") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" (else "else") (compound_statement "{\n      if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }\n                    \n      __s = (int *)FUN_001e5200(local_20 << 2);\n      memset(__s,0,local_20 << 2);\n    }" ({ "{") (if_statement "if (0x3fffffff < local_20) {\n                    \n        FUN_0022c5f0();\n      }" (if "if") (parenthesized_expression "(0x3fffffff < local_20)" (( "(") (binary_expression "0x3fffffff < local_20" (number_literal "0x3fffffff") (< "<") (identifier "local_20")) () ")")) (compound_statement "{\n                    \n        FUN_0022c5f0();\n      }" ({ "{") (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" (identifier "FUN_0022c5f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "__s = (int *)FUN_001e5200(local_20 << 2);" (assignment_expression "__s = (int *)FUN_001e5200(local_20 << 2)" (identifier "__s") (= "=") (cast_expression "(int *)FUN_001e5200(local_20 << 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(local_20 << 2)" (identifier "FUN_001e5200") (argument_list "(local_20 << 2)" (( "(") (binary_expression "local_20 << 2" (identifier "local_20") (<< "<<") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "memset(__s,0,local_20 << 2);" (call_expression "memset(__s,0,local_20 << 2)" (identifier "memset") (argument_list "(__s,0,local_20 << 2)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (binary_expression "local_20 << 2" (identifier "local_20") (<< "<<") (number_literal "2")) () ")"))) (; ";")) (} "}")))) (expression_statement "local_3c = param_2 + 6;" (assignment_expression "local_3c = param_2 + 6" (identifier "local_3c") (= "=") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "piVar4 = (int *)param_2[2];" (assignment_expression "piVar4 = (int *)param_2[2]" (identifier "piVar4") (= "=") (cast_expression "(int *)param_2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (piVar4 != (int *)0x0) {\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" (if "if") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_2c = 0;\n      do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);\n    }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      } while (piVar2 != (int *)0x0);" (do "do") (compound_statement "{\n        while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }\n        *piVar4 = param_2[2];\n        param_2[2] = (int)piVar4;\n        *piVar1 = (int)(param_2 + 2);\n        if (*piVar4 == 0) goto LAB_001af888;\n        __s[local_2c] = (int)piVar4;\n        piVar4 = piVar2;\n        local_2c = uVar5;\n      }" ({ "{") (while_statement "while( true ) {\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          piVar2 = (int *)*piVar4;\n          uVar5 = (uint)piVar4[4] % local_20;\n          piVar1 = __s + uVar5;\n          if ((int *)*piVar1 == (int *)0x0) break;\n          *piVar4 = *(int *)*piVar1;\n          *(int **)*piVar1 = piVar4;\n          uVar5 = local_2c;\nLAB_001af888:\n          local_2c = uVar5;\n          piVar4 = piVar2;\n          if (piVar2 == (int *)0x0) goto LAB_001af8d0;\n        }" ({ "{") (expression_statement "piVar2 = (int *)*piVar4;" (assignment_expression "piVar2 = (int *)*piVar4" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "uVar5 = (uint)piVar4[4] % local_20;" (assignment_expression "uVar5 = (uint)piVar4[4] % local_20" (identifier "uVar5") (= "=") (binary_expression "(uint)piVar4[4] % local_20" (cast_expression "(uint)piVar4[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar4[4]" (identifier "piVar4") ([ "[") (number_literal "4") (] "]"))) (% "%") (identifier "local_20"))) (; ";")) (expression_statement "piVar1 = __s + uVar5;" (assignment_expression "piVar1 = __s + uVar5" (identifier "piVar1") (= "=") (binary_expression "__s + uVar5" (identifier "__s") (+ "+") (identifier "uVar5"))) (; ";")) (if_statement "if ((int *)*piVar1 == (int *)0x0) break;" (if "if") (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" (( "(") (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*piVar4 = *(int *)*piVar1;" (assignment_expression "*piVar4 = *(int *)*piVar1" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (pointer_expression "*(int *)*piVar1" (* "*") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))))) (; ";")) (expression_statement "*(int **)*piVar1 = piVar4;" (assignment_expression "*(int **)*piVar1 = piVar4" (pointer_expression "*(int **)*piVar1" (* "*") (cast_expression "(int **)*piVar1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (= "=") (identifier "piVar4")) (; ";")) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" (identifier "uVar5") (= "=") (identifier "local_2c")) (; ";")) (labeled_statement "LAB_001af888:\n          local_2c = uVar5;" (statement_identifier "LAB_001af888") (: ":") (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" (identifier "local_2c") (= "=") (identifier "uVar5")) (; ";"))) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" (identifier "piVar4") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001af8d0;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001af8d0;" (goto "goto") (statement_identifier "LAB_001af8d0") (; ";"))) (} "}"))) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_2[2] = (int)piVar4;" (assignment_expression "param_2[2] = (int)piVar4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4"))) (; ";")) (expression_statement "*piVar1 = (int)(param_2 + 2);" (assignment_expression "*piVar1 = (int)(param_2 + 2)" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)(param_2 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (*piVar4 == 0) goto LAB_001af888;" (if "if") (parenthesized_expression "(*piVar4 == 0)" (( "(") (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001af888;" (goto "goto") (statement_identifier "LAB_001af888") (; ";"))) (expression_statement "__s[local_2c] = (int)piVar4;" (assignment_expression "__s[local_2c] = (int)piVar4" (subscript_expression "__s[local_2c]" (identifier "__s") ([ "[") (identifier "local_2c") (] "]")) (= "=") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4"))) (; ";")) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" (identifier "piVar4") (= "=") (identifier "piVar2")) (; ";")) (expression_statement "local_2c = uVar5;" (assignment_expression "local_2c = uVar5" (identifier "local_2c") (= "=") (identifier "uVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_001af8d0:\n    if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" (statement_identifier "LAB_001af8d0") (: ":") (if_statement "if (local_3c != (int *)*param_2) {\n      FUN_001e6db0((int *)*param_2);\n    }" (if "if") (parenthesized_expression "(local_3c != (int *)*param_2)" (( "(") (binary_expression "local_3c != (int *)*param_2" (identifier "local_3c") (!= "!=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) () ")")) (compound_statement "{\n      FUN_001e6db0((int *)*param_2);\n    }" ({ "{") (expression_statement "FUN_001e6db0((int *)*param_2);" (call_expression "FUN_001e6db0((int *)*param_2)" (identifier "FUN_001e6db0") (argument_list "((int *)*param_2)" (( "(") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) (; ";")) (} "}")))) (expression_statement "*param_2 = (int)__s;" (assignment_expression "*param_2 = (int)__s" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s"))) (; ";")) (expression_statement "param_2[1] = local_20;" (assignment_expression "param_2[1] = local_20" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_20")) (; ";")) (expression_statement "param_3 = param_4 % local_20;" (assignment_expression "param_3 = param_4 % local_20" (identifier "param_3") (= "=") (binary_expression "param_4 % local_20" (identifier "param_4") (% "%") (identifier "local_20"))) (; ";")) (} "}")))) (expression_statement "param_5[4] = param_4;" (assignment_expression "param_5[4] = param_4" (subscript_expression "param_5[4]" (identifier "param_5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_4")) (; ";")) (if_statement "if ((int *)__s[param_3] == (int *)0x0) {\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }\n  else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" (if "if") (parenthesized_expression "((int *)__s[param_3] == (int *)0x0)" (( "(") (binary_expression "(int *)__s[param_3] == (int *)0x0" (cast_expression "(int *)__s[param_3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "__s[param_3]" (identifier "__s") ([ "[") (identifier "param_3") (] "]"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = param_2[2];\n    iVar3 = *param_2;\n    param_2[2] = (int)param_5;\n    if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }\n    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;\n  }" ({ "{") (expression_statement "*param_5 = param_2[2];" (assignment_expression "*param_5 = param_2[2]" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" (identifier "iVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2[2] = (int)param_5;" (assignment_expression "param_2[2] = (int)param_5" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) (; ";")) (if_statement "if (*param_5 != 0) {\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" (if "if") (parenthesized_expression "(*param_5 != 0)" (( "(") (binary_expression "*param_5 != 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;\n    }" ({ "{") (expression_statement "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;" (assignment_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5" (pointer_expression "*(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" (* "*") (cast_expression "(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4)" (( "(") (binary_expression "iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" (identifier "iVar3") (+ "+") (binary_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4" (parenthesized_expression "(*(uint *)(*param_5 + 0x10) % (uint)param_2[1])" (( "(") (binary_expression "*(uint *)(*param_5 + 0x10) % (uint)param_2[1]" (pointer_expression "*(uint *)(*param_5 + 0x10)" (* "*") (cast_expression "(uint *)(*param_5 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_5 + 0x10)" (( "(") (binary_expression "*param_5 + 0x10" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0x10")) () ")")))) (% "%") (cast_expression "(uint)param_2[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_5")) (; ";")) (} "}"))) (expression_statement "*(int **)(iVar3 + param_3 * 4) = param_2 + 2;" (assignment_expression "*(int **)(iVar3 + param_3 * 4) = param_2 + 2" (pointer_expression "*(int **)(iVar3 + param_3 * 4)" (* "*") (cast_expression "(int **)(iVar3 + param_3 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + param_3 * 4)" (( "(") (binary_expression "iVar3 + param_3 * 4" (identifier "iVar3") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" (else "else") (compound_statement "{\n    *param_5 = *(int *)__s[param_3];\n    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;\n  }" ({ "{") (expression_statement "*param_5 = *(int *)__s[param_3];" (assignment_expression "*param_5 = *(int *)__s[param_3]" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (pointer_expression "*(int *)__s[param_3]" (* "*") (cast_expression "(int *)__s[param_3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "__s[param_3]" (identifier "__s") ([ "[") (identifier "param_3") (] "]"))))) (; ";")) (expression_statement "**(undefined4 **)(*param_2 + param_3 * 4) = param_5;" (assignment_expression "**(undefined4 **)(*param_2 + param_3 * 4) = param_5" (pointer_expression "**(undefined4 **)(*param_2 + param_3 * 4)" (* "*") (pointer_expression "*(undefined4 **)(*param_2 + param_3 * 4)" (* "*") (cast_expression "(undefined4 **)(*param_2 + param_3 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + param_3 * 4)" (( "(") (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")"))))) (= "=") (identifier "param_5")) (; ";")) (} "}")))) (expression_statement "param_2[3] = param_2[3] + 1;" (assignment_expression "param_2[3] = param_2[3] + 1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_2[3] + 1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = param_5;" (assignment_expression "*param_1 = param_5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: iterator
   _M_insert_unique_node(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
   * this, size_type __bkt, __hash_code __code, __node_type * __node, size_type __n_elt) */

type_1 __thiscall
std::
_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
::_M_insert_unique_node
          (_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
           *this,type_5 var_2,__hash_code var_14,type_4 *__node,type_5 var_13)

{
  int *piVar1;
  int *var_9;
  type_2 *var_15;
  int var_16;
  void *__s;
  int *var_7;
  type_3 var_8;
  void *var_11;
  type_3 var_10;
  char local_24 [4];
  type_3 var_3;
  
  __detail::_Prime_rehash_policy::var_1((type_3)local_24,var_2 + 0x10,*(type_3 *)(var_2 + 4));
  if (local_24[0] == '\0') {
    __s = *(void **)var_2;
  }
  else {
    if (var_3 == 1) {
      __s = (void *)(var_2 + 0x18);
      *(type_2 *)(var_2 + 0x18) = 0;
    }
    else {
      if (0x3fffffff < var_3) {
                    /* WARNING: Subroutine does not return */
        var_4();
      }
                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */
      __s = var_5(var_3 << 2);
      var_6(__s,0,var_3 << 2);
    }
    var_11 = (void *)(var_2 + 0x18);
    var_7 = *(int **)(var_2 + 8);
    *(type_2 *)(var_2 + 8) = 0;
    if (var_7 != (int *)0x0) {
      var_10 = 0;
      do {
        while( true ) {
          var_9 = (int *)*var_7;
          var_8 = (type_3)var_7[4] % var_3;
          piVar1 = (int *)((int)__s + var_8 * 4);
          if ((int *)*piVar1 == (int *)0x0) break;
          *var_7 = *(int *)*piVar1;
          *(int **)*piVar1 = var_7;
          var_8 = var_10;
LAB_001af888:
          var_10 = var_8;
          var_7 = var_9;
          if (var_9 == (int *)0x0) goto LAB_001af8d0;
        }
        *var_7 = *(int *)(var_2 + 8);
        *(int **)(var_2 + 8) = var_7;
        *piVar1 = var_2 + 8;
        if (*var_7 == 0) goto LAB_001af888;
        *(int **)((int)__s + var_10 * 4) = var_7;
        var_7 = var_9;
        var_10 = var_8;
      } while (var_9 != (int *)0x0);
    }
LAB_001af8d0:
    if (var_11 != *(void **)var_2) {
      var_12(*(void **)var_2);
    }
    *(void **)var_2 = __s;
    *(type_3 *)(var_2 + 4) = var_3;
    var_14 = (type_3)__node % var_3;
  }
  *(type_4 **)(var_13 + 0x10) = __node;
  var_15 = *(type_2 **)((int)__s + var_14 * 4);
  if (var_15 == (type_2 *)0x0) {
    *(type_2 *)var_13 = *(type_2 *)(var_2 + 8);
    var_16 = *(int *)var_2;
    *(type_5 *)(var_2 + 8) = var_13;
    if (*(int *)var_13 != 0) {
      *(type_5 *)(var_16 + (*(type_3 *)(*(int *)var_13 + 0x10) % *(type_3 *)(var_2 + 4)) * 4) =
           var_13;
    }
    *(type_5 *)(var_16 + var_14 * 4) = var_2 + 8;
  }
  else {
    *(type_2 *)var_13 = *var_15;
    **(type_5 **)(*(int *)var_2 + var_14 * 4) = var_13;
  }
  *(int *)(var_2 + 0xc) = *(int *)(var_2 + 0xc) + 1;
  this->_M_buckets = (type_6 *)var_13;
  return (type_1)
         (_Node_iterator_base<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_true>
          )this;
}


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

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

void MASKED(undefined4 *param_1,int *param_2,uint param_3,uint param_4,int *param_5,
                 undefined4 param_6)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int *__s;
  int *piVar4;
  uint uVar5;
  int *local_3c;
  uint local_2c;
  char local_24 [4];
  uint local_20;
  
  FUN_0022c460(local_24,param_2 + 4,param_2[1],param_2[3],param_6);
  if (local_24[0] == '\0') {
    __s = (int *)*param_2;
  }
  else {
    if (local_20 == 1) {
      __s = param_2 + 6;
      param_2[6] = 0;
    }
    else {
      if (0x3fffffff < local_20) {
                    /* WARNING: Subroutine does not return */
        FUN_0022c5f0();
      }
                    /* try { // try from 001af83d to 001af9a9 has its CatchHandler @ 001af9aa */
      __s = (int *)FUN_001e5200(local_20 << 2);
      memset(__s,0,local_20 << 2);
    }
    local_3c = param_2 + 6;
    piVar4 = (int *)param_2[2];
    param_2[2] = 0;
    if (piVar4 != (int *)0x0) {
      local_2c = 0;
      do {
        while( true ) {
          piVar2 = (int *)*piVar4;
          uVar5 = (uint)piVar4[4] % local_20;
          piVar1 = __s + uVar5;
          if ((int *)*piVar1 == (int *)0x0) break;
          *piVar4 = *(int *)*piVar1;
          *(int **)*piVar1 = piVar4;
          uVar5 = local_2c;
LAB_001af888:
          local_2c = uVar5;
          piVar4 = piVar2;
          if (piVar2 == (int *)0x0) goto LAB_001af8d0;
        }
        *piVar4 = param_2[2];
        param_2[2] = (int)piVar4;
        *piVar1 = (int)(param_2 + 2);
        if (*piVar4 == 0) goto LAB_001af888;
        __s[local_2c] = (int)piVar4;
        piVar4 = piVar2;
        local_2c = uVar5;
      } while (piVar2 != (int *)0x0);
    }
LAB_001af8d0:
    if (local_3c != (int *)*param_2) {
      FUN_001e6db0((int *)*param_2);
    }
    *param_2 = (int)__s;
    param_2[1] = local_20;
    param_3 = param_4 % local_20;
  }
  param_5[4] = param_4;
  if ((int *)__s[param_3] == (int *)0x0) {
    *param_5 = param_2[2];
    iVar3 = *param_2;
    param_2[2] = (int)param_5;
    if (*param_5 != 0) {
      *(int **)(iVar3 + (*(uint *)(*param_5 + 0x10) % (uint)param_2[1]) * 4) = param_5;
    }
    *(int **)(iVar3 + param_3 * 4) = param_2 + 2;
  }
  else {
    *param_5 = *(int *)__s[param_3];
    **(undefined4 **)(*param_2 + param_3 * 4) = param_5;
  }
  param_2[3] = param_2[3] + 1;
  *param_1 = param_5;
  return;
}

