
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
   std::vector<std::__cxx11::basic_string<char> > >, int, std::__cxx11::basic_string<char>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare> > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,_std::vector<std::__cxx11::basic_string<char>_>_>,_int,_std::__cxx11::basic_string<char>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare>_>
               (int __first,int __holeIndex,uint __len,undefined4 *__value)

{
  int iVar1;
  string *__src;
  string *psVar2;
  int *piVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  string *psVar6;
  string *psVar7;
  undefined4 *__src_00;
  undefined4 uVar8;
  int iVar9;
  string *psVar10;
  uint uVar11;
  uint uVar12;
  int iVar13;
  uint uVar14;
  size_t sVar15;
  undefined4 *puVar16;
  undefined4 *__dest;
  string *psVar17;
  int iVar18;
  string *local_54;
  int local_48;
  int local_44;
  string *local_34;
  size_t local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  iVar9 = (int)(__len - 1) / 2;
  if (__holeIndex < iVar9) {
    iVar18 = __holeIndex;
    local_54 = (string *)(__first + 8 + __holeIndex * 0x18);
    do {
      local_48 = (iVar18 + 1) * 2;
      iVar1 = local_48 + -1;
      psVar2 = (string *)(__first + iVar1 * 0x18);
      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);
      uVar11 = string::rfind(psVar17,'/',0xffffffff);
      uVar12 = string::rfind(psVar2,'/',0xffffffff);
      if (uVar11 == 0xffffffff) {
        uVar11 = 0;
      }
      if (uVar12 == 0xffffffff) {
        uVar12 = 0;
      }
      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);
      if (iVar13 < 0) {
        local_48 = iVar1;
        psVar17 = psVar2;
      }
      psVar6 = *(string **)psVar17;
      piVar3 = (int *)(__first + iVar18 * 0x18);
      psVar2 = psVar17 + 8;
      psVar10 = (string *)*piVar3;
      if (psVar6 == psVar2) {
        sVar15 = *(size_t *)(psVar17 + 4);
        if (sVar15 != 0) {
          if (sVar15 == 1) {
            *psVar10 = psVar17[8];
            iVar18 = *(int *)(psVar17 + 4);
            piVar3[1] = iVar18;
            *(undefined1 *)(*piVar3 + iVar18) = 0;
            psVar10 = *(string **)psVar17;
            goto LAB_001fafa7;
          }
          memcpy(psVar10,psVar2,sVar15);
          sVar15 = *(size_t *)(psVar17 + 4);
          psVar10 = (string *)*piVar3;
        }
        piVar3[1] = sVar15;
        psVar10[sVar15] = (string)0x0;
        psVar10 = *(string **)psVar17;
      }
      else {
        if (psVar10 == local_54) {
          *piVar3 = (int)psVar6;
          piVar3[1] = *(int *)(psVar17 + 4);
          piVar3[2] = *(int *)(psVar17 + 8);
        }
        else {
          *piVar3 = (int)psVar6;
          iVar18 = piVar3[2];
          piVar3[1] = *(int *)(psVar17 + 4);
          piVar3[2] = *(int *)(psVar17 + 8);
          if (psVar10 != (string *)0x0) {
            *(string **)psVar17 = psVar10;
            *(int *)(psVar17 + 8) = iVar18;
            goto LAB_001fafa7;
          }
        }
        *(string **)psVar17 = psVar2;
        psVar10 = psVar2;
      }
LAB_001fafa7:
      *(undefined4 *)(psVar17 + 4) = 0;
      *psVar10 = (string)0x0;
      iVar18 = local_48;
      local_54 = psVar2;
    } while (local_48 < iVar9);
  }
  else {
    local_48 = __holeIndex;
  }
  if (((__len & 1) == 0) && ((int)(__len - 2) / 2 == local_48)) {
    iVar9 = local_48 * 2 + 1;
    puVar4 = (undefined4 *)(__first + iVar9 * 0x18);
    __src_00 = (undefined4 *)*puVar4;
    puVar16 = puVar4 + 2;
    puVar5 = (undefined4 *)(__first + local_48 * 0x18);
    __dest = (undefined4 *)*puVar5;
    if (__src_00 == puVar16) {
      sVar15 = puVar4[1];
      if (sVar15 != 0) {
        if (sVar15 == 1) {
          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);
          sVar15 = puVar4[1];
          __dest = (undefined4 *)*puVar5;
        }
        else {
          memcpy(__dest,__src_00,sVar15);
          sVar15 = puVar4[1];
          __dest = (undefined4 *)*puVar5;
        }
      }
      puVar5[1] = sVar15;
      *(undefined1 *)((int)__dest + sVar15) = 0;
      puVar16 = (undefined4 *)*puVar4;
    }
    else {
      if (__dest == puVar5 + 2) {
        *puVar5 = __src_00;
        puVar5[1] = puVar4[1];
        puVar5[2] = puVar4[2];
      }
      else {
        *puVar5 = __src_00;
        uVar8 = puVar5[2];
        puVar5[1] = puVar4[1];
        puVar5[2] = puVar4[2];
        if (__dest != (undefined4 *)0x0) {
          *puVar4 = __dest;
          puVar4[2] = uVar8;
          puVar16 = __dest;
          goto LAB_001fb2dc;
        }
      }
      *puVar4 = puVar16;
    }
LAB_001fb2dc:
    puVar4[1] = 0;
    *(undefined1 *)puVar16 = 0;
    local_48 = iVar9;
  }
  if ((string *)*__value == (string *)(__value + 2)) {
    local_2c = __value[2];
    local_28 = __value[3];
    local_24 = __value[4];
    local_20 = __value[5];
    local_34 = (string *)&local_2c;
  }
  else {
    local_2c = __value[2];
    local_34 = (string *)*__value;
  }
  local_30 = __value[1];
  *__value = (string *)(__value + 2);
  __value[1] = 0;
  *(undefined1 *)(__value + 2) = 0;
  if (__holeIndex < local_48) {
    do {
      local_44 = (local_48 + -1) / 2;
      psVar2 = (string *)(__first + local_44 * 0x18);
      uVar12 = string::rfind(psVar2,'/',0xffffffff);
      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);
      uVar11 = 0;
      if (uVar12 != 0xffffffff) {
        uVar11 = uVar12;
      }
      if (uVar14 == 0xffffffff) {
        uVar14 = 0;
      }
                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */
      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);
      psVar6 = (string *)(__first + local_48 * 0x18);
      psVar10 = *(string **)psVar6;
      psVar17 = psVar6 + 8;
      if (-1 < iVar9) goto joined_r0x001fb35f;
      psVar7 = *(string **)psVar2;
      __src = psVar2 + 8;
      if (psVar7 == __src) {
        sVar15 = *(size_t *)(psVar2 + 4);
        if (sVar15 != 0) {
          if (sVar15 == 1) {
            *psVar10 = psVar2[8];
            iVar9 = *(int *)(psVar2 + 4);
            *(int *)(psVar6 + 4) = iVar9;
            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;
            psVar10 = *(string **)psVar2;
            goto LAB_001fb15e;
          }
          memcpy(psVar10,__src,sVar15);
          sVar15 = *(size_t *)(psVar2 + 4);
          psVar10 = *(string **)psVar6;
        }
        *(size_t *)(psVar6 + 4) = sVar15;
        psVar10[sVar15] = (string)0x0;
        psVar10 = *(string **)psVar2;
      }
      else {
        if (psVar10 == psVar17) {
          *(string **)psVar6 = psVar7;
          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);
          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);
        }
        else {
          *(string **)psVar6 = psVar7;
          uVar8 = *(undefined4 *)(psVar6 + 8);
          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);
          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);
          if (psVar10 != (string *)0x0) {
            *(string **)psVar2 = psVar10;
            *(undefined4 *)(psVar2 + 8) = uVar8;
            goto LAB_001fb15e;
          }
        }
        *(string **)psVar2 = __src;
        psVar10 = __src;
      }
LAB_001fb15e:
      *(undefined4 *)(psVar2 + 4) = 0;
      *psVar10 = (string)0x0;
      local_48 = local_44;
    } while (__holeIndex < local_44);
    psVar10 = *(string **)psVar2;
    psVar6 = psVar2;
    psVar17 = __src;
  }
  else {
    psVar6 = (string *)(__first + local_48 * 0x18);
    psVar10 = *(string **)psVar6;
    psVar17 = psVar6 + 8;
  }
joined_r0x001fb35f:
  if (local_34 == (string *)&local_2c) {
    local_54 = (string *)&local_2c;
    if (local_30 != 0) {
      if (local_30 == 1) {
        *psVar10 = local_2c._0_1_;
        psVar10 = *(string **)psVar6;
      }
      else {
        memcpy(psVar10,local_54,local_30);
        psVar10 = *(string **)psVar6;
      }
    }
    *(size_t *)(psVar6 + 4) = local_30;
    psVar10[local_30] = (string)0x0;
    uVar8 = local_2c;
  }
  else {
    if (psVar17 == psVar10) {
      *(string **)psVar6 = local_34;
      *(size_t *)(psVar6 + 4) = local_30;
      *(undefined4 *)(psVar6 + 8) = local_2c;
    }
    else {
      uVar8 = *(undefined4 *)(psVar6 + 8);
      *(string **)psVar6 = local_34;
      *(size_t *)(psVar6 + 4) = local_30;
      *(undefined4 *)(psVar6 + 8) = local_2c;
      local_34 = psVar10;
      if (psVar10 != (string *)0x0) goto LAB_001fb327;
    }
    local_34 = (string *)&local_2c;
    uVar8 = local_2c;
  }
LAB_001fb327:
  local_2c = uVar8;
  local_54 = (string *)&local_2c;
  local_30 = 0;
  *local_34 = (string)0x0;
  if (local_34 != local_54) {
    operator_delete(local_34);
  }
  return;
}



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

void FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)

{
  int *__src;
  undefined4 *puVar1;
  int *piVar2;
  int *piVar3;
  undefined4 *puVar4;
  int *piVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  size_t sVar13;
  undefined4 *puVar14;
  undefined4 *__dest;
  int *__dest_00;
  int *piVar15;
  int *local_54;
  int local_48;
  int local_44;
  int *local_34;
  size_t local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  iVar7 = (int)(param_3 - 1) / 2;
  if (param_2 < iVar7) {
    iVar11 = param_2;
    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);
    do {
      local_48 = (iVar11 + 1) * 2;
      iVar12 = local_48 + -1;
      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);
      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);
      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);
      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);
      if (iVar9 == -1) {
        iVar9 = 0;
      }
      if (iVar10 == -1) {
        iVar10 = 0;
      }
      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);
      if (iVar9 < 0) {
        local_48 = iVar12;
        puVar1 = puVar14;
      }
      puVar4 = (undefined4 *)*puVar1;
      piVar2 = (int *)(param_1 + iVar11 * 0x18);
      puVar14 = puVar1 + 2;
      puVar8 = (undefined4 *)*piVar2;
      if (puVar4 == puVar14) {
        sVar13 = puVar1[1];
        if (sVar13 != 0) {
          if (sVar13 == 1) {
            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);
            iVar11 = puVar1[1];
            piVar2[1] = iVar11;
            *(undefined1 *)(*piVar2 + iVar11) = 0;
            puVar8 = (undefined4 *)*puVar1;
            goto LAB_001fafa7;
          }
          memcpy(puVar8,puVar14,sVar13);
          sVar13 = puVar1[1];
          puVar8 = (undefined4 *)*piVar2;
        }
        piVar2[1] = sVar13;
        *(undefined1 *)((int)puVar8 + sVar13) = 0;
        puVar8 = (undefined4 *)*puVar1;
      }
      else {
        if (puVar8 == local_54) {
          *piVar2 = (int)puVar4;
          piVar2[1] = puVar1[1];
          piVar2[2] = puVar1[2];
        }
        else {
          *piVar2 = (int)puVar4;
          iVar11 = piVar2[2];
          piVar2[1] = puVar1[1];
          piVar2[2] = puVar1[2];
          if (puVar8 != (undefined4 *)0x0) {
            *puVar1 = puVar8;
            puVar1[2] = iVar11;
            goto LAB_001fafa7;
          }
        }
        *puVar1 = puVar14;
        puVar8 = puVar14;
      }
LAB_001fafa7:
      puVar1[1] = 0;
      *(undefined1 *)puVar8 = 0;
      iVar11 = local_48;
      local_54 = puVar14;
    } while (local_48 < iVar7);
  }
  else {
    local_48 = param_2;
  }
  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {
    iVar7 = local_48 * 2 + 1;
    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);
    puVar8 = (undefined4 *)*puVar1;
    puVar14 = puVar1 + 2;
    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);
    __dest = (undefined4 *)*puVar4;
    if (puVar8 == puVar14) {
      sVar13 = puVar1[1];
      if (sVar13 != 0) {
        if (sVar13 == 1) {
          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);
          sVar13 = puVar1[1];
          __dest = (undefined4 *)*puVar4;
        }
        else {
          memcpy(__dest,puVar8,sVar13);
          sVar13 = puVar1[1];
          __dest = (undefined4 *)*puVar4;
        }
      }
      puVar4[1] = sVar13;
      *(undefined1 *)((int)__dest + sVar13) = 0;
      puVar14 = (undefined4 *)*puVar1;
    }
    else {
      if (__dest == puVar4 + 2) {
        *puVar4 = puVar8;
        puVar4[1] = puVar1[1];
        puVar4[2] = puVar1[2];
      }
      else {
        *puVar4 = puVar8;
        uVar6 = puVar4[2];
        puVar4[1] = puVar1[1];
        puVar4[2] = puVar1[2];
        if (__dest != (undefined4 *)0x0) {
          *puVar1 = __dest;
          puVar1[2] = uVar6;
          puVar14 = __dest;
          goto LAB_001fb2dc;
        }
      }
      *puVar1 = puVar14;
    }
LAB_001fb2dc:
    puVar1[1] = 0;
    *(undefined1 *)puVar14 = 0;
    local_48 = iVar7;
  }
  if ((int *)*param_4 == param_4 + 2) {
    local_2c = param_4[2];
    local_28 = param_4[3];
    local_24 = param_4[4];
    local_20 = param_4[5];
    local_34 = &local_2c;
  }
  else {
    local_2c = param_4[2];
    local_34 = (int *)*param_4;
  }
  local_30 = param_4[1];
  *param_4 = param_4 + 2;
  param_4[1] = 0;
  *(undefined1 *)(param_4 + 2) = 0;
  if (param_2 < local_48) {
    do {
      local_44 = (local_48 + -1) / 2;
      piVar2 = (int *)(param_1 + local_44 * 0x18);
      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);
      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);
      iVar7 = 0;
      if (iVar11 != -1) {
        iVar7 = iVar11;
      }
      if (iVar12 == -1) {
        iVar12 = 0;
      }
                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */
      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);
      piVar3 = (int *)(param_1 + local_48 * 0x18);
      __dest_00 = (int *)*piVar3;
      piVar15 = piVar3 + 2;
      if (-1 < iVar7) goto joined_r0x001fb35f;
      piVar5 = (int *)*piVar2;
      __src = piVar2 + 2;
      if (piVar5 == __src) {
        sVar13 = piVar2[1];
        if (sVar13 != 0) {
          if (sVar13 == 1) {
            *(char *)__dest_00 = (char)piVar2[2];
            iVar7 = piVar2[1];
            piVar3[1] = iVar7;
            *(undefined1 *)(*piVar3 + iVar7) = 0;
            __dest_00 = (int *)*piVar2;
            goto LAB_001fb15e;
          }
          memcpy(__dest_00,__src,sVar13);
          sVar13 = piVar2[1];
          __dest_00 = (int *)*piVar3;
        }
        piVar3[1] = sVar13;
        *(undefined1 *)((int)__dest_00 + sVar13) = 0;
        __dest_00 = (int *)*piVar2;
      }
      else {
        if (__dest_00 == piVar15) {
          *piVar3 = (int)piVar5;
          piVar3[1] = piVar2[1];
          piVar3[2] = piVar2[2];
        }
        else {
          *piVar3 = (int)piVar5;
          iVar7 = piVar3[2];
          piVar3[1] = piVar2[1];
          piVar3[2] = piVar2[2];
          if (__dest_00 != (int *)0x0) {
            *piVar2 = (int)__dest_00;
            piVar2[2] = iVar7;
            goto LAB_001fb15e;
          }
        }
        *piVar2 = (int)__src;
        __dest_00 = __src;
      }
LAB_001fb15e:
      piVar2[1] = 0;
      *(undefined1 *)__dest_00 = 0;
      local_48 = local_44;
    } while (param_2 < local_44);
    __dest_00 = (int *)*piVar2;
    piVar3 = piVar2;
    piVar15 = __src;
  }
  else {
    piVar3 = (int *)(param_1 + local_48 * 0x18);
    __dest_00 = (int *)*piVar3;
    piVar15 = piVar3 + 2;
  }
joined_r0x001fb35f:
  if (local_34 == &local_2c) {
    local_54 = &local_2c;
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest_00 = (undefined1)local_2c;
        __dest_00 = (int *)*piVar3;
      }
      else {
        memcpy(__dest_00,local_54,local_30);
        __dest_00 = (int *)*piVar3;
      }
    }
    piVar3[1] = local_30;
    *(undefined1 *)((int)__dest_00 + local_30) = 0;
    iVar7 = local_2c;
  }
  else {
    if (piVar15 == __dest_00) {
      *piVar3 = (int)local_34;
      piVar3[1] = local_30;
      piVar3[2] = local_2c;
    }
    else {
      iVar7 = piVar3[2];
      *piVar3 = (int)local_34;
      piVar3[1] = local_30;
      piVar3[2] = local_2c;
      local_34 = __dest_00;
      if (__dest_00 != (int *)0x0) goto LAB_001fb327;
    }
    local_34 = &local_2c;
    iVar7 = local_2c;
  }
LAB_001fb327:
  local_2c = iVar7;
  local_54 = &local_2c;
  local_30 = 0;
  *(undefined1 *)local_34 = 0;
  if (local_34 != local_54) {
    FUN_00248220(local_34);
  }
  return;
}


CALL 0x000b4846
ADD EAX,0x2190cb
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV dword ptr [EBP + -0x3c],EAX
MOV EAX,dword ptr [EBP + 0x10]
LEA EDX,[EAX + -0x1]
MOV EAX,EDX
SHR EAX,0x1f
ADD EAX,EDX
SAR EAX,0x1
CMP dword ptr [EBP + 0xc],EAX
MOV dword ptr [EBP + -0x54],EAX
MOV EAX,dword ptr [EBP + 0xc]
JGE 0x001fb430
MOV EDX,dword ptr [EBP + 0x8]
LEA EAX,[EAX + EAX*0x2]
MOV EDI,dword ptr [EBP + 0xc]
LEA EAX,[EDX + EAX*0x8 + 0x8]
MOV dword ptr [EBP + -0x50],EAX
JMP 0x001fafc2
CMP EAX,dword ptr [EBP + -0x50]
JZ 0x001fb0a0
MOV dword ptr [EDI],EDX
MOV EDX,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [EDI + 0x8]
MOV dword ptr [EDI + 0x4],EDX
MOV EDX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],EDX
TEST EAX,EAX
JZ 0x001fb0ae
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x8],EBX
MOV dword ptr [ESI + 0x4],0x0
MOV EDI,ECX
MOV byte ptr [EAX],0x0
CMP ECX,dword ptr [EBP + -0x54]
JGE 0x001fb0c0
MOV EAX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x50],EAX
LEA EAX,[EDI + 0x1]
MOV EBX,dword ptr [EBP + 0x8]
SUB ESP,0x4
LEA ECX,[EAX + EAX*0x1]
PUSH -0x1
LEA ESI,[ECX + -0x1]
LEA EAX,[ECX + EAX*0x4]
PUSH 0x2f
LEA EDX,[ESI + ESI*0x2]
MOV dword ptr [EBP + -0x44],ESI
LEA ESI,[EBX + EDX*0x8]
MOV dword ptr [EBP + -0x4c],ECX
MOV dword ptr [EBP + -0x40],ESI
LEA ESI,[EBX + EAX*0x8]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH ESI
CALL 0x002521c0
ADD ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
PUSH -0x1
PUSH 0x2f
PUSH dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x48],EAX
CALL 0x002521c0
POP EBX
POP EDX
MOV ECX,0x0
MOV EDX,dword ptr [EBP + -0x48]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH -0x1
CMP EDX,-0x1
CMOVZ EDX,ECX
CMP EAX,-0x1
CMOVZ EAX,ECX
PUSH EAX
PUSH dword ptr [EBP + -0x40]
PUSH -0x1
PUSH EDX
PUSH ESI
CALL 0x00252740
ADD ESP,0x20
MOV ECX,dword ptr [EBP + -0x4c]
TEST EAX,EAX
CMOVS ESI,dword ptr [EBP + -0x40]
LEA EAX,[EDI + EDI*0x2]
MOV EDI,dword ptr [EBP + 0x8]
CMOVS ECX,dword ptr [EBP + -0x44]
MOV EDX,dword ptr [ESI]
LEA EDI,[EDI + EAX*0x8]
LEA EBX,[ESI + 0x8]
MOV EAX,dword ptr [EDI]
MOV dword ptr [EBP + -0x40],EBX
CMP EDX,EBX
JNZ 0x001faf80
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JZ 0x001fb089
CMP EDX,0x1
JZ 0x001fb3c0
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x3c]
MOV dword ptr [EBP + -0x44],ECX
PUSH EDX
PUSH dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x0002c2d0
MOV EDX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x44]
MOV dword ptr [EDI + 0x4],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [ESI]
JMP 0x001fafa7
MOV dword ptr [EDI],EDX
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],EAX
MOV EAX,dword ptr [EBP + -0x40]
MOV dword ptr [ESI],EAX
JMP 0x001fafa7
MOV dword ptr [EBP + -0x44],ECX
TEST byte ptr [EBP + 0x10],0x1
JZ 0x001fb270
LEA EAX,[EBP + -0x28]
MOV EDX,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x50],EAX
MOV dword ptr [EBP + -0x30],EAX
MOV EAX,dword ptr [EBP + 0x14]
ADD EDX,0x8
MOV EAX,dword ptr [EAX]
CMP EAX,EDX
JZ 0x001fb400
MOV dword ptr [EBP + -0x30],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x28],EAX
MOV ESI,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESI],EDX
MOV dword ptr [ESI + 0x4],0x0
MOV byte ptr [ESI + 0x8],0x0
MOV ESI,dword ptr [EBP + -0x44]
MOV dword ptr [EBP + -0x2c],EAX
LEA EDX,[ESI + -0x1]
MOV EDI,EDX
SHR EDI,0x1f
ADD EDI,EDX
SAR EDI,0x1
MOV dword ptr [EBP + -0x40],EDI
CMP ESI,dword ptr [EBP + 0xc]
JLE 0x001fb438
LEA EAX,[EBP + -0x30]
MOV dword ptr [EBP + -0x48],EAX
JMP 0x001fb186
CMP ECX,EBX
JZ 0x001fb250
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [EDI + 0x8]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],EAX
TEST ECX,ECX
JZ 0x001fb25e
MOV dword ptr [ESI],ECX
MOV dword ptr [ESI + 0x8],EBX
MOV EDI,dword ptr [EBP + -0x40]
MOV dword ptr [ESI + 0x4],0x0
MOV byte ptr [ECX],0x0
LEA ECX,[EDI + -0x1]
MOV dword ptr [EBP + -0x44],EDI
MOV EAX,ECX
SHR EAX,0x1f
ADD EAX,ECX
SAR EAX,0x1
CMP dword ptr [EBP + 0xc],EDI
JGE 0x001fb350
MOV dword ptr [EBP + -0x40],EAX
MOV EAX,dword ptr [EBP + -0x40]
MOV EDI,dword ptr [EBP + 0x8]
SUB ESP,0x4
PUSH -0x1
LEA EAX,[EAX + EAX*0x2]
PUSH 0x2f
LEA ESI,[EDI + EAX*0x8]
MOV EDI,dword ptr [EBP + -0x3c]
PUSH ESI
MOV EBX,EDI
CALL 0x002521c0
ADD ESP,0xc
MOV dword ptr [EBP + -0x3c],EDI
MOV EDI,0x0
PUSH -0x1
PUSH 0x2f
PUSH dword ptr [EBP + -0x48]
MOV dword ptr [EBP + -0x4c],EAX
CALL 0x002521c0
POP EDX
POP ECX
MOV EDX,0x0
MOV ECX,dword ptr [EBP + -0x4c]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH -0x1
CMP ECX,-0x1
CMOVNZ EDX,ECX
CMP EAX,-0x1
CMOVZ EAX,EDI
PUSH EAX
PUSH dword ptr [EBP + -0x48]
PUSH -0x1
PUSH EDX
PUSH ESI
CALL 0x00252740
MOV EDI,dword ptr [EBP + -0x44]
ADD ESP,0x20
LEA EDX,[EDI + EDI*0x2]
MOV EDI,dword ptr [EBP + 0x8]
LEA EBX,[EDI + EDX*0x8]
MOV EDI,EBX
MOV ECX,dword ptr [EBX]
ADD EBX,0x8
TEST EAX,EAX
JNS 0x001fb2f8
MOV EAX,dword ptr [ESI]
LEA EDX,[ESI + 0x8]
CMP EAX,EDX
JNZ 0x001fb138
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x001fb23d
CMP EAX,0x1
JZ 0x001fb3a0
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x3c]
MOV dword ptr [EBP + -0x44],EDX
PUSH EAX
PUSH EDX
PUSH ECX
CALL 0x0002c2d0
MOV EAX,dword ptr [ESI + 0x4]
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x44]
MOV dword ptr [EDI + 0x4],EAX
MOV byte ptr [ECX + EAX*0x1],0x0
MOV ECX,dword ptr [ESI]
JMP 0x001fb15e
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],EAX
MOV dword ptr [ESI],EDX
MOV ECX,EDX
JMP 0x001fb15e
MOV EAX,dword ptr [EBP + 0x10]
SUB EAX,0x2
MOV EDX,EAX
SHR EDX,0x1f
ADD EAX,EDX
SAR EAX,0x1
CMP EAX,dword ptr [EBP + -0x44]
JNZ 0x001fb0cd
MOV EDX,dword ptr [EBP + -0x44]
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[EDX + EDX*0x1 + 0x1]
MOV dword ptr [EBP + -0x40],EAX
LEA EAX,[EAX + EAX*0x2]
LEA ESI,[ESI + EAX*0x8]
LEA EAX,[EDX + EDX*0x2]
MOV EDX,dword ptr [EBP + 0x8]
MOV ECX,dword ptr [ESI]
LEA EBX,[ESI + 0x8]
LEA EDI,[EDX + EAX*0x8]
MOV EAX,dword ptr [EDI]
CMP ECX,EBX
JZ 0x001fb477
LEA EDX,[EDI + 0x8]
CMP EAX,EDX
JZ 0x001fb460
MOV dword ptr [EDI],ECX
MOV ECX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [EDI + 0x8]
MOV dword ptr [EDI + 0x4],ECX
MOV ECX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],ECX
TEST EAX,EAX
JZ 0x001fb46e
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x8],EDX
MOV dword ptr [ESI + 0x4],0x0
MOV byte ptr [EAX],0x0
MOV EAX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x44],EAX
JMP 0x001fb0cd
MOV EAX,dword ptr [EBP + -0x2c]
MOV EDX,dword ptr [EBP + -0x30]
CMP EDX,dword ptr [EBP + -0x50]
JZ 0x001fb361
MOV ESI,dword ptr [EBP + -0x28]
CMP EBX,ECX
JZ 0x001fb3e0
MOV EBX,dword ptr [EDI + 0x8]
MOV dword ptr [EDI],EDX
MOV dword ptr [EDI + 0x4],EAX
MOV dword ptr [EDI + 0x8],ESI
TEST ECX,ECX
JZ 0x001fb3e8
MOV dword ptr [EBP + -0x30],ECX
MOV dword ptr [EBP + -0x28],EBX
MOV dword ptr [EBP + -0x2c],0x0
MOV byte ptr [ECX],0x0
MOV EAX,dword ptr [EBP + -0x30]
CMP EAX,dword ptr [EBP + -0x50]
JZ 0x001fb348
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,EDX
MOV EAX,dword ptr [EBP + -0x2c]
MOV ECX,dword ptr [ESI]
MOV EDI,ESI
MOV EDX,dword ptr [EBP + -0x30]
CMP EDX,dword ptr [EBP + -0x50]
JNZ 0x001fb303
TEST EAX,EAX
JZ 0x001fb390
CMP EAX,0x1
JZ 0x001fb450
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EAX
PUSH dword ptr [EBP + -0x50]
PUSH ECX
CALL 0x0002c2d0
MOV EAX,dword ptr [EBP + -0x2c]
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV dword ptr [EDI + 0x4],EAX
MOV byte ptr [ECX + EAX*0x1],0x0
MOV ECX,dword ptr [EBP + -0x30]
JMP 0x001fb327
MOVZX EAX,byte ptr [ESI + 0x8]
MOV byte ptr [ECX],AL
MOV EAX,dword ptr [ESI + 0x4]
MOV ECX,dword ptr [EDI]
MOV dword ptr [EDI + 0x4],EAX
MOV byte ptr [ECX + EAX*0x1],0x0
MOV ECX,dword ptr [ESI]
JMP 0x001fb15e
MOVZX EDX,byte ptr [ESI + 0x8]
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EDI]
MOV dword ptr [EDI + 0x4],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [ESI]
JMP 0x001fafa7
MOV dword ptr [EDI],EDX
MOV dword ptr [EDI + 0x4],EAX
MOV dword ptr [EDI + 0x8],ESI
MOV EAX,dword ptr [EBP + -0x50]
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[EBP + -0x28]
MOV dword ptr [EBP + -0x50],EAX
MOV ECX,EAX
JMP 0x001fb327
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x28],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [EBP + -0x24],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [EBP + -0x20],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [EBP + -0x1c],EAX
JMP 0x001fb0f5
MOV dword ptr [EBP + -0x44],EAX
JMP 0x001fb0c3
MOV ESI,dword ptr [EBP + -0x44]
LEA EDX,[ESI + ESI*0x2]
MOV ESI,dword ptr [EBP + 0x8]
LEA ESI,[ESI + EDX*0x8]
MOV EDI,ESI
MOV ECX,dword ptr [ESI]
LEA EBX,[ESI + 0x8]
JMP 0x001fb2fb
MOVZX EAX,byte ptr [EBP + -0x28]
MOV byte ptr [ECX],AL
MOV EAX,dword ptr [EBP + -0x2c]
MOV ECX,dword ptr [EDI]
JMP 0x001fb390
MOV dword ptr [EDI],ECX
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EDI + 0x8],EAX
MOV dword ptr [ESI],EBX
MOV EAX,EBX
JMP 0x001fb2dc
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JZ 0x001fb499
CMP EDX,0x1
JZ 0x001fb4a7
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EDX
PUSH ECX
PUSH EAX
CALL 0x0002c2d0
MOV EDX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
MOV dword ptr [EDI + 0x4],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [ESI]
JMP 0x001fb2dc
MOVZX EDX,byte ptr [ESI + 0x8]
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EDI]
JMP 0x001fb499
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)\n\n{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)\n\n{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" { (declaration "int *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "size_t sVar13;" primitive_type identifier ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "int *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar7 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar7 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }" if (parenthesized_expression "(param_2 < iVar7)" ( (binary_expression "param_2 < iVar7" identifier < identifier) )) (compound_statement "{\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }" { (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (expression_statement "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);" (assignment_expression "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + 8 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + param_2 * 0x18)" ( (binary_expression "param_1 + 8 + param_2 * 0x18" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (do_statement "do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);" do (compound_statement "{\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    }" { (expression_statement "local_48 = (iVar11 + 1) * 2;" (assignment_expression "local_48 = (iVar11 + 1) * 2" identifier = (binary_expression "(iVar11 + 1) * 2" (parenthesized_expression "(iVar11 + 1)" ( (binary_expression "iVar11 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar12 = local_48 + -1;" (assignment_expression "iVar12 = local_48 + -1" identifier = (binary_expression "local_48 + -1" identifier + number_literal)) ;) (expression_statement "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);" (assignment_expression "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar12 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar12 * 0x18)" ( (binary_expression "param_1 + iVar12 * 0x18" identifier + (binary_expression "iVar12 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar11 + 1) * 0x30)" ( (binary_expression "param_1 + (iVar11 + 1) * 0x30" identifier + (binary_expression "(iVar11 + 1) * 0x30" (parenthesized_expression "(iVar11 + 1)" ( (binary_expression "iVar11 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);" (assignment_expression "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(puVar1,0x2f,0xffffffff)" identifier (argument_list "(puVar1,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);" (assignment_expression "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(puVar14,0x2f,0xffffffff)" identifier (argument_list "(puVar14,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar9 == -1) {\n        iVar9 = 0;\n      }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar9 = 0;\n      }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) })) (if_statement "if (iVar10 == -1) {\n        iVar10 = 0;\n      }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar10 = 0;\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) (expression_statement "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);" (assignment_expression "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" identifier = (call_expression "FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" identifier (argument_list "(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" ( identifier , identifier , number_literal , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" { (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" identifier = identifier) ;) (expression_statement "puVar1 = puVar14;" (assignment_expression "puVar1 = puVar14" identifier = identifier) ;) })) (expression_statement "puVar4 = (undefined4 *)*puVar1;" (assignment_expression "puVar4 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "piVar2 = (int *)(param_1 + iVar11 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + iVar11 * 0x18)" identifier = (cast_expression "(int *)(param_1 + iVar11 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar11 * 0x18)" ( (binary_expression "param_1 + iVar11 * 0x18" identifier + (binary_expression "iVar11 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" identifier = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" if (parenthesized_expression "(puVar4 == puVar14)" ( (binary_expression "puVar4 == puVar14" identifier == identifier) )) (compound_statement "{\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }" { (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" { (if_statement "if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(puVar1 + 2)" * (cast_expression "(undefined1 *)(puVar1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = puVar1[1];" (assignment_expression "iVar11 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[1] = iVar11;" (assignment_expression "piVar2[1] = iVar11" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*piVar2 + iVar11) = 0;" (assignment_expression "*(undefined1 *)(*piVar2 + iVar11) = 0" (pointer_expression "*(undefined1 *)(*piVar2 + iVar11)" * (cast_expression "(undefined1 *)(*piVar2 + iVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + iVar11)" ( (binary_expression "*piVar2 + iVar11" (pointer_expression "*piVar2" * identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) (expression_statement "memcpy(puVar8,puVar14,sVar13);" (call_expression "memcpy(puVar8,puVar14,sVar13)" identifier (argument_list "(puVar8,puVar14,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) })) (expression_statement "piVar2[1] = sVar13;" (assignment_expression "piVar2[1] = sVar13" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar8 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + sVar13)" * (cast_expression "(undefined1 *)((int)puVar8 + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + sVar13)" ( (binary_expression "(int)puVar8 + sVar13" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" else (compound_statement "{\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" { (if_statement "if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" if (parenthesized_expression "(puVar8 == local_54)" ( (binary_expression "puVar8 == local_54" identifier == identifier) )) (compound_statement "{\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }" { (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" else (compound_statement "{\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" { (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar11 = piVar2[2];" (assignment_expression "iVar11 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*puVar1 = puVar8;" (assignment_expression "*puVar1 = puVar8" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = iVar11;" (assignment_expression "puVar1[2] = iVar11" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) }))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar8 = puVar14;" (assignment_expression "puVar8 = puVar14" identifier = identifier) ;) }))) (labeled_statement "LAB_001fafa7:\n      puVar1[1] = 0;" statement_identifier : (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)puVar8 = 0;" (assignment_expression "*(undefined1 *)puVar8 = 0" (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "iVar11 = local_48;" (assignment_expression "iVar11 = local_48" identifier = identifier) ;) (expression_statement "local_54 = puVar14;" (assignment_expression "local_54 = puVar14" identifier = identifier) ;) }) while (parenthesized_expression "(local_48 < iVar7)" ( (binary_expression "local_48 < iVar7" identifier < identifier) )) ;) }) (else_clause "else {\n    local_48 = param_2;\n  }" else (compound_statement "{\n    local_48 = param_2;\n  }" { (expression_statement "local_48 = param_2;" (assignment_expression "local_48 = param_2" identifier = identifier) ;) }))) (if_statement "if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" if (parenthesized_expression "(((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48))" ( (binary_expression "((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)" (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((int)(param_3 - 2) / 2 == local_48)" ( (binary_expression "(int)(param_3 - 2) / 2 == local_48" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) ))) )) (compound_statement "{\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" { (expression_statement "iVar7 = local_48 * 2 + 1;" (assignment_expression "iVar7 = local_48 * 2 + 1" identifier = (binary_expression "local_48 * 2 + 1" (binary_expression "local_48 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar7 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7 * 0x18)" ( (binary_expression "param_1 + iVar7 * 0x18" identifier + (binary_expression "iVar7 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" identifier = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + local_48 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (if_statement "if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" if (parenthesized_expression "(puVar8 == puVar14)" ( (binary_expression "puVar8 == puVar14" identifier == identifier) )) (compound_statement "{\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }" { (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" { (if_statement "if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" { (expression_statement "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(puVar1 + 2)" * (cast_expression "(undefined1 *)(puVar1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }) (else_clause "else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" else (compound_statement "{\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" { (expression_statement "memcpy(__dest,puVar8,sVar13);" (call_expression "memcpy(__dest,puVar8,sVar13)" identifier (argument_list "(__dest,puVar8,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }))) })) (expression_statement "puVar4[1] = sVar13;" (assignment_expression "puVar4[1] = sVar13" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar13)" * (cast_expression "(undefined1 *)((int)__dest + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar13)" ( (binary_expression "(int)__dest + sVar13" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar14 = (undefined4 *)*puVar1;" (assignment_expression "puVar14 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" else (compound_statement "{\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" { (if_statement "if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" if (parenthesized_expression "(__dest == puVar4 + 2)" ( (binary_expression "__dest == puVar4 + 2" identifier == (binary_expression "puVar4 + 2" identifier + number_literal)) )) (compound_statement "{\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }" { (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" else (compound_statement "{\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" { (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "uVar6 = puVar4[2];" (assignment_expression "uVar6 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" { (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar14 = __dest;" (assignment_expression "puVar14 = __dest" identifier = identifier) ;) (goto_statement "goto LAB_001fb2dc;" goto statement_identifier ;) })) }))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" * identifier) = identifier) ;) }))) (labeled_statement "LAB_001fb2dc:\n    puVar1[1] = 0;" statement_identifier : (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)puVar14 = 0;" (assignment_expression "*(undefined1 *)puVar14 = 0" (pointer_expression "*(undefined1 *)puVar14" * (cast_expression "(undefined1 *)puVar14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "local_48 = iVar7;" (assignment_expression "local_48 = iVar7" identifier = identifier) ;) })) (if_statement "if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" if (parenthesized_expression "((int *)*param_4 == param_4 + 2)" ( (binary_expression "(int *)*param_4 == param_4 + 2" (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) == (binary_expression "param_4 + 2" identifier + number_literal)) )) (compound_statement "{\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }" { (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "local_28 = param_4[3];" (assignment_expression "local_28 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (expression_statement "local_24 = param_4[4];" (assignment_expression "local_24 = param_4[4]" identifier = (subscript_expression "param_4[4]" identifier [ number_literal ])) ;) (expression_statement "local_20 = param_4[5];" (assignment_expression "local_20 = param_4[5]" identifier = (subscript_expression "param_4[5]" identifier [ number_literal ])) ;) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) }) (else_clause "else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" else (compound_statement "{\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" { (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "local_34 = (int *)*param_4;" (assignment_expression "local_34 = (int *)*param_4" identifier = (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }))) (expression_statement "local_30 = param_4[1];" (assignment_expression "local_30 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "*param_4 = param_4 + 2;" (assignment_expression "*param_4 = param_4 + 2" (pointer_expression "*param_4" * identifier) = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_4 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_4 + 2) = 0" (pointer_expression "*(undefined1 *)(param_4 + 2)" * (cast_expression "(undefined1 *)(param_4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 2)" ( (binary_expression "param_4 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" if (parenthesized_expression "(param_2 < local_48)" ( (binary_expression "param_2 < local_48" identifier < identifier) )) (compound_statement "{\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }" { (do_statement "do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);" do (compound_statement "{\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    }" { (expression_statement "local_44 = (local_48 + -1) / 2;" (assignment_expression "local_44 = (local_48 + -1) / 2" identifier = (binary_expression "(local_48 + -1) / 2" (parenthesized_expression "(local_48 + -1)" ( (binary_expression "local_48 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "piVar2 = (int *)(param_1 + local_44 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + local_44 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_44 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_44 * 0x18)" ( (binary_expression "param_1 + local_44 * 0x18" identifier + (binary_expression "local_44 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);" (assignment_expression "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(piVar2,0x2f,0xffffffff)" identifier (argument_list "(piVar2,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);" (assignment_expression "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(&local_34,0x2f,0xffffffff)" identifier (argument_list "(&local_34,0x2f,0xffffffff)" ( (pointer_expression "&local_34" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }" if (parenthesized_expression "(iVar11 != -1)" ( (binary_expression "iVar11 != -1" identifier != number_literal) )) (compound_statement "{\n        iVar7 = iVar11;\n      }" { (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" identifier = identifier) ;) })) (if_statement "if (iVar12 == -1) {\n        iVar12 = 0;\n      }" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar12 = 0;\n      }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) })) comment (expression_statement "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);" (assignment_expression "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" identifier = (call_expression "FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" identifier (argument_list "(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" ( identifier , identifier , number_literal , (pointer_expression "&local_34" & identifier) , identifier , number_literal )))) ;) (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_48 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (if_statement "if (-1 < iVar7) goto joined_r0x001fb35f;" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (goto_statement "goto joined_r0x001fb35f;" goto statement_identifier ;)) (expression_statement "piVar5 = (int *)*piVar2;" (assignment_expression "piVar5 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "__src = piVar2 + 2;" (assignment_expression "__src = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" if (parenthesized_expression "(piVar5 == __src)" ( (binary_expression "piVar5 == __src" identifier == identifier) )) (compound_statement "{\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }" { (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" { (if_statement "if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*(char *)__dest_00 = (char)piVar2[2];" (assignment_expression "*(char *)__dest_00 = (char)piVar2[2]" (pointer_expression "*(char *)__dest_00" * (cast_expression "(char *)__dest_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)piVar2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = iVar7;" (assignment_expression "piVar3[1] = iVar7" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*piVar3 + iVar7) = 0;" (assignment_expression "*(undefined1 *)(*piVar3 + iVar7) = 0" (pointer_expression "*(undefined1 *)(*piVar3 + iVar7)" * (cast_expression "(undefined1 *)(*piVar3 + iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + iVar7)" ( (binary_expression "*piVar3 + iVar7" (pointer_expression "*piVar3" * identifier) + identifier) )))) = number_literal) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) (expression_statement "memcpy(__dest_00,__src,sVar13);" (call_expression "memcpy(__dest_00,__src,sVar13)" identifier (argument_list "(__dest_00,__src,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) })) (expression_statement "piVar3[1] = sVar13;" (assignment_expression "piVar3[1] = sVar13" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest_00 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + sVar13)" * (cast_expression "(undefined1 *)((int)__dest_00 + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + sVar13)" ( (binary_expression "(int)__dest_00 + sVar13" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) (else_clause "else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" else (compound_statement "{\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" { (if_statement "if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" if (parenthesized_expression "(__dest_00 == piVar15)" ( (binary_expression "__dest_00 == piVar15" identifier == identifier) )) (compound_statement "{\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }" { (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" else (compound_statement "{\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" { (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (if_statement "if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(__dest_00 != (int *)0x0)" ( (binary_expression "__dest_00 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*piVar2 = (int)__dest_00;" (assignment_expression "*piVar2 = (int)__dest_00" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[2] = iVar7;" (assignment_expression "piVar2[2] = iVar7" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) }))) (expression_statement "*piVar2 = (int)__src;" (assignment_expression "*piVar2 = (int)__src" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "__dest_00 = __src;" (assignment_expression "__dest_00 = __src" identifier = identifier) ;) }))) (labeled_statement "LAB_001fb15e:\n      piVar2[1] = 0;" statement_identifier : (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)__dest_00 = 0;" (assignment_expression "*(undefined1 *)__dest_00 = 0" (pointer_expression "*(undefined1 *)__dest_00" * (cast_expression "(undefined1 *)__dest_00" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < local_44)" ( (binary_expression "param_2 < local_44" identifier < identifier) )) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (expression_statement "piVar15 = __src;" (assignment_expression "piVar15 = __src" identifier = identifier) ;) }) (else_clause "else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" else (compound_statement "{\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" { (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_48 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) }))) (labeled_statement "joined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" statement_identifier : (if_statement "if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" if (parenthesized_expression "(local_34 == &local_2c)" ( (binary_expression "local_34 == &local_2c" identifier == (pointer_expression "&local_2c" & identifier)) )) (compound_statement "{\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }" { (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }" { (expression_statement "*(undefined1 *)__dest_00 = (undefined1)local_2c;" (assignment_expression "*(undefined1 *)__dest_00 = (undefined1)local_2c" (pointer_expression "*(undefined1 *)__dest_00" * (cast_expression "(undefined1 *)__dest_00" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) (else_clause "else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" else (compound_statement "{\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" { (expression_statement "memcpy(__dest_00,local_54,local_30);" (call_expression "memcpy(__dest_00,local_54,local_30)" identifier (argument_list "(__dest_00,local_54,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }))) })) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest_00 + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + local_30)" * (cast_expression "(undefined1 *)((int)__dest_00 + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + local_30)" ( (binary_expression "(int)__dest_00 + local_30" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" else (compound_statement "{\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" { (if_statement "if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" if (parenthesized_expression "(piVar15 == __dest_00)" ( (binary_expression "piVar15 == __dest_00" identifier == identifier) )) (compound_statement "{\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }" { (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" else (compound_statement "{\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" { (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_34 = __dest_00;" (assignment_expression "local_34 = __dest_00" identifier = identifier) ;) (if_statement "if (__dest_00 != (int *)0x0) goto LAB_001fb327;" if (parenthesized_expression "(__dest_00 != (int *)0x0)" ( (binary_expression "__dest_00 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001fb327;" goto statement_identifier ;)) }))) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) })))) (labeled_statement "LAB_001fb327:\n  local_2c = iVar7;" statement_identifier : (expression_statement "local_2c = iVar7;" (assignment_expression "local_2c = iVar7" identifier = identifier) ;)) (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }" if (parenthesized_expression "(local_34 != local_54)" ( (binary_expression "local_34 != local_54" identifier != identifier) )) (compound_statement "{\n    FUN_00248220(local_34);\n  }" { (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name:\n   __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,\n   std::vector<std::__cxx11::basic_string<char> > >, int, std::__cxx11::basic_string<char>,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare> > */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,_std::vector<std::__cxx11::basic_string<char>_>_>,_int,_std::__cxx11::basic_string<char>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare>_>\n               (int __first,int __holeIndex,uint __len,undefined4 *__value)\n\n{\n  int iVar1;\n  string *__src;\n  string *psVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  string *psVar6;\n  string *psVar7;\n  undefined4 *__src_00;\n  undefined4 uVar8;\n  int iVar9;\n  string *psVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  uint uVar14;\n  size_t sVar15;\n  undefined4 *puVar16;\n  undefined4 *__dest;\n  string *psVar17;\n  int iVar18;\n  string *local_54;\n  int local_48;\n  int local_44;\n  string *local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar9 = (int)(__len - 1) / 2;\n  if (__holeIndex < iVar9) {\n    iVar18 = __holeIndex;\n    local_54 = (string *)(__first + 8 + __holeIndex * 0x18);\n    do {\n      local_48 = (iVar18 + 1) * 2;\n      iVar1 = local_48 + -1;\n      psVar2 = (string *)(__first + iVar1 * 0x18);\n      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);\n      uVar11 = string::rfind(psVar17,'/',0xffffffff);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }\n      if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }\n      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);\n      if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }\n      psVar6 = *(string **)psVar17;\n      piVar3 = (int *)(__first + iVar18 * 0x18);\n      psVar2 = psVar17 + 8;\n      psVar10 = (string *)*piVar3;\n      if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }\nLAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;\n      *psVar10 = (string)0x0;\n      iVar18 = local_48;\n      local_54 = psVar2;\n    } while (local_48 < iVar9);\n  }\n  else {\n    local_48 = __holeIndex;\n  }\n  if (((__len & 1) == 0) && ((int)(__len - 2) / 2 == local_48)) {\n    iVar9 = local_48 * 2 + 1;\n    puVar4 = (undefined4 *)(__first + iVar9 * 0x18);\n    __src_00 = (undefined4 *)*puVar4;\n    puVar16 = puVar4 + 2;\n    puVar5 = (undefined4 *)(__first + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar5;\n    if (__src_00 == puVar16) {\n      sVar15 = puVar4[1];\n      if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }\n      puVar5[1] = sVar15;\n      *(undefined1 *)((int)__dest + sVar15) = 0;\n      puVar16 = (undefined4 *)*puVar4;\n    }\n    else {\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }\nLAB_001fb2dc:\n    puVar4[1] = 0;\n    *(undefined1 *)puVar16 = 0;\n    local_48 = iVar9;\n  }\n  if ((string *)*__value == (string *)(__value + 2)) {\n    local_2c = __value[2];\n    local_28 = __value[3];\n    local_24 = __value[4];\n    local_20 = __value[5];\n    local_34 = (string *)&local_2c;\n  }\n  else {\n    local_2c = __value[2];\n    local_34 = (string *)*__value;\n  }\n  local_30 = __value[1];\n  *__value = (string *)(__value + 2);\n  __value[1] = 0;\n  *(undefined1 *)(__value + 2) = 0;\n  if (__holeIndex < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      psVar2 = (string *)(__first + local_44 * 0x18);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);\n      uVar11 = 0;\n      if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }\n      if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);\n      psVar6 = (string *)(__first + local_48 * 0x18);\n      psVar10 = *(string **)psVar6;\n      psVar17 = psVar6 + 8;\n      if (-1 < iVar9) goto joined_r0x001fb35f;\n      psVar7 = *(string **)psVar2;\n      __src = psVar2 + 8;\n      if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }\nLAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;\n      *psVar10 = (string)0x0;\n      local_48 = local_44;\n    } while (__holeIndex < local_44);\n    psVar10 = *(string **)psVar2;\n    psVar6 = psVar2;\n    psVar17 = __src;\n  }\n  else {\n    psVar6 = (string *)(__first + local_48 * 0x18);\n    psVar10 = *(string **)psVar6;\n    psVar17 = psVar6 + 8;\n  }\njoined_r0x001fb35f:\n  if (local_34 == (string *)&local_2c) {\n    local_54 = (string *)&local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }\n    *(size_t *)(psVar6 + 4) = local_30;\n    psVar10[local_30] = (string)0x0;\n    uVar8 = local_2c;\n  }\n  else {\n    if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }\n    local_34 = (string *)&local_2c;\n    uVar8 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = uVar8;\n  local_54 = (string *)&local_2c;\n  local_30 = 0;\n  *local_34 = (string)0x0;\n  if (local_34 != local_54) {\n    operator_delete(local_34);\n  }\n  return;\n}\n\n" comment comment comment (declaration "void std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,_std::vector<std::__cxx11::basic_string<char>_>_>,_int,_std::__cxx11::basic_string<char>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare>_>\n               (int __first,int __holeIndex,uint __len,undefined4 *__value)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>" identifier : : identifier < identifier : : identifier < identifier : : identifier : : identifier < primitive_type >) (pointer_declarator "*,_std::vector<std::__cxx11::basic_string<char>_>_" * (ERROR ",_std::vector<std::__cxx11::basic_string<char>_>" , identifier : : identifier < identifier : : identifier : : identifier < primitive_type > identifier >) identifier) (ERROR ">" >) , identifier , (ERROR "_std::__cxx11::" identifier : : identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare>_>\n               (int __first,int __holeIndex,uint __len,undefined4 *__value)\n\n{\n  int" identifier : : identifier : : identifier < identifier : : identifier > (function_declarator "_>\n               (int __first,int __holeIndex,uint __len,undefined4 *__value)" identifier (ERROR ">" >) (parameter_list "(int __first,int __holeIndex,uint __len,undefined4 *__value)" ( (parameter_declaration "int __first" primitive_type identifier) , (parameter_declaration "int __holeIndex" primitive_type identifier) , (parameter_declaration "uint __len" type_identifier identifier) , (parameter_declaration "undefined4 *__value" type_identifier (pointer_declarator "*__value" * identifier)) ))) { primitive_type) identifier ;) (declaration "string *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "string *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "string *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "string *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "undefined4 *__src_00;" type_identifier (pointer_declarator "*__src_00" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "string *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "size_t sVar15;" primitive_type identifier ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "string *psVar17;" type_identifier (pointer_declarator "*psVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "string *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "string *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar9 = (int)(__len - 1) / 2;" (assignment_expression "iVar9 = (int)(__len - 1) / 2" identifier = (binary_expression "(int)(__len - 1) / 2" (cast_expression "(int)(__len - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 1)" ( (binary_expression "__len - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (__holeIndex < iVar9) {\n    iVar18 = __holeIndex;\n    local_54 = (string *)(__first + 8 + __holeIndex * 0x18);\n    do {\n      local_48 = (iVar18 + 1) * 2;\n      iVar1 = local_48 + -1;\n      psVar2 = (string *)(__first + iVar1 * 0x18);\n      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);\n      uVar11 = string::rfind(psVar17,'/',0xffffffff);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }\n      if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }\n      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);\n      if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }\n      psVar6 = *(string **)psVar17;\n      piVar3 = (int *)(__first + iVar18 * 0x18);\n      psVar2 = psVar17 + 8;\n      psVar10 = (string *)*piVar3;\n      if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }\nLAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;\n      *psVar10 = (string)0x0;\n      iVar18 = local_48;\n      local_54 = psVar2;\n    } while (local_48 < iVar9);\n  }\n  else {\n    local_48 = __holeIndex;\n  }" if (parenthesized_expression "(__holeIndex < iVar9)" ( (binary_expression "__holeIndex < iVar9" identifier < identifier) )) (compound_statement "{\n    iVar18 = __holeIndex;\n    local_54 = (string *)(__first + 8 + __holeIndex * 0x18);\n    do {\n      local_48 = (iVar18 + 1) * 2;\n      iVar1 = local_48 + -1;\n      psVar2 = (string *)(__first + iVar1 * 0x18);\n      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);\n      uVar11 = string::rfind(psVar17,'/',0xffffffff);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }\n      if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }\n      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);\n      if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }\n      psVar6 = *(string **)psVar17;\n      piVar3 = (int *)(__first + iVar18 * 0x18);\n      psVar2 = psVar17 + 8;\n      psVar10 = (string *)*piVar3;\n      if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }\nLAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;\n      *psVar10 = (string)0x0;\n      iVar18 = local_48;\n      local_54 = psVar2;\n    } while (local_48 < iVar9);\n  }" { (expression_statement "iVar18 = __holeIndex;" (assignment_expression "iVar18 = __holeIndex" identifier = identifier) ;) (expression_statement "local_54 = (string *)(__first + 8 + __holeIndex * 0x18);" (assignment_expression "local_54 = (string *)(__first + 8 + __holeIndex * 0x18)" identifier = (cast_expression "(string *)(__first + 8 + __holeIndex * 0x18)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + 8 + __holeIndex * 0x18)" ( (binary_expression "__first + 8 + __holeIndex * 0x18" (binary_expression "__first + 8" identifier + number_literal) + (binary_expression "__holeIndex * 0x18" identifier * number_literal)) )))) ;) (do_statement "do {\n      local_48 = (iVar18 + 1) * 2;\n      iVar1 = local_48 + -1;\n      psVar2 = (string *)(__first + iVar1 * 0x18);\n      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);\n      uVar11 = string::rfind(psVar17,'/',0xffffffff);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }\n      if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }\n      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);\n      if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }\n      psVar6 = *(string **)psVar17;\n      piVar3 = (int *)(__first + iVar18 * 0x18);\n      psVar2 = psVar17 + 8;\n      psVar10 = (string *)*piVar3;\n      if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }\nLAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;\n      *psVar10 = (string)0x0;\n      iVar18 = local_48;\n      local_54 = psVar2;\n    } while (local_48 < iVar9);" do (compound_statement "{\n      local_48 = (iVar18 + 1) * 2;\n      iVar1 = local_48 + -1;\n      psVar2 = (string *)(__first + iVar1 * 0x18);\n      psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);\n      uVar11 = string::rfind(psVar17,'/',0xffffffff);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }\n      if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }\n      iVar13 = string::compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);\n      if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }\n      psVar6 = *(string **)psVar17;\n      piVar3 = (int *)(__first + iVar18 * 0x18);\n      psVar2 = psVar17 + 8;\n      psVar10 = (string *)*piVar3;\n      if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }\nLAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;\n      *psVar10 = (string)0x0;\n      iVar18 = local_48;\n      local_54 = psVar2;\n    }" { (expression_statement "local_48 = (iVar18 + 1) * 2;" (assignment_expression "local_48 = (iVar18 + 1) * 2" identifier = (binary_expression "(iVar18 + 1) * 2" (parenthesized_expression "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = local_48 + -1;" (assignment_expression "iVar1 = local_48 + -1" identifier = (binary_expression "local_48 + -1" identifier + number_literal)) ;) (expression_statement "psVar2 = (string *)(__first + iVar1 * 0x18);" (assignment_expression "psVar2 = (string *)(__first + iVar1 * 0x18)" identifier = (cast_expression "(string *)(__first + iVar1 * 0x18)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar1 * 0x18)" ( (binary_expression "__first + iVar1 * 0x18" identifier + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "psVar17 = (string *)(__first + (iVar18 + 1) * 0x30);" (assignment_expression "psVar17 = (string *)(__first + (iVar18 + 1) * 0x30)" identifier = (cast_expression "(string *)(__first + (iVar18 + 1) * 0x30)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + (iVar18 + 1) * 0x30)" ( (binary_expression "__first + (iVar18 + 1) * 0x30" identifier + (binary_expression "(iVar18 + 1) * 0x30" (parenthesized_expression "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (ERROR "uVar11 = string::" (assignment_expression "uVar11 = string" identifier = identifier) : :) (expression_statement "rfind(psVar17,'/',0xffffffff);" (call_expression "rfind(psVar17,'/',0xffffffff)" identifier (argument_list "(psVar17,'/',0xffffffff)" ( identifier , (char_literal "'/'" ' character ') , number_literal ))) ;) (ERROR "uVar12 = string::" (assignment_expression "uVar12 = string" identifier = identifier) : :) (expression_statement "rfind(psVar2,'/',0xffffffff);" (call_expression "rfind(psVar2,'/',0xffffffff)" identifier (argument_list "(psVar2,'/',0xffffffff)" ( identifier , (char_literal "'/'" ' character ') , number_literal ))) ;) (if_statement "if (uVar11 == 0xffffffff) {\n        uVar11 = 0;\n      }" if (parenthesized_expression "(uVar11 == 0xffffffff)" ( (binary_expression "uVar11 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar11 = 0;\n      }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar12 == 0xffffffff) {\n        uVar12 = 0;\n      }" if (parenthesized_expression "(uVar12 == 0xffffffff)" ( (binary_expression "uVar12 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar12 = 0;\n      }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) })) (ERROR "iVar13 = string::" (assignment_expression "iVar13 = string" identifier = identifier) : :) (expression_statement "compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12);" (call_expression "compare((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12)" identifier (argument_list "((uint)psVar17,uVar11,(string *)0xffffffff,(uint)psVar2,uVar12)" ( (cast_expression "(uint)psVar17" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier , (cast_expression "(string *)0xffffffff" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uint)psVar2" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier ))) ;) (if_statement "if (iVar13 < 0) {\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }" if (parenthesized_expression "(iVar13 < 0)" ( (binary_expression "iVar13 < 0" identifier < number_literal) )) (compound_statement "{\n        local_48 = iVar1;\n        psVar17 = psVar2;\n      }" { (expression_statement "local_48 = iVar1;" (assignment_expression "local_48 = iVar1" identifier = identifier) ;) (expression_statement "psVar17 = psVar2;" (assignment_expression "psVar17 = psVar2" identifier = identifier) ;) })) (expression_statement "psVar6 = *(string **)psVar17;" (assignment_expression "psVar6 = *(string **)psVar17" identifier = (pointer_expression "*(string **)psVar17" * (cast_expression "(string **)psVar17" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar3 = (int *)(__first + iVar18 * 0x18);" (assignment_expression "piVar3 = (int *)(__first + iVar18 * 0x18)" identifier = (cast_expression "(int *)(__first + iVar18 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar18 * 0x18)" ( (binary_expression "__first + iVar18 * 0x18" identifier + (binary_expression "iVar18 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "psVar2 = psVar17 + 8;" (assignment_expression "psVar2 = psVar17 + 8" identifier = (binary_expression "psVar17 + 8" identifier + number_literal)) ;) (expression_statement "psVar10 = (string *)*piVar3;" (assignment_expression "psVar10 = (string *)*piVar3" identifier = (cast_expression "(string *)*piVar3" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (psVar6 == psVar2) {\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }\n      else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }" if (parenthesized_expression "(psVar6 == psVar2)" ( (binary_expression "psVar6 == psVar2" identifier == identifier) )) (compound_statement "{\n        sVar15 = *(size_t *)(psVar17 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }\n        piVar3[1] = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar17;\n      }" { (expression_statement "sVar15 = *(size_t *)(psVar17 + 4);" (assignment_expression "sVar15 = *(size_t *)(psVar17 + 4)" identifier = (pointer_expression "*(size_t *)(psVar17 + 4)" * (cast_expression "(size_t *)(psVar17 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) ))))) ;) (if_statement "if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }" if (parenthesized_expression "(sVar15 != 0)" ( (binary_expression "sVar15 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }\n          memcpy(psVar10,psVar2,sVar15);\n          sVar15 = *(size_t *)(psVar17 + 4);\n          psVar10 = (string *)*piVar3;\n        }" { (if_statement "if (sVar15 == 1) {\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(sVar15 == 1)" ( (binary_expression "sVar15 == 1" identifier == number_literal) )) (compound_statement "{\n            *psVar10 = psVar17[8];\n            iVar18 = *(int *)(psVar17 + 4);\n            piVar3[1] = iVar18;\n            *(undefined1 *)(*piVar3 + iVar18) = 0;\n            psVar10 = *(string **)psVar17;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*psVar10 = psVar17[8];" (assignment_expression "*psVar10 = psVar17[8]" (pointer_expression "*psVar10" * identifier) = (subscript_expression "psVar17[8]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = *(int *)(psVar17 + 4);" (assignment_expression "iVar18 = *(int *)(psVar17 + 4)" identifier = (pointer_expression "*(int *)(psVar17 + 4)" * (cast_expression "(int *)(psVar17 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar3[1] = iVar18;" (assignment_expression "piVar3[1] = iVar18" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*piVar3 + iVar18) = 0;" (assignment_expression "*(undefined1 *)(*piVar3 + iVar18) = 0" (pointer_expression "*(undefined1 *)(*piVar3 + iVar18)" * (cast_expression "(undefined1 *)(*piVar3 + iVar18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + iVar18)" ( (binary_expression "*piVar3 + iVar18" (pointer_expression "*piVar3" * identifier) + identifier) )))) = number_literal) ;) (expression_statement "psVar10 = *(string **)psVar17;" (assignment_expression "psVar10 = *(string **)psVar17" identifier = (pointer_expression "*(string **)psVar17" * (cast_expression "(string **)psVar17" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) (expression_statement "memcpy(psVar10,psVar2,sVar15);" (call_expression "memcpy(psVar10,psVar2,sVar15)" identifier (argument_list "(psVar10,psVar2,sVar15)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar15 = *(size_t *)(psVar17 + 4);" (assignment_expression "sVar15 = *(size_t *)(psVar17 + 4)" identifier = (pointer_expression "*(size_t *)(psVar17 + 4)" * (cast_expression "(size_t *)(psVar17 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "psVar10 = (string *)*piVar3;" (assignment_expression "psVar10 = (string *)*piVar3" identifier = (cast_expression "(string *)*piVar3" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) })) (expression_statement "piVar3[1] = sVar15;" (assignment_expression "piVar3[1] = sVar15" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "psVar10[sVar15] = (string)0x0;" (assignment_expression "psVar10[sVar15] = (string)0x0" (subscript_expression "psVar10[sVar15]" identifier [ identifier ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "psVar10 = *(string **)psVar17;" (assignment_expression "psVar10 = *(string **)psVar17" identifier = (pointer_expression "*(string **)psVar17" * (cast_expression "(string **)psVar17" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }" else (compound_statement "{\n        if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }\n        *(string **)psVar17 = psVar2;\n        psVar10 = psVar2;\n      }" { (if_statement "if (psVar10 == local_54) {\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }\n        else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }" if (parenthesized_expression "(psVar10 == local_54)" ( (binary_expression "psVar10 == local_54" identifier == identifier) )) (compound_statement "{\n          *piVar3 = (int)psVar6;\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n        }" { (expression_statement "*piVar3 = (int)psVar6;" (assignment_expression "*piVar3 = (int)psVar6" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = *(int *)(psVar17 + 4);" (assignment_expression "piVar3[1] = *(int *)(psVar17 + 4)" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(psVar17 + 4)" * (cast_expression "(int *)(psVar17 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar3[2] = *(int *)(psVar17 + 8);" (assignment_expression "piVar3[2] = *(int *)(psVar17 + 8)" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (pointer_expression "*(int *)(psVar17 + 8)" * (cast_expression "(int *)(psVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 8)" ( (binary_expression "psVar17 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }" else (compound_statement "{\n          *piVar3 = (int)psVar6;\n          iVar18 = piVar3[2];\n          piVar3[1] = *(int *)(psVar17 + 4);\n          piVar3[2] = *(int *)(psVar17 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }\n        }" { (expression_statement "*piVar3 = (int)psVar6;" (assignment_expression "*piVar3 = (int)psVar6" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar18 = piVar3[2];" (assignment_expression "iVar18 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = *(int *)(psVar17 + 4);" (assignment_expression "piVar3[1] = *(int *)(psVar17 + 4)" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(psVar17 + 4)" * (cast_expression "(int *)(psVar17 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar3[2] = *(int *)(psVar17 + 8);" (assignment_expression "piVar3[2] = *(int *)(psVar17 + 8)" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (pointer_expression "*(int *)(psVar17 + 8)" * (cast_expression "(int *)(psVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 8)" ( (binary_expression "psVar17 + 8" identifier + number_literal) ))))) ;) (if_statement "if (psVar10 != (string *)0x0) {\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(psVar10 != (string *)0x0)" ( (binary_expression "psVar10 != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(string **)psVar17 = psVar10;\n            *(int *)(psVar17 + 8) = iVar18;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*(string **)psVar17 = psVar10;" (assignment_expression "*(string **)psVar17 = psVar10" (pointer_expression "*(string **)psVar17" * (cast_expression "(string **)psVar17" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(int *)(psVar17 + 8) = iVar18;" (assignment_expression "*(int *)(psVar17 + 8) = iVar18" (pointer_expression "*(int *)(psVar17 + 8)" * (cast_expression "(int *)(psVar17 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 8)" ( (binary_expression "psVar17 + 8" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) }))) (expression_statement "*(string **)psVar17 = psVar2;" (assignment_expression "*(string **)psVar17 = psVar2" (pointer_expression "*(string **)psVar17" * (cast_expression "(string **)psVar17" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "psVar10 = psVar2;" (assignment_expression "psVar10 = psVar2" identifier = identifier) ;) }))) (labeled_statement "LAB_001fafa7:\n      *(undefined4 *)(psVar17 + 4) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(psVar17 + 4) = 0;" (assignment_expression "*(undefined4 *)(psVar17 + 4) = 0" (pointer_expression "*(undefined4 *)(psVar17 + 4)" * (cast_expression "(undefined4 *)(psVar17 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar17 + 4)" ( (binary_expression "psVar17 + 4" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*psVar10 = (string)0x0;" (assignment_expression "*psVar10 = (string)0x0" (pointer_expression "*psVar10" * identifier) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "iVar18 = local_48;" (assignment_expression "iVar18 = local_48" identifier = identifier) ;) (expression_statement "local_54 = psVar2;" (assignment_expression "local_54 = psVar2" identifier = identifier) ;) }) while (parenthesized_expression "(local_48 < iVar9)" ( (binary_expression "local_48 < iVar9" identifier < identifier) )) ;) }) (else_clause "else {\n    local_48 = __holeIndex;\n  }" else (compound_statement "{\n    local_48 = __holeIndex;\n  }" { (expression_statement "local_48 = __holeIndex;" (assignment_expression "local_48 = __holeIndex" identifier = identifier) ;) }))) (if_statement "if (((__len & 1) == 0) && ((int)(__len - 2) / 2 == local_48)) {\n    iVar9 = local_48 * 2 + 1;\n    puVar4 = (undefined4 *)(__first + iVar9 * 0x18);\n    __src_00 = (undefined4 *)*puVar4;\n    puVar16 = puVar4 + 2;\n    puVar5 = (undefined4 *)(__first + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar5;\n    if (__src_00 == puVar16) {\n      sVar15 = puVar4[1];\n      if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }\n      puVar5[1] = sVar15;\n      *(undefined1 *)((int)__dest + sVar15) = 0;\n      puVar16 = (undefined4 *)*puVar4;\n    }\n    else {\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }\nLAB_001fb2dc:\n    puVar4[1] = 0;\n    *(undefined1 *)puVar16 = 0;\n    local_48 = iVar9;\n  }" if (parenthesized_expression "(((__len & 1) == 0) && ((int)(__len - 2) / 2 == local_48))" ( (binary_expression "((__len & 1) == 0) && ((int)(__len - 2) / 2 == local_48)" (parenthesized_expression "((__len & 1) == 0)" ( (binary_expression "(__len & 1) == 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((int)(__len - 2) / 2 == local_48)" ( (binary_expression "(int)(__len - 2) / 2 == local_48" (binary_expression "(int)(__len - 2) / 2" (cast_expression "(int)(__len - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 2)" ( (binary_expression "__len - 2" identifier - number_literal) ))) / number_literal) == identifier) ))) )) (compound_statement "{\n    iVar9 = local_48 * 2 + 1;\n    puVar4 = (undefined4 *)(__first + iVar9 * 0x18);\n    __src_00 = (undefined4 *)*puVar4;\n    puVar16 = puVar4 + 2;\n    puVar5 = (undefined4 *)(__first + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar5;\n    if (__src_00 == puVar16) {\n      sVar15 = puVar4[1];\n      if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }\n      puVar5[1] = sVar15;\n      *(undefined1 *)((int)__dest + sVar15) = 0;\n      puVar16 = (undefined4 *)*puVar4;\n    }\n    else {\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }\nLAB_001fb2dc:\n    puVar4[1] = 0;\n    *(undefined1 *)puVar16 = 0;\n    local_48 = iVar9;\n  }" { (expression_statement "iVar9 = local_48 * 2 + 1;" (assignment_expression "iVar9 = local_48 * 2 + 1" identifier = (binary_expression "local_48 * 2 + 1" (binary_expression "local_48 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar4 = (undefined4 *)(__first + iVar9 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(__first + iVar9 * 0x18)" identifier = (cast_expression "(undefined4 *)(__first + iVar9 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar9 * 0x18)" ( (binary_expression "__first + iVar9 * 0x18" identifier + (binary_expression "iVar9 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__src_00 = (undefined4 *)*puVar4;" (assignment_expression "__src_00 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar16 = puVar4 + 2;" (assignment_expression "puVar16 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(__first + local_48 * 0x18);" (assignment_expression "puVar5 = (undefined4 *)(__first + local_48 * 0x18)" identifier = (cast_expression "(undefined4 *)(__first + local_48 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + local_48 * 0x18)" ( (binary_expression "__first + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest = (undefined4 *)*puVar5;" (assignment_expression "__dest = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (__src_00 == puVar16) {\n      sVar15 = puVar4[1];\n      if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }\n      puVar5[1] = sVar15;\n      *(undefined1 *)((int)__dest + sVar15) = 0;\n      puVar16 = (undefined4 *)*puVar4;\n    }\n    else {\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }" if (parenthesized_expression "(__src_00 == puVar16)" ( (binary_expression "__src_00 == puVar16" identifier == identifier) )) (compound_statement "{\n      sVar15 = puVar4[1];\n      if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }\n      puVar5[1] = sVar15;\n      *(undefined1 *)((int)__dest + sVar15) = 0;\n      puVar16 = (undefined4 *)*puVar4;\n    }" { (expression_statement "sVar15 = puVar4[1];" (assignment_expression "sVar15 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar15 != 0) {\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }" if (parenthesized_expression "(sVar15 != 0)" ( (binary_expression "sVar15 != 0" identifier != number_literal) )) (compound_statement "{\n        if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n      }" { (if_statement "if (sVar15 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }\n        else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }" if (parenthesized_expression "(sVar15 == 1)" ( (binary_expression "sVar15 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }" { (expression_statement "*(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2);" (assignment_expression "*(undefined1 *)__dest = *(undefined1 *)(puVar4 + 2)" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(puVar4 + 2)" * (cast_expression "(undefined1 *)(puVar4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 2)" ( (binary_expression "puVar4 + 2" identifier + number_literal) ))))) ;) (expression_statement "sVar15 = puVar4[1];" (assignment_expression "sVar15 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar5;" (assignment_expression "__dest = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) (else_clause "else {\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }" else (compound_statement "{\n          memcpy(__dest,__src_00,sVar15);\n          sVar15 = puVar4[1];\n          __dest = (undefined4 *)*puVar5;\n        }" { (expression_statement "memcpy(__dest,__src_00,sVar15);" (call_expression "memcpy(__dest,__src_00,sVar15)" identifier (argument_list "(__dest,__src_00,sVar15)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar15 = puVar4[1];" (assignment_expression "sVar15 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar5;" (assignment_expression "__dest = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }))) })) (expression_statement "puVar5[1] = sVar15;" (assignment_expression "puVar5[1] = sVar15" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar15) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar15) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar15)" * (cast_expression "(undefined1 *)((int)__dest + sVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar15)" ( (binary_expression "(int)__dest + sVar15" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar16 = (undefined4 *)*puVar4;" (assignment_expression "puVar16 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }) (else_clause "else {\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }" else (compound_statement "{\n      if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar4 = puVar16;\n    }" { (if_statement "if (__dest == puVar5 + 2) {\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }\n      else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" if (parenthesized_expression "(__dest == puVar5 + 2)" ( (binary_expression "__dest == puVar5 + 2" identifier == (binary_expression "puVar5 + 2" identifier + number_literal)) )) (compound_statement "{\n        *puVar5 = __src_00;\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n      }" { (expression_statement "*puVar5 = __src_00;" (assignment_expression "*puVar5 = __src_00" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5[1] = puVar4[1];" (assignment_expression "puVar5[1] = puVar4[1]" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = puVar4[2];" (assignment_expression "puVar5[2] = puVar4[2]" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" else (compound_statement "{\n        *puVar5 = __src_00;\n        uVar8 = puVar5[2];\n        puVar5[1] = puVar4[1];\n        puVar5[2] = puVar4[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" { (expression_statement "*puVar5 = __src_00;" (assignment_expression "*puVar5 = __src_00" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "uVar8 = puVar5[2];" (assignment_expression "uVar8 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[1] = puVar4[1];" (assignment_expression "puVar5[1] = puVar4[1]" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = puVar4[2];" (assignment_expression "puVar5[2] = puVar4[2]" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *puVar4 = __dest;\n          puVar4[2] = uVar8;\n          puVar16 = __dest;\n          goto LAB_001fb2dc;\n        }" { (expression_statement "*puVar4 = __dest;" (assignment_expression "*puVar4 = __dest" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar16 = __dest;" (assignment_expression "puVar16 = __dest" identifier = identifier) ;) (goto_statement "goto LAB_001fb2dc;" goto statement_identifier ;) })) }))) (expression_statement "*puVar4 = puVar16;" (assignment_expression "*puVar4 = puVar16" (pointer_expression "*puVar4" * identifier) = identifier) ;) }))) (labeled_statement "LAB_001fb2dc:\n    puVar4[1] = 0;" statement_identifier : (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)puVar16 = 0;" (assignment_expression "*(undefined1 *)puVar16 = 0" (pointer_expression "*(undefined1 *)puVar16" * (cast_expression "(undefined1 *)puVar16" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "local_48 = iVar9;" (assignment_expression "local_48 = iVar9" identifier = identifier) ;) })) (if_statement "if ((string *)*__value == (string *)(__value + 2)) {\n    local_2c = __value[2];\n    local_28 = __value[3];\n    local_24 = __value[4];\n    local_20 = __value[5];\n    local_34 = (string *)&local_2c;\n  }\n  else {\n    local_2c = __value[2];\n    local_34 = (string *)*__value;\n  }" if (parenthesized_expression "((string *)*__value == (string *)(__value + 2))" ( (binary_expression "(string *)*__value == (string *)(__value + 2)" (cast_expression "(string *)*__value" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__value" * identifier)) == (cast_expression "(string *)(__value + 2)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__value + 2)" ( (binary_expression "__value + 2" identifier + number_literal) )))) )) (compound_statement "{\n    local_2c = __value[2];\n    local_28 = __value[3];\n    local_24 = __value[4];\n    local_20 = __value[5];\n    local_34 = (string *)&local_2c;\n  }" { (expression_statement "local_2c = __value[2];" (assignment_expression "local_2c = __value[2]" identifier = (subscript_expression "__value[2]" identifier [ number_literal ])) ;) (expression_statement "local_28 = __value[3];" (assignment_expression "local_28 = __value[3]" identifier = (subscript_expression "__value[3]" identifier [ number_literal ])) ;) (expression_statement "local_24 = __value[4];" (assignment_expression "local_24 = __value[4]" identifier = (subscript_expression "__value[4]" identifier [ number_literal ])) ;) (expression_statement "local_20 = __value[5];" (assignment_expression "local_20 = __value[5]" identifier = (subscript_expression "__value[5]" identifier [ number_literal ])) ;) (expression_statement "local_34 = (string *)&local_2c;" (assignment_expression "local_34 = (string *)&local_2c" identifier = (cast_expression "(string *)&local_2c" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_2c" & identifier))) ;) }) (else_clause "else {\n    local_2c = __value[2];\n    local_34 = (string *)*__value;\n  }" else (compound_statement "{\n    local_2c = __value[2];\n    local_34 = (string *)*__value;\n  }" { (expression_statement "local_2c = __value[2];" (assignment_expression "local_2c = __value[2]" identifier = (subscript_expression "__value[2]" identifier [ number_literal ])) ;) (expression_statement "local_34 = (string *)*__value;" (assignment_expression "local_34 = (string *)*__value" identifier = (cast_expression "(string *)*__value" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__value" * identifier))) ;) }))) (expression_statement "local_30 = __value[1];" (assignment_expression "local_30 = __value[1]" identifier = (subscript_expression "__value[1]" identifier [ number_literal ])) ;) (expression_statement "*__value = (string *)(__value + 2);" (assignment_expression "*__value = (string *)(__value + 2)" (pointer_expression "*__value" * identifier) = (cast_expression "(string *)(__value + 2)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__value + 2)" ( (binary_expression "__value + 2" identifier + number_literal) )))) ;) (expression_statement "__value[1] = 0;" (assignment_expression "__value[1] = 0" (subscript_expression "__value[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(__value + 2) = 0;" (assignment_expression "*(undefined1 *)(__value + 2) = 0" (pointer_expression "*(undefined1 *)(__value + 2)" * (cast_expression "(undefined1 *)(__value + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__value + 2)" ( (binary_expression "__value + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (__holeIndex < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      psVar2 = (string *)(__first + local_44 * 0x18);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);\n      uVar11 = 0;\n      if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }\n      if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);\n      psVar6 = (string *)(__first + local_48 * 0x18);\n      psVar10 = *(string **)psVar6;\n      psVar17 = psVar6 + 8;\n      if (-1 < iVar9) goto joined_r0x001fb35f;\n      psVar7 = *(string **)psVar2;\n      __src = psVar2 + 8;\n      if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }\nLAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;\n      *psVar10 = (string)0x0;\n      local_48 = local_44;\n    } while (__holeIndex < local_44);\n    psVar10 = *(string **)psVar2;\n    psVar6 = psVar2;\n    psVar17 = __src;\n  }\n  else {\n    psVar6 = (string *)(__first + local_48 * 0x18);\n    psVar10 = *(string **)psVar6;\n    psVar17 = psVar6 + 8;\n  }" if (parenthesized_expression "(__holeIndex < local_48)" ( (binary_expression "__holeIndex < local_48" identifier < identifier) )) (compound_statement "{\n    do {\n      local_44 = (local_48 + -1) / 2;\n      psVar2 = (string *)(__first + local_44 * 0x18);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);\n      uVar11 = 0;\n      if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }\n      if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);\n      psVar6 = (string *)(__first + local_48 * 0x18);\n      psVar10 = *(string **)psVar6;\n      psVar17 = psVar6 + 8;\n      if (-1 < iVar9) goto joined_r0x001fb35f;\n      psVar7 = *(string **)psVar2;\n      __src = psVar2 + 8;\n      if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }\nLAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;\n      *psVar10 = (string)0x0;\n      local_48 = local_44;\n    } while (__holeIndex < local_44);\n    psVar10 = *(string **)psVar2;\n    psVar6 = psVar2;\n    psVar17 = __src;\n  }" { (do_statement "do {\n      local_44 = (local_48 + -1) / 2;\n      psVar2 = (string *)(__first + local_44 * 0x18);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);\n      uVar11 = 0;\n      if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }\n      if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);\n      psVar6 = (string *)(__first + local_48 * 0x18);\n      psVar10 = *(string **)psVar6;\n      psVar17 = psVar6 + 8;\n      if (-1 < iVar9) goto joined_r0x001fb35f;\n      psVar7 = *(string **)psVar2;\n      __src = psVar2 + 8;\n      if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }\nLAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;\n      *psVar10 = (string)0x0;\n      local_48 = local_44;\n    } while (__holeIndex < local_44);" do (compound_statement "{\n      local_44 = (local_48 + -1) / 2;\n      psVar2 = (string *)(__first + local_44 * 0x18);\n      uVar12 = string::rfind(psVar2,'/',0xffffffff);\n      uVar14 = string::rfind((string *)&local_34,'/',0xffffffff);\n      uVar11 = 0;\n      if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }\n      if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }\n                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */\n      iVar9 = string::compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);\n      psVar6 = (string *)(__first + local_48 * 0x18);\n      psVar10 = *(string **)psVar6;\n      psVar17 = psVar6 + 8;\n      if (-1 < iVar9) goto joined_r0x001fb35f;\n      psVar7 = *(string **)psVar2;\n      __src = psVar2 + 8;\n      if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }\nLAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;\n      *psVar10 = (string)0x0;\n      local_48 = local_44;\n    }" { (expression_statement "local_44 = (local_48 + -1) / 2;" (assignment_expression "local_44 = (local_48 + -1) / 2" identifier = (binary_expression "(local_48 + -1) / 2" (parenthesized_expression "(local_48 + -1)" ( (binary_expression "local_48 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "psVar2 = (string *)(__first + local_44 * 0x18);" (assignment_expression "psVar2 = (string *)(__first + local_44 * 0x18)" identifier = (cast_expression "(string *)(__first + local_44 * 0x18)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + local_44 * 0x18)" ( (binary_expression "__first + local_44 * 0x18" identifier + (binary_expression "local_44 * 0x18" identifier * number_literal)) )))) ;) (ERROR "uVar12 = string::" (assignment_expression "uVar12 = string" identifier = identifier) : :) (expression_statement "rfind(psVar2,'/',0xffffffff);" (call_expression "rfind(psVar2,'/',0xffffffff)" identifier (argument_list "(psVar2,'/',0xffffffff)" ( identifier , (char_literal "'/'" ' character ') , number_literal ))) ;) (ERROR "uVar14 = string::" (assignment_expression "uVar14 = string" identifier = identifier) : :) (expression_statement "rfind((string *)&local_34,'/',0xffffffff);" (call_expression "rfind((string *)&local_34,'/',0xffffffff)" identifier (argument_list "((string *)&local_34,'/',0xffffffff)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , (char_literal "'/'" ' character ') , number_literal ))) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (uVar12 != 0xffffffff) {\n        uVar11 = uVar12;\n      }" if (parenthesized_expression "(uVar12 != 0xffffffff)" ( (binary_expression "uVar12 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n        uVar11 = uVar12;\n      }" { (expression_statement "uVar11 = uVar12;" (assignment_expression "uVar11 = uVar12" identifier = identifier) ;) })) (if_statement "if (uVar14 == 0xffffffff) {\n        uVar14 = 0;\n      }" if (parenthesized_expression "(uVar14 == 0xffffffff)" ( (binary_expression "uVar14 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar14 = 0;\n      }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) })) comment (ERROR "iVar9 = string::" (assignment_expression "iVar9 = string" identifier = identifier) : :) (expression_statement "compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14);" (call_expression "compare((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14)" identifier (argument_list "((uint)psVar2,uVar11,(string *)0xffffffff,(uint)&local_34,uVar14)" ( (cast_expression "(uint)psVar2" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier , (cast_expression "(string *)0xffffffff" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "(uint)&local_34" (parenthesized_expression "(uint)" ( identifier )) & identifier) , identifier ))) ;) (expression_statement "psVar6 = (string *)(__first + local_48 * 0x18);" (assignment_expression "psVar6 = (string *)(__first + local_48 * 0x18)" identifier = (cast_expression "(string *)(__first + local_48 * 0x18)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + local_48 * 0x18)" ( (binary_expression "__first + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "psVar10 = *(string **)psVar6;" (assignment_expression "psVar10 = *(string **)psVar6" identifier = (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "psVar17 = psVar6 + 8;" (assignment_expression "psVar17 = psVar6 + 8" identifier = (binary_expression "psVar6 + 8" identifier + number_literal)) ;) (if_statement "if (-1 < iVar9) goto joined_r0x001fb35f;" if (parenthesized_expression "(-1 < iVar9)" ( (binary_expression "-1 < iVar9" number_literal < identifier) )) (goto_statement "goto joined_r0x001fb35f;" goto statement_identifier ;)) (expression_statement "psVar7 = *(string **)psVar2;" (assignment_expression "psVar7 = *(string **)psVar2" identifier = (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "__src = psVar2 + 8;" (assignment_expression "__src = psVar2 + 8" identifier = (binary_expression "psVar2 + 8" identifier + number_literal)) ;) (if_statement "if (psVar7 == __src) {\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }\n      else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }" if (parenthesized_expression "(psVar7 == __src)" ( (binary_expression "psVar7 == __src" identifier == identifier) )) (compound_statement "{\n        sVar15 = *(size_t *)(psVar2 + 4);\n        if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }\n        *(size_t *)(psVar6 + 4) = sVar15;\n        psVar10[sVar15] = (string)0x0;\n        psVar10 = *(string **)psVar2;\n      }" { (expression_statement "sVar15 = *(size_t *)(psVar2 + 4);" (assignment_expression "sVar15 = *(size_t *)(psVar2 + 4)" identifier = (pointer_expression "*(size_t *)(psVar2 + 4)" * (cast_expression "(size_t *)(psVar2 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (sVar15 != 0) {\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }" if (parenthesized_expression "(sVar15 != 0)" ( (binary_expression "sVar15 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(psVar10,__src,sVar15);\n          sVar15 = *(size_t *)(psVar2 + 4);\n          psVar10 = *(string **)psVar6;\n        }" { (if_statement "if (sVar15 == 1) {\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(sVar15 == 1)" ( (binary_expression "sVar15 == 1" identifier == number_literal) )) (compound_statement "{\n            *psVar10 = psVar2[8];\n            iVar9 = *(int *)(psVar2 + 4);\n            *(int *)(psVar6 + 4) = iVar9;\n            *(undefined1 *)(*(int *)psVar6 + iVar9) = 0;\n            psVar10 = *(string **)psVar2;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*psVar10 = psVar2[8];" (assignment_expression "*psVar10 = psVar2[8]" (pointer_expression "*psVar10" * identifier) = (subscript_expression "psVar2[8]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = *(int *)(psVar2 + 4);" (assignment_expression "iVar9 = *(int *)(psVar2 + 4)" identifier = (pointer_expression "*(int *)(psVar2 + 4)" * (cast_expression "(int *)(psVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(psVar6 + 4) = iVar9;" (assignment_expression "*(int *)(psVar6 + 4) = iVar9" (pointer_expression "*(int *)(psVar6 + 4)" * (cast_expression "(int *)(psVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)psVar6 + iVar9) = 0;" (assignment_expression "*(undefined1 *)(*(int *)psVar6 + iVar9) = 0" (pointer_expression "*(undefined1 *)(*(int *)psVar6 + iVar9)" * (cast_expression "(undefined1 *)(*(int *)psVar6 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar6 + iVar9)" ( (binary_expression "*(int *)psVar6 + iVar9" (pointer_expression "*(int *)psVar6" * (cast_expression "(int *)psVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "psVar10 = *(string **)psVar2;" (assignment_expression "psVar10 = *(string **)psVar2" identifier = (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) (expression_statement "memcpy(psVar10,__src,sVar15);" (call_expression "memcpy(psVar10,__src,sVar15)" identifier (argument_list "(psVar10,__src,sVar15)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar15 = *(size_t *)(psVar2 + 4);" (assignment_expression "sVar15 = *(size_t *)(psVar2 + 4)" identifier = (pointer_expression "*(size_t *)(psVar2 + 4)" * (cast_expression "(size_t *)(psVar2 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "psVar10 = *(string **)psVar6;" (assignment_expression "psVar10 = *(string **)psVar6" identifier = (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "*(size_t *)(psVar6 + 4) = sVar15;" (assignment_expression "*(size_t *)(psVar6 + 4) = sVar15" (pointer_expression "*(size_t *)(psVar6 + 4)" * (cast_expression "(size_t *)(psVar6 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "psVar10[sVar15] = (string)0x0;" (assignment_expression "psVar10[sVar15] = (string)0x0" (subscript_expression "psVar10[sVar15]" identifier [ identifier ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "psVar10 = *(string **)psVar2;" (assignment_expression "psVar10 = *(string **)psVar2" identifier = (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }" else (compound_statement "{\n        if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }\n        *(string **)psVar2 = __src;\n        psVar10 = __src;\n      }" { (if_statement "if (psVar10 == psVar17) {\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }\n        else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }" if (parenthesized_expression "(psVar10 == psVar17)" ( (binary_expression "psVar10 == psVar17" identifier == identifier) )) (compound_statement "{\n          *(string **)psVar6 = psVar7;\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n        }" { (expression_statement "*(string **)psVar6 = psVar7;" (assignment_expression "*(string **)psVar6 = psVar7" (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);" (assignment_expression "*(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4)" (pointer_expression "*(undefined4 *)(psVar6 + 4)" * (cast_expression "(undefined4 *)(psVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(psVar2 + 4)" * (cast_expression "(undefined4 *)(psVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);" (assignment_expression "*(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8)" (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(psVar2 + 8)" * (cast_expression "(undefined4 *)(psVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 8)" ( (binary_expression "psVar2 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }" else (compound_statement "{\n          *(string **)psVar6 = psVar7;\n          uVar8 = *(undefined4 *)(psVar6 + 8);\n          *(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);\n          *(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);\n          if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }\n        }" { (expression_statement "*(string **)psVar6 = psVar7;" (assignment_expression "*(string **)psVar6 = psVar7" (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "uVar8 = *(undefined4 *)(psVar6 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(psVar6 + 8)" identifier = (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4);" (assignment_expression "*(undefined4 *)(psVar6 + 4) = *(undefined4 *)(psVar2 + 4)" (pointer_expression "*(undefined4 *)(psVar6 + 4)" * (cast_expression "(undefined4 *)(psVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(psVar2 + 4)" * (cast_expression "(undefined4 *)(psVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8);" (assignment_expression "*(undefined4 *)(psVar6 + 8) = *(undefined4 *)(psVar2 + 8)" (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(psVar2 + 8)" * (cast_expression "(undefined4 *)(psVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 8)" ( (binary_expression "psVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (psVar10 != (string *)0x0) {\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(psVar10 != (string *)0x0)" ( (binary_expression "psVar10 != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(string **)psVar2 = psVar10;\n            *(undefined4 *)(psVar2 + 8) = uVar8;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*(string **)psVar2 = psVar10;" (assignment_expression "*(string **)psVar2 = psVar10" (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(psVar2 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(psVar2 + 8) = uVar8" (pointer_expression "*(undefined4 *)(psVar2 + 8)" * (cast_expression "(undefined4 *)(psVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 8)" ( (binary_expression "psVar2 + 8" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) }))) (expression_statement "*(string **)psVar2 = __src;" (assignment_expression "*(string **)psVar2 = __src" (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "psVar10 = __src;" (assignment_expression "psVar10 = __src" identifier = identifier) ;) }))) (labeled_statement "LAB_001fb15e:\n      *(undefined4 *)(psVar2 + 4) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(psVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(psVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(psVar2 + 4)" * (cast_expression "(undefined4 *)(psVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar2 + 4)" ( (binary_expression "psVar2 + 4" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*psVar10 = (string)0x0;" (assignment_expression "*psVar10 = (string)0x0" (pointer_expression "*psVar10" * identifier) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) }) while (parenthesized_expression "(__holeIndex < local_44)" ( (binary_expression "__holeIndex < local_44" identifier < identifier) )) ;) (expression_statement "psVar10 = *(string **)psVar2;" (assignment_expression "psVar10 = *(string **)psVar2" identifier = (pointer_expression "*(string **)psVar2" * (cast_expression "(string **)psVar2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "psVar6 = psVar2;" (assignment_expression "psVar6 = psVar2" identifier = identifier) ;) (expression_statement "psVar17 = __src;" (assignment_expression "psVar17 = __src" identifier = identifier) ;) }) (else_clause "else {\n    psVar6 = (string *)(__first + local_48 * 0x18);\n    psVar10 = *(string **)psVar6;\n    psVar17 = psVar6 + 8;\n  }" else (compound_statement "{\n    psVar6 = (string *)(__first + local_48 * 0x18);\n    psVar10 = *(string **)psVar6;\n    psVar17 = psVar6 + 8;\n  }" { (expression_statement "psVar6 = (string *)(__first + local_48 * 0x18);" (assignment_expression "psVar6 = (string *)(__first + local_48 * 0x18)" identifier = (cast_expression "(string *)(__first + local_48 * 0x18)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + local_48 * 0x18)" ( (binary_expression "__first + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "psVar10 = *(string **)psVar6;" (assignment_expression "psVar10 = *(string **)psVar6" identifier = (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "psVar17 = psVar6 + 8;" (assignment_expression "psVar17 = psVar6 + 8" identifier = (binary_expression "psVar6 + 8" identifier + number_literal)) ;) }))) (labeled_statement "joined_r0x001fb35f:\n  if (local_34 == (string *)&local_2c) {\n    local_54 = (string *)&local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }\n    *(size_t *)(psVar6 + 4) = local_30;\n    psVar10[local_30] = (string)0x0;\n    uVar8 = local_2c;\n  }\n  else {\n    if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }\n    local_34 = (string *)&local_2c;\n    uVar8 = local_2c;\n  }" statement_identifier : (if_statement "if (local_34 == (string *)&local_2c) {\n    local_54 = (string *)&local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }\n    *(size_t *)(psVar6 + 4) = local_30;\n    psVar10[local_30] = (string)0x0;\n    uVar8 = local_2c;\n  }\n  else {\n    if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }\n    local_34 = (string *)&local_2c;\n    uVar8 = local_2c;\n  }" if (parenthesized_expression "(local_34 == (string *)&local_2c)" ( (binary_expression "local_34 == (string *)&local_2c" identifier == (cast_expression "(string *)&local_2c" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_2c" & identifier))) )) (compound_statement "{\n    local_54 = (string *)&local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }\n    *(size_t *)(psVar6 + 4) = local_30;\n    psVar10[local_30] = (string)0x0;\n    uVar8 = local_2c;\n  }" { (expression_statement "local_54 = (string *)&local_2c;" (assignment_expression "local_54 = (string *)&local_2c" identifier = (cast_expression "(string *)&local_2c" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_2c" & identifier))) ;) (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }\n      else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *psVar10 = local_2c._0_1_;\n        psVar10 = *(string **)psVar6;\n      }" { (expression_statement "*psVar10 = local_2c._0_1_;" (assignment_expression "*psVar10 = local_2c._0_1_" (pointer_expression "*psVar10" * identifier) = (field_expression "local_2c._0_1_" identifier . field_identifier)) ;) (expression_statement "psVar10 = *(string **)psVar6;" (assignment_expression "psVar10 = *(string **)psVar6" identifier = (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }" else (compound_statement "{\n        memcpy(psVar10,local_54,local_30);\n        psVar10 = *(string **)psVar6;\n      }" { (expression_statement "memcpy(psVar10,local_54,local_30);" (call_expression "memcpy(psVar10,local_54,local_30)" identifier (argument_list "(psVar10,local_54,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "psVar10 = *(string **)psVar6;" (assignment_expression "psVar10 = *(string **)psVar6" identifier = (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) })) (expression_statement "*(size_t *)(psVar6 + 4) = local_30;" (assignment_expression "*(size_t *)(psVar6 + 4) = local_30" (pointer_expression "*(size_t *)(psVar6 + 4)" * (cast_expression "(size_t *)(psVar6 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "psVar10[local_30] = (string)0x0;" (assignment_expression "psVar10[local_30] = (string)0x0" (subscript_expression "psVar10[local_30]" identifier [ identifier ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "uVar8 = local_2c;" (assignment_expression "uVar8 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n    if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }\n    local_34 = (string *)&local_2c;\n    uVar8 = local_2c;\n  }" else (compound_statement "{\n    if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }\n    local_34 = (string *)&local_2c;\n    uVar8 = local_2c;\n  }" { (if_statement "if (psVar17 == psVar10) {\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }\n    else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }" if (parenthesized_expression "(psVar17 == psVar10)" ( (binary_expression "psVar17 == psVar10" identifier == identifier) )) (compound_statement "{\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n    }" { (expression_statement "*(string **)psVar6 = local_34;" (assignment_expression "*(string **)psVar6 = local_34" (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(size_t *)(psVar6 + 4) = local_30;" (assignment_expression "*(size_t *)(psVar6 + 4) = local_30" (pointer_expression "*(size_t *)(psVar6 + 4)" * (cast_expression "(size_t *)(psVar6 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(psVar6 + 8) = local_2c;" (assignment_expression "*(undefined4 *)(psVar6 + 8) = local_2c" (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }" else (compound_statement "{\n      uVar8 = *(undefined4 *)(psVar6 + 8);\n      *(string **)psVar6 = local_34;\n      *(size_t *)(psVar6 + 4) = local_30;\n      *(undefined4 *)(psVar6 + 8) = local_2c;\n      local_34 = psVar10;\n      if (psVar10 != (string *)0x0) goto LAB_001fb327;\n    }" { (expression_statement "uVar8 = *(undefined4 *)(psVar6 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(psVar6 + 8)" identifier = (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(string **)psVar6 = local_34;" (assignment_expression "*(string **)psVar6 = local_34" (pointer_expression "*(string **)psVar6" * (cast_expression "(string **)psVar6" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(size_t *)(psVar6 + 4) = local_30;" (assignment_expression "*(size_t *)(psVar6 + 4) = local_30" (pointer_expression "*(size_t *)(psVar6 + 4)" * (cast_expression "(size_t *)(psVar6 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 4)" ( (binary_expression "psVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(psVar6 + 8) = local_2c;" (assignment_expression "*(undefined4 *)(psVar6 + 8) = local_2c" (pointer_expression "*(undefined4 *)(psVar6 + 8)" * (cast_expression "(undefined4 *)(psVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 8)" ( (binary_expression "psVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_34 = psVar10;" (assignment_expression "local_34 = psVar10" identifier = identifier) ;) (if_statement "if (psVar10 != (string *)0x0) goto LAB_001fb327;" if (parenthesized_expression "(psVar10 != (string *)0x0)" ( (binary_expression "psVar10 != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001fb327;" goto statement_identifier ;)) }))) (expression_statement "local_34 = (string *)&local_2c;" (assignment_expression "local_34 = (string *)&local_2c" identifier = (cast_expression "(string *)&local_2c" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_2c" & identifier))) ;) (expression_statement "uVar8 = local_2c;" (assignment_expression "uVar8 = local_2c" identifier = identifier) ;) })))) (labeled_statement "LAB_001fb327:\n  local_2c = uVar8;" statement_identifier : (expression_statement "local_2c = uVar8;" (assignment_expression "local_2c = uVar8" identifier = identifier) ;)) (expression_statement "local_54 = (string *)&local_2c;" (assignment_expression "local_54 = (string *)&local_2c" identifier = (cast_expression "(string *)&local_2c" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_2c" & identifier))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*local_34 = (string)0x0;" (assignment_expression "*local_34 = (string)0x0" (pointer_expression "*local_34" * identifier) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (if_statement "if (local_34 != local_54) {\n    operator_delete(local_34);\n  }" if (parenthesized_expression "(local_34 != local_54)" ( (binary_expression "local_34 != local_54" identifier != identifier) )) (compound_statement "{\n    operator_delete(local_34);\n  }" { (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)\n\n{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)\n\n{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" { (declaration "int *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "size_t sVar13;" primitive_type identifier ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "int *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar7 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar7 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }" if (parenthesized_expression "(param_2 < iVar7)" ( (binary_expression "param_2 < iVar7" identifier < identifier) )) (compound_statement "{\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }" { (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (expression_statement "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);" (assignment_expression "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + 8 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + param_2 * 0x18)" ( (binary_expression "param_1 + 8 + param_2 * 0x18" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (do_statement "do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);" do (compound_statement "{\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    }" { (expression_statement "local_48 = (iVar11 + 1) * 2;" (assignment_expression "local_48 = (iVar11 + 1) * 2" identifier = (binary_expression "(iVar11 + 1) * 2" (parenthesized_expression "(iVar11 + 1)" ( (binary_expression "iVar11 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar12 = local_48 + -1;" (assignment_expression "iVar12 = local_48 + -1" identifier = (binary_expression "local_48 + -1" identifier + number_literal)) ;) (expression_statement "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);" (assignment_expression "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar12 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar12 * 0x18)" ( (binary_expression "param_1 + iVar12 * 0x18" identifier + (binary_expression "iVar12 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar11 + 1) * 0x30)" ( (binary_expression "param_1 + (iVar11 + 1) * 0x30" identifier + (binary_expression "(iVar11 + 1) * 0x30" (parenthesized_expression "(iVar11 + 1)" ( (binary_expression "iVar11 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);" (assignment_expression "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(puVar1,0x2f,0xffffffff)" identifier (argument_list "(puVar1,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);" (assignment_expression "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(puVar14,0x2f,0xffffffff)" identifier (argument_list "(puVar14,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar9 == -1) {\n        iVar9 = 0;\n      }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar9 = 0;\n      }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) })) (if_statement "if (iVar10 == -1) {\n        iVar10 = 0;\n      }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar10 = 0;\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) (expression_statement "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);" (assignment_expression "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" identifier = (call_expression "FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" identifier (argument_list "(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" ( identifier , identifier , number_literal , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" { (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" identifier = identifier) ;) (expression_statement "puVar1 = puVar14;" (assignment_expression "puVar1 = puVar14" identifier = identifier) ;) })) (expression_statement "puVar4 = (undefined4 *)*puVar1;" (assignment_expression "puVar4 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "piVar2 = (int *)(param_1 + iVar11 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + iVar11 * 0x18)" identifier = (cast_expression "(int *)(param_1 + iVar11 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar11 * 0x18)" ( (binary_expression "param_1 + iVar11 * 0x18" identifier + (binary_expression "iVar11 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" identifier = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" if (parenthesized_expression "(puVar4 == puVar14)" ( (binary_expression "puVar4 == puVar14" identifier == identifier) )) (compound_statement "{\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }" { (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" { (if_statement "if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(puVar1 + 2)" * (cast_expression "(undefined1 *)(puVar1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = puVar1[1];" (assignment_expression "iVar11 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[1] = iVar11;" (assignment_expression "piVar2[1] = iVar11" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*piVar2 + iVar11) = 0;" (assignment_expression "*(undefined1 *)(*piVar2 + iVar11) = 0" (pointer_expression "*(undefined1 *)(*piVar2 + iVar11)" * (cast_expression "(undefined1 *)(*piVar2 + iVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + iVar11)" ( (binary_expression "*piVar2 + iVar11" (pointer_expression "*piVar2" * identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) (expression_statement "memcpy(puVar8,puVar14,sVar13);" (call_expression "memcpy(puVar8,puVar14,sVar13)" identifier (argument_list "(puVar8,puVar14,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) })) (expression_statement "piVar2[1] = sVar13;" (assignment_expression "piVar2[1] = sVar13" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar8 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + sVar13)" * (cast_expression "(undefined1 *)((int)puVar8 + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + sVar13)" ( (binary_expression "(int)puVar8 + sVar13" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" else (compound_statement "{\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" { (if_statement "if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" if (parenthesized_expression "(puVar8 == local_54)" ( (binary_expression "puVar8 == local_54" identifier == identifier) )) (compound_statement "{\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }" { (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" else (compound_statement "{\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" { (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar11 = piVar2[2];" (assignment_expression "iVar11 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" { (expression_statement "*puVar1 = puVar8;" (assignment_expression "*puVar1 = puVar8" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = iVar11;" (assignment_expression "puVar1[2] = iVar11" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001fafa7;" goto statement_identifier ;) })) }))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar8 = puVar14;" (assignment_expression "puVar8 = puVar14" identifier = identifier) ;) }))) (labeled_statement "LAB_001fafa7:\n      puVar1[1] = 0;" statement_identifier : (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)puVar8 = 0;" (assignment_expression "*(undefined1 *)puVar8 = 0" (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "iVar11 = local_48;" (assignment_expression "iVar11 = local_48" identifier = identifier) ;) (expression_statement "local_54 = puVar14;" (assignment_expression "local_54 = puVar14" identifier = identifier) ;) }) while (parenthesized_expression "(local_48 < iVar7)" ( (binary_expression "local_48 < iVar7" identifier < identifier) )) ;) }) (else_clause "else {\n    local_48 = param_2;\n  }" else (compound_statement "{\n    local_48 = param_2;\n  }" { (expression_statement "local_48 = param_2;" (assignment_expression "local_48 = param_2" identifier = identifier) ;) }))) (if_statement "if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" if (parenthesized_expression "(((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48))" ( (binary_expression "((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)" (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((int)(param_3 - 2) / 2 == local_48)" ( (binary_expression "(int)(param_3 - 2) / 2 == local_48" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) ))) )) (compound_statement "{\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" { (expression_statement "iVar7 = local_48 * 2 + 1;" (assignment_expression "iVar7 = local_48 * 2 + 1" identifier = (binary_expression "local_48 * 2 + 1" (binary_expression "local_48 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar7 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7 * 0x18)" ( (binary_expression "param_1 + iVar7 * 0x18" identifier + (binary_expression "iVar7 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" identifier = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + local_48 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (if_statement "if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" if (parenthesized_expression "(puVar8 == puVar14)" ( (binary_expression "puVar8 == puVar14" identifier == identifier) )) (compound_statement "{\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }" { (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" { (if_statement "if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" { (expression_statement "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)(puVar1 + 2)" * (cast_expression "(undefined1 *)(puVar1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }) (else_clause "else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" else (compound_statement "{\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" { (expression_statement "memcpy(__dest,puVar8,sVar13);" (call_expression "memcpy(__dest,puVar8,sVar13)" identifier (argument_list "(__dest,puVar8,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }))) })) (expression_statement "puVar4[1] = sVar13;" (assignment_expression "puVar4[1] = sVar13" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar13)" * (cast_expression "(undefined1 *)((int)__dest + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar13)" ( (binary_expression "(int)__dest + sVar13" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar14 = (undefined4 *)*puVar1;" (assignment_expression "puVar14 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" else (compound_statement "{\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" { (if_statement "if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" if (parenthesized_expression "(__dest == puVar4 + 2)" ( (binary_expression "__dest == puVar4 + 2" identifier == (binary_expression "puVar4 + 2" identifier + number_literal)) )) (compound_statement "{\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }" { (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" else (compound_statement "{\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" { (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "uVar6 = puVar4[2];" (assignment_expression "uVar6 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" { (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar14 = __dest;" (assignment_expression "puVar14 = __dest" identifier = identifier) ;) (goto_statement "goto LAB_001fb2dc;" goto statement_identifier ;) })) }))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" * identifier) = identifier) ;) }))) (labeled_statement "LAB_001fb2dc:\n    puVar1[1] = 0;" statement_identifier : (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)puVar14 = 0;" (assignment_expression "*(undefined1 *)puVar14 = 0" (pointer_expression "*(undefined1 *)puVar14" * (cast_expression "(undefined1 *)puVar14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "local_48 = iVar7;" (assignment_expression "local_48 = iVar7" identifier = identifier) ;) })) (if_statement "if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" if (parenthesized_expression "((int *)*param_4 == param_4 + 2)" ( (binary_expression "(int *)*param_4 == param_4 + 2" (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) == (binary_expression "param_4 + 2" identifier + number_literal)) )) (compound_statement "{\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }" { (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "local_28 = param_4[3];" (assignment_expression "local_28 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (expression_statement "local_24 = param_4[4];" (assignment_expression "local_24 = param_4[4]" identifier = (subscript_expression "param_4[4]" identifier [ number_literal ])) ;) (expression_statement "local_20 = param_4[5];" (assignment_expression "local_20 = param_4[5]" identifier = (subscript_expression "param_4[5]" identifier [ number_literal ])) ;) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) }) (else_clause "else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" else (compound_statement "{\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" { (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "local_34 = (int *)*param_4;" (assignment_expression "local_34 = (int *)*param_4" identifier = (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }))) (expression_statement "local_30 = param_4[1];" (assignment_expression "local_30 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "*param_4 = param_4 + 2;" (assignment_expression "*param_4 = param_4 + 2" (pointer_expression "*param_4" * identifier) = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_4 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_4 + 2) = 0" (pointer_expression "*(undefined1 *)(param_4 + 2)" * (cast_expression "(undefined1 *)(param_4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 2)" ( (binary_expression "param_4 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" if (parenthesized_expression "(param_2 < local_48)" ( (binary_expression "param_2 < local_48" identifier < identifier) )) (compound_statement "{\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }" { (do_statement "do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);" do (compound_statement "{\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    }" { (expression_statement "local_44 = (local_48 + -1) / 2;" (assignment_expression "local_44 = (local_48 + -1) / 2" identifier = (binary_expression "(local_48 + -1) / 2" (parenthesized_expression "(local_48 + -1)" ( (binary_expression "local_48 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "piVar2 = (int *)(param_1 + local_44 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + local_44 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_44 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_44 * 0x18)" ( (binary_expression "param_1 + local_44 * 0x18" identifier + (binary_expression "local_44 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);" (assignment_expression "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(piVar2,0x2f,0xffffffff)" identifier (argument_list "(piVar2,0x2f,0xffffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);" (assignment_expression "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff)" identifier = (call_expression "FUN_002521c0(&local_34,0x2f,0xffffffff)" identifier (argument_list "(&local_34,0x2f,0xffffffff)" ( (pointer_expression "&local_34" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }" if (parenthesized_expression "(iVar11 != -1)" ( (binary_expression "iVar11 != -1" identifier != number_literal) )) (compound_statement "{\n        iVar7 = iVar11;\n      }" { (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" identifier = identifier) ;) })) (if_statement "if (iVar12 == -1) {\n        iVar12 = 0;\n      }" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar12 = 0;\n      }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) })) (expression_statement "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);" (assignment_expression "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" identifier = (call_expression "FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" identifier (argument_list "(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" ( identifier , identifier , number_literal , (pointer_expression "&local_34" & identifier) , identifier , number_literal )))) ;) (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_48 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (if_statement "if (-1 < iVar7) goto joined_r0x001fb35f;" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (goto_statement "goto joined_r0x001fb35f;" goto statement_identifier ;)) (expression_statement "piVar5 = (int *)*piVar2;" (assignment_expression "piVar5 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "__src = piVar2 + 2;" (assignment_expression "__src = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (if_statement "if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" if (parenthesized_expression "(piVar5 == __src)" ( (binary_expression "piVar5 == __src" identifier == identifier) )) (compound_statement "{\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }" { (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" if (parenthesized_expression "(sVar13 != 0)" ( (binary_expression "sVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" { (if_statement "if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(sVar13 == 1)" ( (binary_expression "sVar13 == 1" identifier == number_literal) )) (compound_statement "{\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*(char *)__dest_00 = (char)piVar2[2];" (assignment_expression "*(char *)__dest_00 = (char)piVar2[2]" (pointer_expression "*(char *)__dest_00" * (cast_expression "(char *)__dest_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)piVar2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = iVar7;" (assignment_expression "piVar3[1] = iVar7" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*piVar3 + iVar7) = 0;" (assignment_expression "*(undefined1 *)(*piVar3 + iVar7) = 0" (pointer_expression "*(undefined1 *)(*piVar3 + iVar7)" * (cast_expression "(undefined1 *)(*piVar3 + iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + iVar7)" ( (binary_expression "*piVar3 + iVar7" (pointer_expression "*piVar3" * identifier) + identifier) )))) = number_literal) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) (expression_statement "memcpy(__dest_00,__src,sVar13);" (call_expression "memcpy(__dest_00,__src,sVar13)" identifier (argument_list "(__dest_00,__src,sVar13)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) })) (expression_statement "piVar3[1] = sVar13;" (assignment_expression "piVar3[1] = sVar13" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest_00 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + sVar13)" * (cast_expression "(undefined1 *)((int)__dest_00 + sVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + sVar13)" ( (binary_expression "(int)__dest_00 + sVar13" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) (else_clause "else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" else (compound_statement "{\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" { (if_statement "if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" if (parenthesized_expression "(__dest_00 == piVar15)" ( (binary_expression "__dest_00 == piVar15" identifier == identifier) )) (compound_statement "{\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }" { (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" else (compound_statement "{\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" { (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (if_statement "if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" if (parenthesized_expression "(__dest_00 != (int *)0x0)" ( (binary_expression "__dest_00 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" { (expression_statement "*piVar2 = (int)__dest_00;" (assignment_expression "*piVar2 = (int)__dest_00" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[2] = iVar7;" (assignment_expression "piVar2[2] = iVar7" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001fb15e;" goto statement_identifier ;) })) }))) (expression_statement "*piVar2 = (int)__src;" (assignment_expression "*piVar2 = (int)__src" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "__dest_00 = __src;" (assignment_expression "__dest_00 = __src" identifier = identifier) ;) }))) (labeled_statement "LAB_001fb15e:\n      piVar2[1] = 0;" statement_identifier : (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*(undefined1 *)__dest_00 = 0;" (assignment_expression "*(undefined1 *)__dest_00 = 0" (pointer_expression "*(undefined1 *)__dest_00" * (cast_expression "(undefined1 *)__dest_00" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < local_44)" ( (binary_expression "param_2 < local_44" identifier < identifier) )) ;) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (expression_statement "piVar15 = __src;" (assignment_expression "piVar15 = __src" identifier = identifier) ;) }) (else_clause "else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" else (compound_statement "{\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" { (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" identifier = (cast_expression "(int *)(param_1 + local_48 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + local_48 * 0x18)" ( (binary_expression "param_1 + local_48 * 0x18" identifier + (binary_expression "local_48 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) }))) (labeled_statement "joined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" statement_identifier : (if_statement "if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" if (parenthesized_expression "(local_34 == &local_2c)" ( (binary_expression "local_34 == &local_2c" identifier == (pointer_expression "&local_2c" & identifier)) )) (compound_statement "{\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }" { (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }" { (expression_statement "*(undefined1 *)__dest_00 = (undefined1)local_2c;" (assignment_expression "*(undefined1 *)__dest_00 = (undefined1)local_2c" (pointer_expression "*(undefined1 *)__dest_00" * (cast_expression "(undefined1 *)__dest_00" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) (else_clause "else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" else (compound_statement "{\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" { (expression_statement "memcpy(__dest_00,local_54,local_30);" (call_expression "memcpy(__dest_00,local_54,local_30)" identifier (argument_list "(__dest_00,local_54,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }))) })) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest_00 + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + local_30)" * (cast_expression "(undefined1 *)((int)__dest_00 + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + local_30)" ( (binary_expression "(int)__dest_00 + local_30" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" else (compound_statement "{\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" { (if_statement "if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" if (parenthesized_expression "(piVar15 == __dest_00)" ( (binary_expression "piVar15 == __dest_00" identifier == identifier) )) (compound_statement "{\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }" { (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" else (compound_statement "{\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" { (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_34 = __dest_00;" (assignment_expression "local_34 = __dest_00" identifier = identifier) ;) (if_statement "if (__dest_00 != (int *)0x0) goto LAB_001fb327;" if (parenthesized_expression "(__dest_00 != (int *)0x0)" ( (binary_expression "__dest_00 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001fb327;" goto statement_identifier ;)) }))) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) })))) (labeled_statement "LAB_001fb327:\n  local_2c = iVar7;" statement_identifier : (expression_statement "local_2c = iVar7;" (assignment_expression "local_2c = iVar7" identifier = identifier) ;)) (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }" if (parenthesized_expression "(local_34 != local_54)" ( (binary_expression "local_34 != local_54" identifier != identifier) )) (compound_statement "{\n    FUN_00248220(local_34);\n  }" { (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (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 *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (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 == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT) == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (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 == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (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 == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 (subscript_expression IDENT [ LIT ]) = 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 IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)\n\n{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001faf30(int param_1,int param_2,uint param_3,undefined4 *param_4)" (identifier "FUN_001faf30") (parameter_list "(int param_1,int param_2,uint param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int *__src;\n  undefined4 *puVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  size_t sVar13;\n  undefined4 *puVar14;\n  undefined4 *__dest;\n  int *__dest_00;\n  int *piVar15;\n  int *local_54;\n  int local_48;\n  int local_44;\n  int *local_34;\n  size_t local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar7 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }\n  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }\n  if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }\n  local_30 = param_4[1];\n  *param_4 = param_4 + 2;\n  param_4[1] = 0;\n  *(undefined1 *)(param_4 + 2) = 0;\n  if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }\njoined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }\nLAB_001fb327:\n  local_2c = iVar7;\n  local_54 = &local_2c;\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }\n  return;\n}" ({ "{") (declaration "int *__src;" (primitive_type "int") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "size_t sVar13;" (primitive_type "size_t") (identifier "sVar13") (; ";")) (declaration "undefined4 *puVar14;" (type_identifier "undefined4") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "undefined4 *__dest;" (type_identifier "undefined4") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "int *__dest_00;" (primitive_type "int") (pointer_declarator "*__dest_00" (* "*") (identifier "__dest_00")) (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "int *local_54;" (primitive_type "int") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "int *local_34;" (primitive_type "int") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "iVar7 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar7 = (int)(param_3 - 1) / 2" (identifier "iVar7") (= "=") (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (if_statement "if (param_2 < iVar7) {\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }\n  else {\n    local_48 = param_2;\n  }" (if "if") (parenthesized_expression "(param_2 < iVar7)" (( "(") (binary_expression "param_2 < iVar7" (identifier "param_2") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n    iVar11 = param_2;\n    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);\n    do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);\n  }" ({ "{") (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" (identifier "iVar11") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);" (assignment_expression "local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18)" (identifier "local_54") (= "=") (cast_expression "(undefined4 *)(param_1 + 8 + param_2 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8 + param_2 * 0x18)" (( "(") (binary_expression "param_1 + 8 + param_2 * 0x18" (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (+ "+") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (do_statement "do {\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    } while (local_48 < iVar7);" (do "do") (compound_statement "{\n      local_48 = (iVar11 + 1) * 2;\n      iVar12 = local_48 + -1;\n      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);\n      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);\n      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);\n      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);\n      if (iVar9 == -1) {\n        iVar9 = 0;\n      }\n      if (iVar10 == -1) {\n        iVar10 = 0;\n      }\n      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);\n      if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }\n      puVar4 = (undefined4 *)*puVar1;\n      piVar2 = (int *)(param_1 + iVar11 * 0x18);\n      puVar14 = puVar1 + 2;\n      puVar8 = (undefined4 *)*piVar2;\n      if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }\nLAB_001fafa7:\n      puVar1[1] = 0;\n      *(undefined1 *)puVar8 = 0;\n      iVar11 = local_48;\n      local_54 = puVar14;\n    }" ({ "{") (expression_statement "local_48 = (iVar11 + 1) * 2;" (assignment_expression "local_48 = (iVar11 + 1) * 2" (identifier "local_48") (= "=") (binary_expression "(iVar11 + 1) * 2" (parenthesized_expression "(iVar11 + 1)" (( "(") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar12 = local_48 + -1;" (assignment_expression "iVar12 = local_48 + -1" (identifier "iVar12") (= "=") (binary_expression "local_48 + -1" (identifier "local_48") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);" (assignment_expression "puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18)" (identifier "puVar14") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar12 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar12 * 0x18)" (( "(") (binary_expression "param_1 + iVar12 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar12 * 0x18" (identifier "iVar12") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_1 + (iVar11 + 1) * 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (iVar11 + 1) * 0x30)" (( "(") (binary_expression "param_1 + (iVar11 + 1) * 0x30" (identifier "param_1") (+ "+") (binary_expression "(iVar11 + 1) * 0x30" (parenthesized_expression "(iVar11 + 1)" (( "(") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x30"))) () ")")))) (; ";")) (expression_statement "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);" (assignment_expression "iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff)" (identifier "iVar9") (= "=") (call_expression "FUN_002521c0(puVar1,0x2f,0xffffffff)" (identifier "FUN_002521c0") (argument_list "(puVar1,0x2f,0xffffffff)" (( "(") (identifier "puVar1") (, ",") (number_literal "0x2f") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);" (assignment_expression "iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff)" (identifier "iVar10") (= "=") (call_expression "FUN_002521c0(puVar14,0x2f,0xffffffff)" (identifier "FUN_002521c0") (argument_list "(puVar14,0x2f,0xffffffff)" (( "(") (identifier "puVar14") (, ",") (number_literal "0x2f") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) {\n        iVar9 = 0;\n      }" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar9 = 0;\n      }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (iVar10 == -1) {\n        iVar10 = 0;\n      }" (if "if") (parenthesized_expression "(iVar10 == -1)" (( "(") (binary_expression "iVar10 == -1" (identifier "iVar10") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar10 = 0;\n      }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);" (assignment_expression "iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" (identifier "iVar9") (= "=") (call_expression "FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" (identifier "FUN_00252740") (argument_list "(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff)" (( "(") (identifier "puVar1") (, ",") (identifier "iVar9") (, ",") (number_literal "0xffffffff") (, ",") (identifier "puVar14") (, ",") (identifier "iVar10") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (if_statement "if (iVar9 < 0) {\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" (if "if") (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        local_48 = iVar12;\n        puVar1 = puVar14;\n      }" ({ "{") (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" (identifier "local_48") (= "=") (identifier "iVar12")) (; ";")) (expression_statement "puVar1 = puVar14;" (assignment_expression "puVar1 = puVar14" (identifier "puVar1") (= "=") (identifier "puVar14")) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)*puVar1;" (assignment_expression "puVar4 = (undefined4 *)*puVar1" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (expression_statement "piVar2 = (int *)(param_1 + iVar11 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + iVar11 * 0x18)" (identifier "piVar2") (= "=") (cast_expression "(int *)(param_1 + iVar11 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar11 * 0x18)" (( "(") (binary_expression "param_1 + iVar11 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar11 * 0x18" (identifier "iVar11") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" (identifier "puVar14") (= "=") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if (puVar4 == puVar14) {\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }\n      else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" (if "if") (parenthesized_expression "(puVar4 == puVar14)" (( "(") (binary_expression "puVar4 == puVar14" (identifier "puVar4") (== "==") (identifier "puVar14")) () ")")) (compound_statement "{\n        sVar13 = puVar1[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }\n        piVar2[1] = sVar13;\n        *(undefined1 *)((int)puVar8 + sVar13) = 0;\n        puVar8 = (undefined4 *)*puVar1;\n      }" ({ "{") (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" (identifier "sVar13") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" (if "if") (parenthesized_expression "(sVar13 != 0)" (( "(") (binary_expression "sVar13 != 0" (identifier "sVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }\n          memcpy(puVar8,puVar14,sVar13);\n          sVar13 = puVar1[1];\n          puVar8 = (undefined4 *)*piVar2;\n        }" ({ "{") (if_statement "if (sVar13 == 1) {\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" (if "if") (parenthesized_expression "(sVar13 == 1)" (( "(") (binary_expression "sVar13 == 1" (identifier "sVar13") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);\n            iVar11 = puVar1[1];\n            piVar2[1] = iVar11;\n            *(undefined1 *)(*piVar2 + iVar11) = 0;\n            puVar8 = (undefined4 *)*puVar1;\n            goto LAB_001fafa7;\n          }" ({ "{") (expression_statement "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)puVar8" (* "*") (cast_expression "(undefined1 *)puVar8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (= "=") (pointer_expression "*(undefined1 *)(puVar1 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "iVar11 = puVar1[1];" (assignment_expression "iVar11 = puVar1[1]" (identifier "iVar11") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2[1] = iVar11;" (assignment_expression "piVar2[1] = iVar11" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "*(undefined1 *)(*piVar2 + iVar11) = 0;" (assignment_expression "*(undefined1 *)(*piVar2 + iVar11) = 0" (pointer_expression "*(undefined1 *)(*piVar2 + iVar11)" (* "*") (cast_expression "(undefined1 *)(*piVar2 + iVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + iVar11)" (( "(") (binary_expression "*piVar2 + iVar11" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (identifier "iVar11")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (goto_statement "goto LAB_001fafa7;" (goto "goto") (statement_identifier "LAB_001fafa7") (; ";")) (} "}"))) (expression_statement "memcpy(puVar8,puVar14,sVar13);" (call_expression "memcpy(puVar8,puVar14,sVar13)" (identifier "memcpy") (argument_list "(puVar8,puVar14,sVar13)" (( "(") (identifier "puVar8") (, ",") (identifier "puVar14") (, ",") (identifier "sVar13") () ")"))) (; ";")) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" (identifier "sVar13") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)*piVar2;" (assignment_expression "puVar8 = (undefined4 *)*piVar2" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (} "}"))) (expression_statement "piVar2[1] = sVar13;" (assignment_expression "piVar2[1] = sVar13" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "sVar13")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + sVar13)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + sVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + sVar13)" (( "(") (binary_expression "(int)puVar8 + sVar13" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (identifier "sVar13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}")) (else_clause "else {\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" (else "else") (compound_statement "{\n        if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }\n        *puVar1 = puVar14;\n        puVar8 = puVar14;\n      }" ({ "{") (if_statement "if (puVar8 == local_54) {\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }\n        else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" (if "if") (parenthesized_expression "(puVar8 == local_54)" (( "(") (binary_expression "puVar8 == local_54" (identifier "puVar8") (== "==") (identifier "local_54")) () ")")) (compound_statement "{\n          *piVar2 = (int)puVar4;\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n        }" ({ "{") (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" (else "else") (compound_statement "{\n          *piVar2 = (int)puVar4;\n          iVar11 = piVar2[2];\n          piVar2[1] = puVar1[1];\n          piVar2[2] = puVar1[2];\n          if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }\n        }" ({ "{") (expression_statement "*piVar2 = (int)puVar4;" (assignment_expression "*piVar2 = (int)puVar4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (expression_statement "iVar11 = piVar2[2];" (assignment_expression "iVar11 = piVar2[2]" (identifier "iVar11") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar2[1] = puVar1[1];" (assignment_expression "piVar2[1] = puVar1[1]" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2[2] = puVar1[2];" (assignment_expression "piVar2[2] = puVar1[2]" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" (if "if") (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *puVar1 = puVar8;\n            puVar1[2] = iVar11;\n            goto LAB_001fafa7;\n          }" ({ "{") (expression_statement "*puVar1 = puVar8;" (assignment_expression "*puVar1 = puVar8" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar1[2] = iVar11;" (assignment_expression "puVar1[2] = iVar11" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (goto_statement "goto LAB_001fafa7;" (goto "goto") (statement_identifier "LAB_001fafa7") (; ";")) (} "}"))) (} "}")))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar14")) (; ";")) (expression_statement "puVar8 = puVar14;" (assignment_expression "puVar8 = puVar14" (identifier "puVar8") (= "=") (identifier "puVar14")) (; ";")) (} "}")))) (labeled_statement "LAB_001fafa7:\n      puVar1[1] = 0;" (statement_identifier "LAB_001fafa7") (: ":") (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined1 *)puVar8 = 0;" (assignment_expression "*(undefined1 *)puVar8 = 0" (pointer_expression "*(undefined1 *)puVar8" (* "*") (cast_expression "(undefined1 *)puVar8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = local_48;" (assignment_expression "iVar11 = local_48" (identifier "iVar11") (= "=") (identifier "local_48")) (; ";")) (expression_statement "local_54 = puVar14;" (assignment_expression "local_54 = puVar14" (identifier "local_54") (= "=") (identifier "puVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_48 < iVar7)" (( "(") (binary_expression "local_48 < iVar7" (identifier "local_48") (< "<") (identifier "iVar7")) () ")")) (; ";")) (} "}")) (else_clause "else {\n    local_48 = param_2;\n  }" (else "else") (compound_statement "{\n    local_48 = param_2;\n  }" ({ "{") (expression_statement "local_48 = param_2;" (assignment_expression "local_48 = param_2" (identifier "local_48") (= "=") (identifier "param_2")) (; ";")) (} "}")))) (if_statement "if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" (if "if") (parenthesized_expression "(((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48))" (( "(") (binary_expression "((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)" (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((int)(param_3 - 2) / 2 == local_48)" (( "(") (binary_expression "(int)(param_3 - 2) / 2 == local_48" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "local_48")) () ")"))) () ")")) (compound_statement "{\n    iVar7 = local_48 * 2 + 1;\n    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);\n    puVar8 = (undefined4 *)*puVar1;\n    puVar14 = puVar1 + 2;\n    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);\n    __dest = (undefined4 *)*puVar4;\n    if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }\nLAB_001fb2dc:\n    puVar1[1] = 0;\n    *(undefined1 *)puVar14 = 0;\n    local_48 = iVar7;\n  }" ({ "{") (expression_statement "iVar7 = local_48 * 2 + 1;" (assignment_expression "iVar7 = local_48 * 2 + 1" (identifier "iVar7") (= "=") (binary_expression "local_48 * 2 + 1" (binary_expression "local_48 * 2" (identifier "local_48") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar7 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar7 * 0x18)" (( "(") (binary_expression "param_1 + iVar7 * 0x18" (identifier "param_1") (+ "+") (binary_expression "iVar7 * 0x18" (identifier "iVar7") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar8 = (undefined4 *)*puVar1;" (assignment_expression "puVar8 = (undefined4 *)*puVar1" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (expression_statement "puVar14 = puVar1 + 2;" (assignment_expression "puVar14 = puVar1 + 2" (identifier "puVar14") (= "=") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + local_48 * 0x18)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(param_1 + local_48 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + local_48 * 0x18)" (( "(") (binary_expression "param_1 + local_48 * 0x18" (identifier "param_1") (+ "+") (binary_expression "local_48 * 0x18" (identifier "local_48") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (if_statement "if (puVar8 == puVar14) {\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }\n    else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" (if "if") (parenthesized_expression "(puVar8 == puVar14)" (( "(") (binary_expression "puVar8 == puVar14" (identifier "puVar8") (== "==") (identifier "puVar14")) () ")")) (compound_statement "{\n      sVar13 = puVar1[1];\n      if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }\n      puVar4[1] = sVar13;\n      *(undefined1 *)((int)__dest + sVar13) = 0;\n      puVar14 = (undefined4 *)*puVar1;\n    }" ({ "{") (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" (identifier "sVar13") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (sVar13 != 0) {\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" (if "if") (parenthesized_expression "(sVar13 != 0)" (( "(") (binary_expression "sVar13 != 0" (identifier "sVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n      }" ({ "{") (if_statement "if (sVar13 == 1) {\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }\n        else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" (if "if") (parenthesized_expression "(sVar13 == 1)" (( "(") (binary_expression "sVar13 == 1" (identifier "sVar13") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" ({ "{") (expression_statement "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);" (assignment_expression "*(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2)" (pointer_expression "*(undefined1 *)__dest" (* "*") (cast_expression "(undefined1 *)__dest" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest"))) (= "=") (pointer_expression "*(undefined1 *)(puVar1 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" (identifier "sVar13") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (} "}")) (else_clause "else {\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" (else "else") (compound_statement "{\n          memcpy(__dest,puVar8,sVar13);\n          sVar13 = puVar1[1];\n          __dest = (undefined4 *)*puVar4;\n        }" ({ "{") (expression_statement "memcpy(__dest,puVar8,sVar13);" (call_expression "memcpy(__dest,puVar8,sVar13)" (identifier "memcpy") (argument_list "(__dest,puVar8,sVar13)" (( "(") (identifier "__dest") (, ",") (identifier "puVar8") (, ",") (identifier "sVar13") () ")"))) (; ";")) (expression_statement "sVar13 = puVar1[1];" (assignment_expression "sVar13 = puVar1[1]" (identifier "sVar13") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__dest = (undefined4 *)*puVar4;" (assignment_expression "__dest = (undefined4 *)*puVar4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (} "}")))) (} "}"))) (expression_statement "puVar4[1] = sVar13;" (assignment_expression "puVar4[1] = sVar13" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "sVar13")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar13)" (* "*") (cast_expression "(undefined1 *)((int)__dest + sVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + sVar13)" (( "(") (binary_expression "(int)__dest + sVar13" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "sVar13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar14 = (undefined4 *)*puVar1;" (assignment_expression "puVar14 = (undefined4 *)*puVar1" (identifier "puVar14") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}")) (else_clause "else {\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" (else "else") (compound_statement "{\n      if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }\n      *puVar1 = puVar14;\n    }" ({ "{") (if_statement "if (__dest == puVar4 + 2) {\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }\n      else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" (if "if") (parenthesized_expression "(__dest == puVar4 + 2)" (( "(") (binary_expression "__dest == puVar4 + 2" (identifier "__dest") (== "==") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n        *puVar4 = puVar8;\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n      }" ({ "{") (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" (else "else") (compound_statement "{\n        *puVar4 = puVar8;\n        uVar6 = puVar4[2];\n        puVar4[1] = puVar1[1];\n        puVar4[2] = puVar1[2];\n        if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }\n      }" ({ "{") (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar8")) (; ";")) (expression_statement "uVar6 = puVar4[2];" (assignment_expression "uVar6 = puVar4[2]" (identifier "uVar6") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar4[1] = puVar1[1];" (assignment_expression "puVar4[1] = puVar1[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4[2] = puVar1[2];" (assignment_expression "puVar4[2] = puVar1[2]" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (__dest != (undefined4 *)0x0) {\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" (if "if") (parenthesized_expression "(__dest != (undefined4 *)0x0)" (( "(") (binary_expression "__dest != (undefined4 *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *puVar1 = __dest;\n          puVar1[2] = uVar6;\n          puVar14 = __dest;\n          goto LAB_001fb2dc;\n        }" ({ "{") (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "__dest")) (; ";")) (expression_statement "puVar1[2] = uVar6;" (assignment_expression "puVar1[2] = uVar6" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar14 = __dest;" (assignment_expression "puVar14 = __dest" (identifier "puVar14") (= "=") (identifier "__dest")) (; ";")) (goto_statement "goto LAB_001fb2dc;" (goto "goto") (statement_identifier "LAB_001fb2dc") (; ";")) (} "}"))) (} "}")))) (expression_statement "*puVar1 = puVar14;" (assignment_expression "*puVar1 = puVar14" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar14")) (; ";")) (} "}")))) (labeled_statement "LAB_001fb2dc:\n    puVar1[1] = 0;" (statement_identifier "LAB_001fb2dc") (: ":") (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined1 *)puVar14 = 0;" (assignment_expression "*(undefined1 *)puVar14 = 0" (pointer_expression "*(undefined1 *)puVar14" (* "*") (cast_expression "(undefined1 *)puVar14" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar14"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = iVar7;" (assignment_expression "local_48 = iVar7" (identifier "local_48") (= "=") (identifier "iVar7")) (; ";")) (} "}"))) (if_statement "if ((int *)*param_4 == param_4 + 2) {\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }\n  else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" (if "if") (parenthesized_expression "((int *)*param_4 == param_4 + 2)" (( "(") (binary_expression "(int *)*param_4 == param_4 + 2" (cast_expression "(int *)*param_4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (== "==") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n    local_2c = param_4[2];\n    local_28 = param_4[3];\n    local_24 = param_4[4];\n    local_20 = param_4[5];\n    local_34 = &local_2c;\n  }" ({ "{") (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" (identifier "local_2c") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_28 = param_4[3];" (assignment_expression "local_28 = param_4[3]" (identifier "local_28") (= "=") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_24 = param_4[4];" (assignment_expression "local_24 = param_4[4]" (identifier "local_24") (= "=") (subscript_expression "param_4[4]" (identifier "param_4") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "local_20 = param_4[5];" (assignment_expression "local_20 = param_4[5]" (identifier "local_20") (= "=") (subscript_expression "param_4[5]" (identifier "param_4") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" (identifier "local_34") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (} "}")) (else_clause "else {\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" (else "else") (compound_statement "{\n    local_2c = param_4[2];\n    local_34 = (int *)*param_4;\n  }" ({ "{") (expression_statement "local_2c = param_4[2];" (assignment_expression "local_2c = param_4[2]" (identifier "local_2c") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_34 = (int *)*param_4;" (assignment_expression "local_34 = (int *)*param_4" (identifier "local_34") (= "=") (cast_expression "(int *)*param_4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (} "}")))) (expression_statement "local_30 = param_4[1];" (assignment_expression "local_30 = param_4[1]" (identifier "local_30") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_4 = param_4 + 2;" (assignment_expression "*param_4 = param_4 + 2" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_4 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_4 + 2) = 0" (pointer_expression "*(undefined1 *)(param_4 + 2)" (* "*") (cast_expression "(undefined1 *)(param_4 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 2)" (( "(") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 < local_48) {\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }\n  else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" (if "if") (parenthesized_expression "(param_2 < local_48)" (( "(") (binary_expression "param_2 < local_48" (identifier "param_2") (< "<") (identifier "local_48")) () ")")) (compound_statement "{\n    do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);\n    __dest_00 = (int *)*piVar2;\n    piVar3 = piVar2;\n    piVar15 = __src;\n  }" ({ "{") (do_statement "do {\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    } while (param_2 < local_44);" (do "do") (compound_statement "{\n      local_44 = (local_48 + -1) / 2;\n      piVar2 = (int *)(param_1 + local_44 * 0x18);\n      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);\n      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);\n      iVar7 = 0;\n      if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }\n      if (iVar12 == -1) {\n        iVar12 = 0;\n      }\n                    \n      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);\n      piVar3 = (int *)(param_1 + local_48 * 0x18);\n      __dest_00 = (int *)*piVar3;\n      piVar15 = piVar3 + 2;\n      if (-1 < iVar7) goto joined_r0x001fb35f;\n      piVar5 = (int *)*piVar2;\n      __src = piVar2 + 2;\n      if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }\nLAB_001fb15e:\n      piVar2[1] = 0;\n      *(undefined1 *)__dest_00 = 0;\n      local_48 = local_44;\n    }" ({ "{") (expression_statement "local_44 = (local_48 + -1) / 2;" (assignment_expression "local_44 = (local_48 + -1) / 2" (identifier "local_44") (= "=") (binary_expression "(local_48 + -1) / 2" (parenthesized_expression "(local_48 + -1)" (( "(") (binary_expression "local_48 + -1" (identifier "local_48") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "piVar2 = (int *)(param_1 + local_44 * 0x18);" (assignment_expression "piVar2 = (int *)(param_1 + local_44 * 0x18)" (identifier "piVar2") (= "=") (cast_expression "(int *)(param_1 + local_44 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + local_44 * 0x18)" (( "(") (binary_expression "param_1 + local_44 * 0x18" (identifier "param_1") (+ "+") (binary_expression "local_44 * 0x18" (identifier "local_44") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);" (assignment_expression "iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff)" (identifier "iVar11") (= "=") (call_expression "FUN_002521c0(piVar2,0x2f,0xffffffff)" (identifier "FUN_002521c0") (argument_list "(piVar2,0x2f,0xffffffff)" (( "(") (identifier "piVar2") (, ",") (number_literal "0x2f") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);" (assignment_expression "iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff)" (identifier "iVar12") (= "=") (call_expression "FUN_002521c0(&local_34,0x2f,0xffffffff)" (identifier "FUN_002521c0") (argument_list "(&local_34,0x2f,0xffffffff)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0x2f") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar11 != -1) {\n        iVar7 = iVar11;\n      }" (if "if") (parenthesized_expression "(iVar11 != -1)" (( "(") (binary_expression "iVar11 != -1" (identifier "iVar11") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar7 = iVar11;\n      }" ({ "{") (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" (identifier "iVar7") (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (if_statement "if (iVar12 == -1) {\n        iVar12 = 0;\n      }" (if "if") (parenthesized_expression "(iVar12 == -1)" (( "(") (binary_expression "iVar12 == -1" (identifier "iVar12") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar12 = 0;\n      }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);" (assignment_expression "iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" (identifier "iVar7") (= "=") (call_expression "FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" (identifier "FUN_00252740") (argument_list "(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff)" (( "(") (identifier "piVar2") (, ",") (identifier "iVar7") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar12") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1 + local_48 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + local_48 * 0x18)" (( "(") (binary_expression "param_1 + local_48 * 0x18" (identifier "param_1") (+ "+") (binary_expression "local_48 * 0x18" (identifier "local_48") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" (identifier "piVar15") (= "=") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (-1 < iVar7) goto joined_r0x001fb35f;" (if "if") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (goto_statement "goto joined_r0x001fb35f;" (goto "goto") (statement_identifier "joined_r0x001fb35f") (; ";"))) (expression_statement "piVar5 = (int *)*piVar2;" (assignment_expression "piVar5 = (int *)*piVar2" (identifier "piVar5") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "__src = piVar2 + 2;" (assignment_expression "__src = piVar2 + 2" (identifier "__src") (= "=") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (piVar5 == __src) {\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }\n      else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" (if "if") (parenthesized_expression "(piVar5 == __src)" (( "(") (binary_expression "piVar5 == __src" (identifier "piVar5") (== "==") (identifier "__src")) () ")")) (compound_statement "{\n        sVar13 = piVar2[1];\n        if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }\n        piVar3[1] = sVar13;\n        *(undefined1 *)((int)__dest_00 + sVar13) = 0;\n        __dest_00 = (int *)*piVar2;\n      }" ({ "{") (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" (identifier "sVar13") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (sVar13 != 0) {\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" (if "if") (parenthesized_expression "(sVar13 != 0)" (( "(") (binary_expression "sVar13 != 0" (identifier "sVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }\n          memcpy(__dest_00,__src,sVar13);\n          sVar13 = piVar2[1];\n          __dest_00 = (int *)*piVar3;\n        }" ({ "{") (if_statement "if (sVar13 == 1) {\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" (if "if") (parenthesized_expression "(sVar13 == 1)" (( "(") (binary_expression "sVar13 == 1" (identifier "sVar13") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            *(char *)__dest_00 = (char)piVar2[2];\n            iVar7 = piVar2[1];\n            piVar3[1] = iVar7;\n            *(undefined1 *)(*piVar3 + iVar7) = 0;\n            __dest_00 = (int *)*piVar2;\n            goto LAB_001fb15e;\n          }" ({ "{") (expression_statement "*(char *)__dest_00 = (char)piVar2[2];" (assignment_expression "*(char *)__dest_00 = (char)piVar2[2]" (pointer_expression "*(char *)__dest_00" (* "*") (cast_expression "(char *)__dest_00" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest_00"))) (= "=") (cast_expression "(char)piVar2[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" (identifier "iVar7") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[1] = iVar7;" (assignment_expression "piVar3[1] = iVar7" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(undefined1 *)(*piVar3 + iVar7) = 0;" (assignment_expression "*(undefined1 *)(*piVar3 + iVar7) = 0" (pointer_expression "*(undefined1 *)(*piVar3 + iVar7)" (* "*") (cast_expression "(undefined1 *)(*piVar3 + iVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + iVar7)" (( "(") (binary_expression "*piVar3 + iVar7" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (identifier "iVar7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (goto_statement "goto LAB_001fb15e;" (goto "goto") (statement_identifier "LAB_001fb15e") (; ";")) (} "}"))) (expression_statement "memcpy(__dest_00,__src,sVar13);" (call_expression "memcpy(__dest_00,__src,sVar13)" (identifier "memcpy") (argument_list "(__dest_00,__src,sVar13)" (( "(") (identifier "__dest_00") (, ",") (identifier "__src") (, ",") (identifier "sVar13") () ")"))) (; ";")) (expression_statement "sVar13 = piVar2[1];" (assignment_expression "sVar13 = piVar2[1]" (identifier "sVar13") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (} "}"))) (expression_statement "piVar3[1] = sVar13;" (assignment_expression "piVar3[1] = sVar13" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "sVar13")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest_00 + sVar13) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + sVar13) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + sVar13)" (* "*") (cast_expression "(undefined1 *)((int)__dest_00 + sVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + sVar13)" (( "(") (binary_expression "(int)__dest_00 + sVar13" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "sVar13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (} "}")) (else_clause "else {\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" (else "else") (compound_statement "{\n        if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }\n        *piVar2 = (int)__src;\n        __dest_00 = __src;\n      }" ({ "{") (if_statement "if (__dest_00 == piVar15) {\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }\n        else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" (if "if") (parenthesized_expression "(__dest_00 == piVar15)" (( "(") (binary_expression "__dest_00 == piVar15" (identifier "__dest_00") (== "==") (identifier "piVar15")) () ")")) (compound_statement "{\n          *piVar3 = (int)piVar5;\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n        }" ({ "{") (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5"))) (; ";")) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" (else "else") (compound_statement "{\n          *piVar3 = (int)piVar5;\n          iVar7 = piVar3[2];\n          piVar3[1] = piVar2[1];\n          piVar3[2] = piVar2[2];\n          if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }\n        }" ({ "{") (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5"))) (; ";")) (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" (identifier "iVar7") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (__dest_00 != (int *)0x0) {\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" (if "if") (parenthesized_expression "(__dest_00 != (int *)0x0)" (( "(") (binary_expression "__dest_00 != (int *)0x0" (identifier "__dest_00") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *piVar2 = (int)__dest_00;\n            piVar2[2] = iVar7;\n            goto LAB_001fb15e;\n          }" ({ "{") (expression_statement "*piVar2 = (int)__dest_00;" (assignment_expression "*piVar2 = (int)__dest_00" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00"))) (; ";")) (expression_statement "piVar2[2] = iVar7;" (assignment_expression "piVar2[2] = iVar7" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (goto_statement "goto LAB_001fb15e;" (goto "goto") (statement_identifier "LAB_001fb15e") (; ";")) (} "}"))) (} "}")))) (expression_statement "*piVar2 = (int)__src;" (assignment_expression "*piVar2 = (int)__src" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) (; ";")) (expression_statement "__dest_00 = __src;" (assignment_expression "__dest_00 = __src" (identifier "__dest_00") (= "=") (identifier "__src")) (; ";")) (} "}")))) (labeled_statement "LAB_001fb15e:\n      piVar2[1] = 0;" (statement_identifier "LAB_001fb15e") (: ":") (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined1 *)__dest_00 = 0;" (assignment_expression "*(undefined1 *)__dest_00 = 0" (pointer_expression "*(undefined1 *)__dest_00" (* "*") (cast_expression "(undefined1 *)__dest_00" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest_00"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" (identifier "local_48") (= "=") (identifier "local_44")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 < local_44)" (( "(") (binary_expression "param_2 < local_44" (identifier "param_2") (< "<") (identifier "local_44")) () ")")) (; ";")) (expression_statement "__dest_00 = (int *)*piVar2;" (assignment_expression "__dest_00 = (int *)*piVar2" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" (identifier "piVar3") (= "=") (identifier "piVar2")) (; ";")) (expression_statement "piVar15 = __src;" (assignment_expression "piVar15 = __src" (identifier "piVar15") (= "=") (identifier "__src")) (; ";")) (} "}")) (else_clause "else {\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" (else "else") (compound_statement "{\n    piVar3 = (int *)(param_1 + local_48 * 0x18);\n    __dest_00 = (int *)*piVar3;\n    piVar15 = piVar3 + 2;\n  }" ({ "{") (expression_statement "piVar3 = (int *)(param_1 + local_48 * 0x18);" (assignment_expression "piVar3 = (int *)(param_1 + local_48 * 0x18)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1 + local_48 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + local_48 * 0x18)" (( "(") (binary_expression "param_1 + local_48 * 0x18" (identifier "param_1") (+ "+") (binary_expression "local_48 * 0x18" (identifier "local_48") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "piVar15 = piVar3 + 2;" (assignment_expression "piVar15 = piVar3 + 2" (identifier "piVar15") (= "=") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}")))) (labeled_statement "joined_r0x001fb35f:\n  if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" (statement_identifier "joined_r0x001fb35f") (: ":") (if_statement "if (local_34 == &local_2c) {\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }\n  else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" (if "if") (parenthesized_expression "(local_34 == &local_2c)" (( "(") (binary_expression "local_34 == &local_2c" (identifier "local_34") (== "==") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) () ")")) (compound_statement "{\n    local_54 = &local_2c;\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }\n    piVar3[1] = local_30;\n    *(undefined1 *)((int)__dest_00 + local_30) = 0;\n    iVar7 = local_2c;\n  }" ({ "{") (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" (identifier "local_54") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }\n    }" ({ "{") (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }\n      else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" (if "if") (parenthesized_expression "(local_30 == 1)" (( "(") (binary_expression "local_30 == 1" (identifier "local_30") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        *(undefined1 *)__dest_00 = (undefined1)local_2c;\n        __dest_00 = (int *)*piVar3;\n      }" ({ "{") (expression_statement "*(undefined1 *)__dest_00 = (undefined1)local_2c;" (assignment_expression "*(undefined1 *)__dest_00 = (undefined1)local_2c" (pointer_expression "*(undefined1 *)__dest_00" (* "*") (cast_expression "(undefined1 *)__dest_00" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest_00"))) (= "=") (cast_expression "(undefined1)local_2c" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (} "}")) (else_clause "else {\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" (else "else") (compound_statement "{\n        memcpy(__dest_00,local_54,local_30);\n        __dest_00 = (int *)*piVar3;\n      }" ({ "{") (expression_statement "memcpy(__dest_00,local_54,local_30);" (call_expression "memcpy(__dest_00,local_54,local_30)" (identifier "memcpy") (argument_list "(__dest_00,local_54,local_30)" (( "(") (identifier "__dest_00") (, ",") (identifier "local_54") (, ",") (identifier "local_30") () ")"))) (; ";")) (expression_statement "__dest_00 = (int *)*piVar3;" (assignment_expression "__dest_00 = (int *)*piVar3" (identifier "__dest_00") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (} "}")))) (} "}"))) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest_00 + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest_00 + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest_00 + local_30)" (* "*") (cast_expression "(undefined1 *)((int)__dest_00 + local_30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + local_30)" (( "(") (binary_expression "(int)__dest_00 + local_30" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "local_30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" (identifier "iVar7") (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" (else "else") (compound_statement "{\n    if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }\n    local_34 = &local_2c;\n    iVar7 = local_2c;\n  }" ({ "{") (if_statement "if (piVar15 == __dest_00) {\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }\n    else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" (if "if") (parenthesized_expression "(piVar15 == __dest_00)" (( "(") (binary_expression "piVar15 == __dest_00" (identifier "piVar15") (== "==") (identifier "__dest_00")) () ")")) (compound_statement "{\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n    }" ({ "{") (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34"))) (; ";")) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" (else "else") (compound_statement "{\n      iVar7 = piVar3[2];\n      *piVar3 = (int)local_34;\n      piVar3[1] = local_30;\n      piVar3[2] = local_2c;\n      local_34 = __dest_00;\n      if (__dest_00 != (int *)0x0) goto LAB_001fb327;\n    }" ({ "{") (expression_statement "iVar7 = piVar3[2];" (assignment_expression "iVar7 = piVar3[2]" (identifier "iVar7") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*piVar3 = (int)local_34;" (assignment_expression "*piVar3 = (int)local_34" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34"))) (; ";")) (expression_statement "piVar3[1] = local_30;" (assignment_expression "piVar3[1] = local_30" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "piVar3[2] = local_2c;" (assignment_expression "piVar3[2] = local_2c" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "local_34 = __dest_00;" (assignment_expression "local_34 = __dest_00" (identifier "local_34") (= "=") (identifier "__dest_00")) (; ";")) (if_statement "if (__dest_00 != (int *)0x0) goto LAB_001fb327;" (if "if") (parenthesized_expression "(__dest_00 != (int *)0x0)" (( "(") (binary_expression "__dest_00 != (int *)0x0" (identifier "__dest_00") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001fb327;" (goto "goto") (statement_identifier "LAB_001fb327") (; ";"))) (} "}")))) (expression_statement "local_34 = &local_2c;" (assignment_expression "local_34 = &local_2c" (identifier "local_34") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" (identifier "iVar7") (= "=") (identifier "local_2c")) (; ";")) (} "}"))))) (labeled_statement "LAB_001fb327:\n  local_2c = iVar7;" (statement_identifier "LAB_001fb327") (: ":") (expression_statement "local_2c = iVar7;" (assignment_expression "local_2c = iVar7" (identifier "local_2c") (= "=") (identifier "iVar7")) (; ";"))) (expression_statement "local_54 = &local_2c;" (assignment_expression "local_54 = &local_2c" (identifier "local_54") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" (* "*") (cast_expression "(undefined1 *)local_34" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_34"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_34 != local_54) {\n    FUN_00248220(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_54)" (( "(") (binary_expression "local_34 != local_54" (identifier "local_34") (!= "!=") (identifier "local_54")) () ")")) (compound_statement "{\n    FUN_00248220(local_34);\n  }" ({ "{") (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" (identifier "FUN_00248220") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
   std::vector<std::__cxx11::basic_string<char> > >, int, std::__cxx11::basic_string<char>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare> > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,_std::vector<std::__cxx11::basic_string<char>_>_>,_int,_std::__cxx11::basic_string<char>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Odr_violation_compare>_>
               (int var_4,int var_2,type_3 var_1,type_2 *var_25)

{
  int var_7;
  type_1 *var_30;
  type_1 *var_15;
  int *piVar3;
  type_2 *var_20;
  type_2 *var_24;
  type_1 *var_14;
  type_1 *var_29;
  type_2 *var_21;
  type_2 uVar8;
  int var_3;
  type_1 *var_18;
  type_3 var_9;
  type_3 var_10;
  int var_12;
  type_3 var_27;
  size_t var_16;
  type_2 *var_22;
  type_2 *var_23;
  type_1 *var_13;
  int var_5;
  type_1 *var_19;
  int var_6;
  int var_26;
  type_1 *var_28;
  size_t var_31;
  type_2 local_2c;
  type_2 local_28;
  type_2 local_24;
  type_2 local_20;
  
  var_3 = (int)(var_1 - 1) / 2;
  if (var_2 < var_3) {
    var_5 = var_2;
    var_19 = (type_1 *)(var_4 + 8 + var_2 * 0x18);
    do {
      var_6 = (var_5 + 1) * 2;
      var_7 = var_6 + -1;
      var_15 = (type_1 *)(var_4 + var_7 * 0x18);
      var_13 = (type_1 *)(var_4 + (var_5 + 1) * 0x30);
      var_9 = type_1::var_8(var_13,'/',0xffffffff);
      var_10 = type_1::var_8(var_15,'/',0xffffffff);
      if (var_9 == 0xffffffff) {
        var_9 = 0;
      }
      if (var_10 == 0xffffffff) {
        var_10 = 0;
      }
      var_12 = type_1::var_11((type_3)var_13,var_9,(type_1 *)0xffffffff,(type_3)var_15,var_10);
      if (var_12 < 0) {
        var_6 = var_7;
        var_13 = var_15;
      }
      var_14 = *(type_1 **)var_13;
      piVar3 = (int *)(var_4 + var_5 * 0x18);
      var_15 = var_13 + 8;
      var_18 = (type_1 *)*piVar3;
      if (var_14 == var_15) {
        var_16 = *(size_t *)(var_13 + 4);
        if (var_16 != 0) {
          if (var_16 == 1) {
            *var_18 = var_13[8];
            var_5 = *(int *)(var_13 + 4);
            piVar3[1] = var_5;
            *(type_4 *)(*piVar3 + var_5) = 0;
            var_18 = *(type_1 **)var_13;
            goto LAB_001fafa7;
          }
          var_17(var_18,var_15,var_16);
          var_16 = *(size_t *)(var_13 + 4);
          var_18 = (type_1 *)*piVar3;
        }
        piVar3[1] = var_16;
        var_18[var_16] = (type_1)0x0;
        var_18 = *(type_1 **)var_13;
      }
      else {
        if (var_18 == var_19) {
          *piVar3 = (int)var_14;
          piVar3[1] = *(int *)(var_13 + 4);
          piVar3[2] = *(int *)(var_13 + 8);
        }
        else {
          *piVar3 = (int)var_14;
          var_5 = piVar3[2];
          piVar3[1] = *(int *)(var_13 + 4);
          piVar3[2] = *(int *)(var_13 + 8);
          if (var_18 != (type_1 *)0x0) {
            *(type_1 **)var_13 = var_18;
            *(int *)(var_13 + 8) = var_5;
            goto LAB_001fafa7;
          }
        }
        *(type_1 **)var_13 = var_15;
        var_18 = var_15;
      }
LAB_001fafa7:
      *(type_2 *)(var_13 + 4) = 0;
      *var_18 = (type_1)0x0;
      var_5 = var_6;
      var_19 = var_15;
    } while (var_6 < var_3);
  }
  else {
    var_6 = var_2;
  }
  if (((var_1 & 1) == 0) && ((int)(var_1 - 2) / 2 == var_6)) {
    var_3 = var_6 * 2 + 1;
    var_20 = (type_2 *)(var_4 + var_3 * 0x18);
    var_21 = (type_2 *)*var_20;
    var_22 = var_20 + 2;
    var_24 = (type_2 *)(var_4 + var_6 * 0x18);
    var_23 = (type_2 *)*var_24;
    if (var_21 == var_22) {
      var_16 = var_20[1];
      if (var_16 != 0) {
        if (var_16 == 1) {
          *(type_4 *)var_23 = *(type_4 *)(var_20 + 2);
          var_16 = var_20[1];
          var_23 = (type_2 *)*var_24;
        }
        else {
          var_17(var_23,var_21,var_16);
          var_16 = var_20[1];
          var_23 = (type_2 *)*var_24;
        }
      }
      var_24[1] = var_16;
      *(type_4 *)((int)var_23 + var_16) = 0;
      var_22 = (type_2 *)*var_20;
    }
    else {
      if (var_23 == var_24 + 2) {
        *var_24 = var_21;
        var_24[1] = var_20[1];
        var_24[2] = var_20[2];
      }
      else {
        *var_24 = var_21;
        uVar8 = var_24[2];
        var_24[1] = var_20[1];
        var_24[2] = var_20[2];
        if (var_23 != (type_2 *)0x0) {
          *var_20 = var_23;
          var_20[2] = uVar8;
          var_22 = var_23;
          goto LAB_001fb2dc;
        }
      }
      *var_20 = var_22;
    }
LAB_001fb2dc:
    var_20[1] = 0;
    *(type_4 *)var_22 = 0;
    var_6 = var_3;
  }
  if ((type_1 *)*var_25 == (type_1 *)(var_25 + 2)) {
    local_2c = var_25[2];
    local_28 = var_25[3];
    local_24 = var_25[4];
    local_20 = var_25[5];
    var_28 = (type_1 *)&local_2c;
  }
  else {
    local_2c = var_25[2];
    var_28 = (type_1 *)*var_25;
  }
  var_31 = var_25[1];
  *var_25 = (type_1 *)(var_25 + 2);
  var_25[1] = 0;
  *(type_4 *)(var_25 + 2) = 0;
  if (var_2 < var_6) {
    do {
      var_26 = (var_6 + -1) / 2;
      var_15 = (type_1 *)(var_4 + var_26 * 0x18);
      var_10 = type_1::var_8(var_15,'/',0xffffffff);
      var_27 = type_1::var_8((type_1 *)&var_28,'/',0xffffffff);
      var_9 = 0;
      if (var_10 != 0xffffffff) {
        var_9 = var_10;
      }
      if (var_27 == 0xffffffff) {
        var_27 = 0;
      }
                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */
      var_3 = type_1::var_11((type_3)var_15,var_9,(type_1 *)0xffffffff,(type_3)&var_28,var_27);
      var_14 = (type_1 *)(var_4 + var_6 * 0x18);
      var_18 = *(type_1 **)var_14;
      var_13 = var_14 + 8;
      if (-1 < var_3) goto joined_r0x001fb35f;
      var_29 = *(type_1 **)var_15;
      var_30 = var_15 + 8;
      if (var_29 == var_30) {
        var_16 = *(size_t *)(var_15 + 4);
        if (var_16 != 0) {
          if (var_16 == 1) {
            *var_18 = var_15[8];
            var_3 = *(int *)(var_15 + 4);
            *(int *)(var_14 + 4) = var_3;
            *(type_4 *)(*(int *)var_14 + var_3) = 0;
            var_18 = *(type_1 **)var_15;
            goto LAB_001fb15e;
          }
          var_17(var_18,var_30,var_16);
          var_16 = *(size_t *)(var_15 + 4);
          var_18 = *(type_1 **)var_14;
        }
        *(size_t *)(var_14 + 4) = var_16;
        var_18[var_16] = (type_1)0x0;
        var_18 = *(type_1 **)var_15;
      }
      else {
        if (var_18 == var_13) {
          *(type_1 **)var_14 = var_29;
          *(type_2 *)(var_14 + 4) = *(type_2 *)(var_15 + 4);
          *(type_2 *)(var_14 + 8) = *(type_2 *)(var_15 + 8);
        }
        else {
          *(type_1 **)var_14 = var_29;
          uVar8 = *(type_2 *)(var_14 + 8);
          *(type_2 *)(var_14 + 4) = *(type_2 *)(var_15 + 4);
          *(type_2 *)(var_14 + 8) = *(type_2 *)(var_15 + 8);
          if (var_18 != (type_1 *)0x0) {
            *(type_1 **)var_15 = var_18;
            *(type_2 *)(var_15 + 8) = uVar8;
            goto LAB_001fb15e;
          }
        }
        *(type_1 **)var_15 = var_30;
        var_18 = var_30;
      }
LAB_001fb15e:
      *(type_2 *)(var_15 + 4) = 0;
      *var_18 = (type_1)0x0;
      var_6 = var_26;
    } while (var_2 < var_26);
    var_18 = *(type_1 **)var_15;
    var_14 = var_15;
    var_13 = var_30;
  }
  else {
    var_14 = (type_1 *)(var_4 + var_6 * 0x18);
    var_18 = *(type_1 **)var_14;
    var_13 = var_14 + 8;
  }
joined_r0x001fb35f:
  if (var_28 == (type_1 *)&local_2c) {
    var_19 = (type_1 *)&local_2c;
    if (var_31 != 0) {
      if (var_31 == 1) {
        *var_18 = local_2c._0_1_;
        var_18 = *(type_1 **)var_14;
      }
      else {
        var_17(var_18,var_19,var_31);
        var_18 = *(type_1 **)var_14;
      }
    }
    *(size_t *)(var_14 + 4) = var_31;
    var_18[var_31] = (type_1)0x0;
    uVar8 = local_2c;
  }
  else {
    if (var_13 == var_18) {
      *(type_1 **)var_14 = var_28;
      *(size_t *)(var_14 + 4) = var_31;
      *(type_2 *)(var_14 + 8) = local_2c;
    }
    else {
      uVar8 = *(type_2 *)(var_14 + 8);
      *(type_1 **)var_14 = var_28;
      *(size_t *)(var_14 + 4) = var_31;
      *(type_2 *)(var_14 + 8) = local_2c;
      var_28 = var_18;
      if (var_18 != (type_1 *)0x0) goto LAB_001fb327;
    }
    var_28 = (type_1 *)&local_2c;
    uVar8 = local_2c;
  }
LAB_001fb327:
  local_2c = uVar8;
  var_19 = (type_1 *)&local_2c;
  var_31 = 0;
  *var_28 = (type_1)0x0;
  if (var_28 != var_19) {
    var_32(var_28);
  }
  return;
}


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

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

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

{
  int *__src;
  undefined4 *puVar1;
  int *piVar2;
  int *piVar3;
  undefined4 *puVar4;
  int *piVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  size_t sVar13;
  undefined4 *puVar14;
  undefined4 *__dest;
  int *__dest_00;
  int *piVar15;
  int *local_54;
  int local_48;
  int local_44;
  int *local_34;
  size_t local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  iVar7 = (int)(param_3 - 1) / 2;
  if (param_2 < iVar7) {
    iVar11 = param_2;
    local_54 = (undefined4 *)(param_1 + 8 + param_2 * 0x18);
    do {
      local_48 = (iVar11 + 1) * 2;
      iVar12 = local_48 + -1;
      puVar14 = (undefined4 *)(param_1 + iVar12 * 0x18);
      puVar1 = (undefined4 *)(param_1 + (iVar11 + 1) * 0x30);
      iVar9 = FUN_002521c0(puVar1,0x2f,0xffffffff);
      iVar10 = FUN_002521c0(puVar14,0x2f,0xffffffff);
      if (iVar9 == -1) {
        iVar9 = 0;
      }
      if (iVar10 == -1) {
        iVar10 = 0;
      }
      iVar9 = FUN_00252740(puVar1,iVar9,0xffffffff,puVar14,iVar10,0xffffffff);
      if (iVar9 < 0) {
        local_48 = iVar12;
        puVar1 = puVar14;
      }
      puVar4 = (undefined4 *)*puVar1;
      piVar2 = (int *)(param_1 + iVar11 * 0x18);
      puVar14 = puVar1 + 2;
      puVar8 = (undefined4 *)*piVar2;
      if (puVar4 == puVar14) {
        sVar13 = puVar1[1];
        if (sVar13 != 0) {
          if (sVar13 == 1) {
            *(undefined1 *)puVar8 = *(undefined1 *)(puVar1 + 2);
            iVar11 = puVar1[1];
            piVar2[1] = iVar11;
            *(undefined1 *)(*piVar2 + iVar11) = 0;
            puVar8 = (undefined4 *)*puVar1;
            goto LAB_001fafa7;
          }
          memcpy(puVar8,puVar14,sVar13);
          sVar13 = puVar1[1];
          puVar8 = (undefined4 *)*piVar2;
        }
        piVar2[1] = sVar13;
        *(undefined1 *)((int)puVar8 + sVar13) = 0;
        puVar8 = (undefined4 *)*puVar1;
      }
      else {
        if (puVar8 == local_54) {
          *piVar2 = (int)puVar4;
          piVar2[1] = puVar1[1];
          piVar2[2] = puVar1[2];
        }
        else {
          *piVar2 = (int)puVar4;
          iVar11 = piVar2[2];
          piVar2[1] = puVar1[1];
          piVar2[2] = puVar1[2];
          if (puVar8 != (undefined4 *)0x0) {
            *puVar1 = puVar8;
            puVar1[2] = iVar11;
            goto LAB_001fafa7;
          }
        }
        *puVar1 = puVar14;
        puVar8 = puVar14;
      }
LAB_001fafa7:
      puVar1[1] = 0;
      *(undefined1 *)puVar8 = 0;
      iVar11 = local_48;
      local_54 = puVar14;
    } while (local_48 < iVar7);
  }
  else {
    local_48 = param_2;
  }
  if (((param_3 & 1) == 0) && ((int)(param_3 - 2) / 2 == local_48)) {
    iVar7 = local_48 * 2 + 1;
    puVar1 = (undefined4 *)(param_1 + iVar7 * 0x18);
    puVar8 = (undefined4 *)*puVar1;
    puVar14 = puVar1 + 2;
    puVar4 = (undefined4 *)(param_1 + local_48 * 0x18);
    __dest = (undefined4 *)*puVar4;
    if (puVar8 == puVar14) {
      sVar13 = puVar1[1];
      if (sVar13 != 0) {
        if (sVar13 == 1) {
          *(undefined1 *)__dest = *(undefined1 *)(puVar1 + 2);
          sVar13 = puVar1[1];
          __dest = (undefined4 *)*puVar4;
        }
        else {
          memcpy(__dest,puVar8,sVar13);
          sVar13 = puVar1[1];
          __dest = (undefined4 *)*puVar4;
        }
      }
      puVar4[1] = sVar13;
      *(undefined1 *)((int)__dest + sVar13) = 0;
      puVar14 = (undefined4 *)*puVar1;
    }
    else {
      if (__dest == puVar4 + 2) {
        *puVar4 = puVar8;
        puVar4[1] = puVar1[1];
        puVar4[2] = puVar1[2];
      }
      else {
        *puVar4 = puVar8;
        uVar6 = puVar4[2];
        puVar4[1] = puVar1[1];
        puVar4[2] = puVar1[2];
        if (__dest != (undefined4 *)0x0) {
          *puVar1 = __dest;
          puVar1[2] = uVar6;
          puVar14 = __dest;
          goto LAB_001fb2dc;
        }
      }
      *puVar1 = puVar14;
    }
LAB_001fb2dc:
    puVar1[1] = 0;
    *(undefined1 *)puVar14 = 0;
    local_48 = iVar7;
  }
  if ((int *)*param_4 == param_4 + 2) {
    local_2c = param_4[2];
    local_28 = param_4[3];
    local_24 = param_4[4];
    local_20 = param_4[5];
    local_34 = &local_2c;
  }
  else {
    local_2c = param_4[2];
    local_34 = (int *)*param_4;
  }
  local_30 = param_4[1];
  *param_4 = param_4 + 2;
  param_4[1] = 0;
  *(undefined1 *)(param_4 + 2) = 0;
  if (param_2 < local_48) {
    do {
      local_44 = (local_48 + -1) / 2;
      piVar2 = (int *)(param_1 + local_44 * 0x18);
      iVar11 = FUN_002521c0(piVar2,0x2f,0xffffffff);
      iVar12 = FUN_002521c0(&local_34,0x2f,0xffffffff);
      iVar7 = 0;
      if (iVar11 != -1) {
        iVar7 = iVar11;
      }
      if (iVar12 == -1) {
        iVar12 = 0;
      }
                    /* try { // try from 001fb1e1 to 001fb1e5 has its CatchHandler @ 001fb4b4 */
      iVar7 = FUN_00252740(piVar2,iVar7,0xffffffff,&local_34,iVar12,0xffffffff);
      piVar3 = (int *)(param_1 + local_48 * 0x18);
      __dest_00 = (int *)*piVar3;
      piVar15 = piVar3 + 2;
      if (-1 < iVar7) goto joined_r0x001fb35f;
      piVar5 = (int *)*piVar2;
      __src = piVar2 + 2;
      if (piVar5 == __src) {
        sVar13 = piVar2[1];
        if (sVar13 != 0) {
          if (sVar13 == 1) {
            *(char *)__dest_00 = (char)piVar2[2];
            iVar7 = piVar2[1];
            piVar3[1] = iVar7;
            *(undefined1 *)(*piVar3 + iVar7) = 0;
            __dest_00 = (int *)*piVar2;
            goto LAB_001fb15e;
          }
          memcpy(__dest_00,__src,sVar13);
          sVar13 = piVar2[1];
          __dest_00 = (int *)*piVar3;
        }
        piVar3[1] = sVar13;
        *(undefined1 *)((int)__dest_00 + sVar13) = 0;
        __dest_00 = (int *)*piVar2;
      }
      else {
        if (__dest_00 == piVar15) {
          *piVar3 = (int)piVar5;
          piVar3[1] = piVar2[1];
          piVar3[2] = piVar2[2];
        }
        else {
          *piVar3 = (int)piVar5;
          iVar7 = piVar3[2];
          piVar3[1] = piVar2[1];
          piVar3[2] = piVar2[2];
          if (__dest_00 != (int *)0x0) {
            *piVar2 = (int)__dest_00;
            piVar2[2] = iVar7;
            goto LAB_001fb15e;
          }
        }
        *piVar2 = (int)__src;
        __dest_00 = __src;
      }
LAB_001fb15e:
      piVar2[1] = 0;
      *(undefined1 *)__dest_00 = 0;
      local_48 = local_44;
    } while (param_2 < local_44);
    __dest_00 = (int *)*piVar2;
    piVar3 = piVar2;
    piVar15 = __src;
  }
  else {
    piVar3 = (int *)(param_1 + local_48 * 0x18);
    __dest_00 = (int *)*piVar3;
    piVar15 = piVar3 + 2;
  }
joined_r0x001fb35f:
  if (local_34 == &local_2c) {
    local_54 = &local_2c;
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest_00 = (undefined1)local_2c;
        __dest_00 = (int *)*piVar3;
      }
      else {
        memcpy(__dest_00,local_54,local_30);
        __dest_00 = (int *)*piVar3;
      }
    }
    piVar3[1] = local_30;
    *(undefined1 *)((int)__dest_00 + local_30) = 0;
    iVar7 = local_2c;
  }
  else {
    if (piVar15 == __dest_00) {
      *piVar3 = (int)local_34;
      piVar3[1] = local_30;
      piVar3[2] = local_2c;
    }
    else {
      iVar7 = piVar3[2];
      *piVar3 = (int)local_34;
      piVar3[1] = local_30;
      piVar3[2] = local_2c;
      local_34 = __dest_00;
      if (__dest_00 != (int *)0x0) goto LAB_001fb327;
    }
    local_34 = &local_2c;
    iVar7 = local_2c;
  }
LAB_001fb327:
  local_2c = iVar7;
  local_54 = &local_2c;
  local_30 = 0;
  *(undefined1 *)local_34 = 0;
  if (local_34 != local_54) {
    FUN_00248220(local_34);
  }
  return;
}

