
void * GetValueFromLinkedList(LinkedListInfo *list_info,size_t index)

{
  size_t sVar1;
  int *piVar2;
  undefined *puVar3;
  int *piVar4;
  undefined4 *puVar5;
  ElementInfo *pEVar6;
  int iVar7;
  undefined4 *puVar8;
  undefined4 uVar9;
  undefined *puVar10;
  undefined *puVar11;
  int iVar12;
  int iVar13;
  void *pvVar14;
  undefined *puVar15;
  code *pcVar16;
  code *pcVar17;
  code *pcVar18;
  
  if (list_info == (LinkedListInfo *)0x0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,
               PTR_s_t_to_left_003a88e4 + -0x49d8);
  }
  else if (list_info->signature == 0xabacadab) {
    if (list_info->elements <= index) {
      return (void *)0x0;
    }
    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);
    if (index != 0) {
      if (list_info->elements - 1 != index) {
        pEVar6 = list_info->head;
        if (0 < (int)index) {
          sVar1 = 0;
          do {
            sVar1 = sVar1 + 1;
            pEVar6 = pEVar6->next;
          } while (sVar1 != index);
        }
        pvVar14 = pEVar6->value;
        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();
        return pvVar14;
      }
      pvVar14 = list_info->tail->value;
      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);
      return pvVar14;
    }
    pvVar14 = list_info->head->value;
    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);
    return pvVar14;
  }
  iVar12 = 0x18b;
  puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20;
  puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);
  puVar15 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)();
  if (puVar8 != (undefined4 *)0x0) {
    if (puVar8[6] == -0x54535255) {
      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&
          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&
         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {
        pcVar16 = *(code **)(puVar15 + 0x2a4674);
        uVar9 = puVar8[5];
        *piVar2 = iVar12;
        piVar2[1] = 0;
        (*pcVar16)(uVar9);
        puVar3 = (undefined *)puVar8[1];
        if (puVar3 == (undefined *)0x0) {
          if (puVar8[4] == 0) {
            puVar8[4] = piVar2;
          }
          puVar8[2] = piVar2;
          puVar8[3] = piVar2;
        }
        else {
          iVar12 = puVar8[4];
          if (puVar11 == (undefined *)0x0) {
            iVar7 = puVar8[2];
            if (iVar7 == iVar12) {
              puVar8[4] = piVar2;
              piVar2[1] = iVar7;
              puVar8[2] = piVar2;
            }
            else {
              piVar2[1] = iVar7;
              puVar8[2] = piVar2;
            }
          }
          else if (puVar3 == puVar11) {
            if (iVar12 == 0) {
              puVar8[4] = piVar2;
            }
            *(int **)(puVar8[3] + 4) = piVar2;
            puVar8[3] = piVar2;
          }
          else {
            iVar7 = puVar8[2];
            iVar13 = *(int *)(iVar7 + 4);
            piVar2[1] = iVar13;
            if (1 < (int)puVar11) {
              puVar10 = (undefined *)0x1;
              do {
                iVar7 = *(int *)(iVar7 + 4);
                puVar10 = puVar10 + 1;
                iVar13 = *(int *)(iVar7 + 4);
                piVar2[1] = iVar13;
              } while (puVar10 != puVar11);
            }
            *(int *)(iVar7 + 4) = iVar13;
            if (*(int *)(iVar13 + 4) == iVar12) {
              puVar8[4] = iVar13;
            }
          }
        }
        pcVar16 = *(code **)(puVar15 + 0x2a430c);
        puVar8[1] = puVar3 + 1;
        (*pcVar16)(puVar8[5]);
        return (void *)0x1;
      }
      return (void *)0x0;
    }
    (**(code **)(puVar15 + 0x2a4594))
              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,
               *(int *)(puVar15 + 0x2a3870) + -0x49f0);
  }
  puVar8 = (undefined4 *)&DAT_000001c8;
  pcVar17 = *(code **)(puVar15 + 0x2a4594);
  iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0;
  pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20);
  piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04);
  (*pcVar17)();
  if (piVar2 != (int *)0x0) {
    if (piVar2[6] == -0x54535255) {
      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||
         ((piVar2[1] == *piVar2 ||
          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {
        return (void *)0x0;
      }
      pcVar18 = *(code **)(pcVar17 + 0x2a4498);
      iVar13 = 0;
      iVar7 = piVar2[5];
      *piVar4 = iVar12;
      (*pcVar18)(iVar7);
      puVar5 = (undefined4 *)piVar2[2];
      piVar4[1] = (int)puVar5;
      if (puVar5 == (undefined4 *)0x0) {
        iVar12 = piVar2[1];
        piVar2[2] = (int)piVar4;
LAB_00105410:
        piVar2[3] = (int)piVar4;
      }
      else {
        do {
          iVar7 = (*pcVar16)(iVar12,*puVar5);
          if (iVar7 < 0) {
            iVar12 = piVar2[1];
LAB_00105338:
            if (iVar13 != 0) {
              *(int **)(iVar13 + 4) = piVar4;
              if (piVar4[1] != 0) goto LAB_00105350;
              goto LAB_001053bc;
            }
            iVar7 = piVar4[1];
            piVar2[2] = (int)piVar4;
            if (iVar7 != 0) goto LAB_00105350;
            piVar2[2] = (int)piVar4;
            goto LAB_00105410;
          }
          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {
            puVar5 = (undefined4 *)piVar4[1];
            *puVar8 = *puVar5;
            piVar4[1] = puVar5[1];
            if (iVar13 != 0) {
              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));
              *(undefined4 *)(iVar13 + 4) = uVar9;
            }
            iVar12 = piVar2[1] + -1;
            piVar2[1] = iVar12;
            goto LAB_00105338;
          }
          iVar13 = piVar4[1];
          puVar5 = *(undefined4 **)(iVar13 + 4);
          piVar4[1] = (int)puVar5;
        } while (puVar5 != (undefined4 *)0x0);
        iVar12 = piVar2[1];
        *(int **)(iVar13 + 4) = piVar4;
LAB_001053bc:
        piVar2[3] = (int)piVar4;
      }
LAB_00105350:
      pcVar16 = *(code **)(pcVar17 + 0x2a4130);
      piVar2[1] = iVar12 + 1;
      (*pcVar16)(piVar2[5]);
      return (void *)0x1;
    }
    (**(code **)(pcVar17 + 0x2a43b8))
              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,
               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);
  }
  pcVar16 = *(code **)(pcVar17 + 0x2a43b8);
  iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04;
  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,
             *(int *)(pcVar17 + 0x2a3694) + -0x4a10);
  if (iVar12 == 0) {
    (**(code **)(pcVar16 + 0x2a41a0))
              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,
               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);
  }
  else if (*(int *)(iVar12 + 0x18) == -0x54535255) {
    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);
  }
  pcVar17 = *(code **)(pcVar16 + 0x2a41a0);
  puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20);
  iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc;
  (*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24);
  if (iVar12 != 0) {
    if (*(int *)(iVar12 + 0x18) == -0x54535255) {
      if (puVar8 != (undefined4 *)0x0) {
        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));
        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;
            puVar5 = (undefined4 *)puVar5[1]) {
          *puVar8 = *puVar5;
          puVar8 = puVar8 + 1;
        }
        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));
        return (void *)0x1;
      }
      return (void *)0x0;
    }
    (**(code **)(pcVar17 + 0x2a4118))
              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,
               *(int *)(pcVar17 + 0x2a33f4) + -19000);
  }
  pcVar16 = *(code **)(pcVar17 + 0x2a4118);
  iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04;
  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,
             *(int *)(pcVar17 + 0x2a33f4) + -19000);
  piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c);
  *(undefined1 *)(piVar2 + 5) = 0;
  *(undefined1 *)((int)piVar2 + 0x15) = 0;
  *(undefined1 *)((int)piVar2 + 0x16) = 0;
  *(undefined1 *)((int)piVar2 + 0x17) = 0;
  *(undefined1 *)(piVar2 + 6) = 0;
  *(undefined1 *)((int)piVar2 + 0x19) = 0;
  *(undefined1 *)((int)piVar2 + 0x1a) = 0;
  *(undefined1 *)((int)piVar2 + 0x1b) = 0;
  if (iVar12 == 0) {
    iVar12 = -1;
  }
  pcVar16 = *(code **)(pcVar16 + 0x2a4050);
  *piVar2 = iVar12;
  piVar2[1] = 0;
  piVar2[2] = 0;
  piVar2[3] = 0;
  piVar2[4] = 0;
  iVar12 = (*pcVar16)();
  piVar2[5] = iVar12;
  piVar2[6] = -0x54535255;
  return piVar2;
}



int * GetValueFromLinkedList(int param_1,uint param_2)

{
  uint uVar1;
  undefined *puVar2;
  int *piVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 uVar7;
  undefined *puVar8;
  undefined *puVar9;
  int iVar10;
  int iVar11;
  int *piVar12;
  undefined *puVar13;
  code *pcVar14;
  code *pcVar15;
  code *pcVar16;
  
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,
               PTR_s_t_to_left_003a88e4 + -0x49d8);
  }
  else if (*(int *)(param_1 + 0x18) == -0x54535255) {
    if (*(uint *)(param_1 + 4) <= param_2) {
      return (int *)0x0;
    }
    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));
    if (param_2 != 0) {
      if (*(int *)(param_1 + 4) - 1U != param_2) {
        puVar5 = *(undefined4 **)(param_1 + 8);
        if (0 < (int)param_2) {
          uVar1 = 0;
          do {
            uVar1 = uVar1 + 1;
            puVar5 = (undefined4 *)puVar5[1];
          } while (uVar1 != param_2);
        }
        piVar12 = (int *)*puVar5;
        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();
        return piVar12;
      }
      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);
      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));
      return piVar12;
    }
    piVar12 = (int *)**(undefined4 **)(param_1 + 8);
    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));
    return piVar12;
  }
  iVar10 = 0x18b;
  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;
  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);
  puVar13 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)();
  if (puVar5 != (undefined4 *)0x0) {
    if (puVar5[6] == -0x54535255) {
      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&
          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&
         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {
        pcVar14 = *(code **)(puVar13 + 0x2a4674);
        uVar7 = puVar5[5];
        *piVar12 = iVar10;
        piVar12[1] = 0;
        (*pcVar14)(uVar7);
        puVar2 = (undefined *)puVar5[1];
        if (puVar2 == (undefined *)0x0) {
          if (puVar5[4] == 0) {
            puVar5[4] = piVar12;
          }
          puVar5[2] = piVar12;
          puVar5[3] = piVar12;
        }
        else {
          iVar10 = puVar5[4];
          if (puVar9 == (undefined *)0x0) {
            iVar6 = puVar5[2];
            if (iVar6 == iVar10) {
              puVar5[4] = piVar12;
              piVar12[1] = iVar6;
              puVar5[2] = piVar12;
            }
            else {
              piVar12[1] = iVar6;
              puVar5[2] = piVar12;
            }
          }
          else if (puVar2 == puVar9) {
            if (iVar10 == 0) {
              puVar5[4] = piVar12;
            }
            *(int **)(puVar5[3] + 4) = piVar12;
            puVar5[3] = piVar12;
          }
          else {
            iVar6 = puVar5[2];
            iVar11 = *(int *)(iVar6 + 4);
            piVar12[1] = iVar11;
            if (1 < (int)puVar9) {
              puVar8 = (undefined *)0x1;
              do {
                iVar6 = *(int *)(iVar6 + 4);
                puVar8 = puVar8 + 1;
                iVar11 = *(int *)(iVar6 + 4);
                piVar12[1] = iVar11;
              } while (puVar8 != puVar9);
            }
            *(int *)(iVar6 + 4) = iVar11;
            if (*(int *)(iVar11 + 4) == iVar10) {
              puVar5[4] = iVar11;
            }
          }
        }
        pcVar14 = *(code **)(puVar13 + 0x2a430c);
        puVar5[1] = puVar2 + 1;
        (*pcVar14)(puVar5[5]);
        return (int *)0x1;
      }
      return (int *)0x0;
    }
    (**(code **)(puVar13 + 0x2a4594))
              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,
               *(int *)(puVar13 + 0x2a3870) + -0x49f0);
  }
  puVar5 = (undefined4 *)&DAT_000001c8;
  pcVar15 = *(code **)(puVar13 + 0x2a4594);
  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;
  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);
  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);
  (*pcVar15)();
  if (piVar12 != (int *)0x0) {
    if (piVar12[6] == -0x54535255) {
      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||
         ((piVar12[1] == *piVar12 ||
          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {
        return (int *)0x0;
      }
      pcVar16 = *(code **)(pcVar15 + 0x2a4498);
      iVar11 = 0;
      iVar6 = piVar12[5];
      *piVar3 = iVar10;
      (*pcVar16)(iVar6);
      puVar4 = (undefined4 *)piVar12[2];
      piVar3[1] = (int)puVar4;
      if (puVar4 == (undefined4 *)0x0) {
        iVar10 = piVar12[1];
        piVar12[2] = (int)piVar3;
LAB_00105410:
        piVar12[3] = (int)piVar3;
      }
      else {
        do {
          iVar6 = (*pcVar14)(iVar10,*puVar4);
          if (iVar6 < 0) {
            iVar10 = piVar12[1];
LAB_00105338:
            if (iVar11 != 0) {
              *(int **)(iVar11 + 4) = piVar3;
              if (piVar3[1] != 0) goto LAB_00105350;
              goto LAB_001053bc;
            }
            iVar6 = piVar3[1];
            piVar12[2] = (int)piVar3;
            if (iVar6 != 0) goto LAB_00105350;
            piVar12[2] = (int)piVar3;
            goto LAB_00105410;
          }
          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {
            puVar4 = (undefined4 *)piVar3[1];
            *puVar5 = *puVar4;
            piVar3[1] = puVar4[1];
            if (iVar11 != 0) {
              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));
              *(undefined4 *)(iVar11 + 4) = uVar7;
            }
            iVar10 = piVar12[1] + -1;
            piVar12[1] = iVar10;
            goto LAB_00105338;
          }
          iVar11 = piVar3[1];
          puVar4 = *(undefined4 **)(iVar11 + 4);
          piVar3[1] = (int)puVar4;
        } while (puVar4 != (undefined4 *)0x0);
        iVar10 = piVar12[1];
        *(int **)(iVar11 + 4) = piVar3;
LAB_001053bc:
        piVar12[3] = (int)piVar3;
      }
LAB_00105350:
      pcVar14 = *(code **)(pcVar15 + 0x2a4130);
      piVar12[1] = iVar10 + 1;
      (*pcVar14)(piVar12[5]);
      return (int *)0x1;
    }
    (**(code **)(pcVar15 + 0x2a43b8))
              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,
               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);
  }
  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);
  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;
  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,
             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);
  if (iVar10 == 0) {
    (**(code **)(pcVar14 + 0x2a41a0))
              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,
               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);
  }
  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {
    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);
  }
  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);
  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);
  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;
  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);
  if (iVar10 != 0) {
    if (*(int *)(iVar10 + 0x18) == -0x54535255) {
      if (puVar5 != (undefined4 *)0x0) {
        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));
        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;
            puVar4 = (undefined4 *)puVar4[1]) {
          *puVar5 = *puVar4;
          puVar5 = puVar5 + 1;
        }
        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));
        return (int *)0x1;
      }
      return (int *)0x0;
    }
    (**(code **)(pcVar15 + 0x2a4118))
              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,
               *(int *)(pcVar15 + 0x2a33f4) + -19000);
  }
  pcVar14 = *(code **)(pcVar15 + 0x2a4118);
  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;
  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,
             *(int *)(pcVar15 + 0x2a33f4) + -19000);
  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);
  *(undefined1 *)(piVar12 + 5) = 0;
  *(undefined1 *)((int)piVar12 + 0x15) = 0;
  *(undefined1 *)((int)piVar12 + 0x16) = 0;
  *(undefined1 *)((int)piVar12 + 0x17) = 0;
  *(undefined1 *)(piVar12 + 6) = 0;
  *(undefined1 *)((int)piVar12 + 0x19) = 0;
  *(undefined1 *)((int)piVar12 + 0x1a) = 0;
  *(undefined1 *)((int)piVar12 + 0x1b) = 0;
  if (iVar10 == 0) {
    iVar10 = -1;
  }
  pcVar14 = *(code **)(pcVar14 + 0x2a4050);
  *piVar12 = iVar10;
  piVar12[1] = 0;
  piVar12[2] = 0;
  piVar12[3] = 0;
  piVar12[4] = 0;
  iVar10 = (*pcVar14)();
  piVar12[5] = iVar10;
  piVar12[6] = -0x54535255;
  return piVar12;
}


lui gp,0x2b
addiu gp,gp,-0x4664
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
beq a0,zero,0x0010502c
_sw s0,0x1c(sp)
lui v0,0xabac
lw v1,0x18(a0)
ori v0,v0,0xadab
bne v1,v0,0x00105050
_or s0,a0,zero
lw v0,0x4(a0)
sltu v0,a1,v0
beq v0,zero,0x00105010
_or s1,a1,zero
lw t9,-0x71c8(gp)
jalr t9
_lw a0,0x14(a0)
beq s1,zero,0x00104fbc
_lw gp,0x10(sp)
lw v0,0x4(s0)
addiu v0,v0,-0x1
beq v0,s1,0x00104fe8
_lw a0,0x14(s0)
blez s1,0x00104f98
_lw v1,0x8(s0)
or v0,zero,zero
addiu v0,v0,0x1
bne v0,s1,0x00104f8c
_lw v1,0x4(v1)
lw t9,-0x7530(gp)
jalr t9
_lw s0,0x0(v1)
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0x8(s0)
lw t9,-0x7530(gp)
lw a0,0x14(s0)
jalr t9
_lw s0,0x0(v0)
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0xc(s0)
lw t9,-0x7530(gp)
jalr t9
_lw s0,0x0(v0)
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
or s0,zero,zero
lw s1,0x20(sp)
or v0,s0,zero
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fcc(gp)
li a2,0x18a
lw a1,-0x7fcc(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x49d8
addiu a1,a1,-0x4b20
jalr t9
_addiu a0,a0,-0x4b04
lw a3,-0x7fcc(gp)
li a2,0x18b
lw a1,-0x7fcc(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x49d8
addiu a1,a1,-0x4b20
jalr t9
_addiu a0,a0,-0x4adc
(translation_unit "int * GetValueFromLinkedList(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}\n\n" (function_definition "int * GetValueFromLinkedList(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" primitive_type (pointer_declarator "* GetValueFromLinkedList(int param_1,uint param_2)" * (function_declarator "GetValueFromLinkedList(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * 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 "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b04" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x49d8" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" else (if_statement "if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x18) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" { (if_statement "if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 4) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 4) <= param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      return (int *)0x0;\n    }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" { (if_statement "if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 4) - 1U != param_2)" ( (binary_expression "*(int *)(param_1 + 4) - 1U != param_2" (binary_expression "*(int *)(param_1 + 4) - 1U" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) - number_literal) != identifier) )) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" { (expression_statement "puVar5 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);" do (compound_statement "{\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          }" { (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)puVar5[1];" (assignment_expression "puVar5 = (undefined4 *)puVar5[1]" identifier = (cast_expression "(undefined4 *)puVar5[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(uVar1 != param_2)" ( (binary_expression "uVar1 != param_2" identifier != identifier) )) ;) })) (expression_statement "piVar12 = (int *)*puVar5;" (assignment_expression "piVar12 = (int *)*puVar5" identifier = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)();" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)()" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return piVar12;" return identifier ;) })) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc)" identifier = (cast_expression "(int *)**(undefined4 **)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_1 + 0xc)" * (pointer_expression "*(undefined4 **)(param_1 + 0xc)" * (cast_expression "(undefined4 **)(param_1 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return piVar12;" return identifier ;) })) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 8);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 8)" identifier = (cast_expression "(int *)**(undefined4 **)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_1 + 8)" * (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return piVar12;" return identifier ;) })))) (expression_statement "iVar10 = 0x18b;" (assignment_expression "iVar10 = 0x18b" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;" (assignment_expression "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);" (assignment_expression "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4adc" identifier + number_literal) )))) ;) (expression_statement "puVar13 = PTR___assert_fail_003a9608;" (assignment_expression "puVar13 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)();" (call_expression "(*(code *)PTR___assert_fail_003a9608)()" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" { (if_statement "if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" if (parenthesized_expression "(puVar5[6] == -0x54535255)" ( (binary_expression "puVar5[6] == -0x54535255" (subscript_expression "puVar5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" { (if_statement "if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" if (parenthesized_expression "((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0))" ( (binary_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" (parenthesized_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5))" ( (binary_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)" (parenthesized_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1]))" ( (binary_expression "(iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])" (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar9 <= (undefined *)puVar5[1])" ( (binary_expression "puVar9 <= (undefined *)puVar5[1]" identifier <= (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ))) )) && (parenthesized_expression "((undefined *)puVar5[1] != (undefined *)*puVar5)" ( (binary_expression "(undefined *)puVar5[1] != (undefined *)*puVar5" (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) != (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ))) )) && (parenthesized_expression "(piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" ( (comma_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0" (assignment_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8)" identifier = (cast_expression "(int *)(**(code **)(puVar13 + 0x2a4868))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar13 + 0x2a4868))(8)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4868))" ( (pointer_expression "**(code **)(puVar13 + 0x2a4868)" * (pointer_expression "*(code **)(puVar13 + 0x2a4868)" * (cast_expression "(code **)(puVar13 + 0x2a4868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4868)" ( (binary_expression "puVar13 + 0x2a4868" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" { (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a4674);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a4674)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a4674)" * (cast_expression "(code **)(puVar13 + 0x2a4674)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4674)" ( (binary_expression "puVar13 + 0x2a4674" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = puVar5[5];" (assignment_expression "uVar7 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar14)(uVar7);" (call_expression "(*pcVar14)(uVar7)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "puVar2 = (undefined *)puVar5[1];" (assignment_expression "puVar2 = (undefined *)puVar5[1]" identifier = (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }" { (if_statement "if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }" if (parenthesized_expression "(puVar5[4] == 0)" ( (binary_expression "puVar5[4] == 0" (subscript_expression "puVar5[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            puVar5[4] = piVar12;\n          }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" else (compound_statement "{\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" { (expression_statement "iVar10 = puVar5[4];" (assignment_expression "iVar10 = puVar5[4]" identifier = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (if_statement "if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" if (parenthesized_expression "(puVar9 == (undefined *)0x0)" ( (binary_expression "puVar9 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }" { (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" if (parenthesized_expression "(iVar6 == iVar10)" ( (binary_expression "iVar6 == iVar10" identifier == identifier) )) (compound_statement "{\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" else (compound_statement "{\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" { (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" else (if_statement "if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" if (parenthesized_expression "(puVar2 == puVar9)" ( (binary_expression "puVar2 == puVar9" identifier == identifier) )) (compound_statement "{\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }" { (if_statement "if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n              puVar5[4] = piVar12;\n            }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(int **)(puVar5[3] + 4) = piVar12;" (assignment_expression "*(int **)(puVar5[3] + 4) = piVar12" (pointer_expression "*(int **)(puVar5[3] + 4)" * (cast_expression "(int **)(puVar5[3] + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5[3] + 4)" ( (binary_expression "puVar5[3] + 4" (subscript_expression "puVar5[3]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" else (compound_statement "{\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" { (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" if (parenthesized_expression "(1 < (int)puVar9)" ( (binary_expression "1 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" { (expression_statement "puVar8 = (undefined *)0x1;" (assignment_expression "puVar8 = (undefined *)0x1" identifier = (cast_expression "(undefined *)0x1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);" do (compound_statement "{\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              }" { (expression_statement "iVar6 = *(int *)(iVar6 + 4);" (assignment_expression "iVar6 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(puVar8 != puVar9)" ( (binary_expression "puVar8 != puVar9" identifier != identifier) )) ;) })) (expression_statement "*(int *)(iVar6 + 4) = iVar11;" (assignment_expression "*(int *)(iVar6 + 4) = iVar11" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }" if (parenthesized_expression "(*(int *)(iVar11 + 4) == iVar10)" ( (binary_expression "*(int *)(iVar11 + 4) == iVar10" (pointer_expression "*(int *)(iVar11 + 4)" * (cast_expression "(int *)(iVar11 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n              puVar5[4] = iVar11;\n            }" { (expression_statement "puVar5[4] = iVar11;" (assignment_expression "puVar5[4] = iVar11" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) }))))) }))) (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a430c);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a430c)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a430c)" * (cast_expression "(code **)(puVar13 + 0x2a430c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a430c)" ( (binary_expression "puVar13 + 0x2a430c" identifier + number_literal) ))))) ;) (expression_statement "puVar5[1] = puVar2 + 1;" (assignment_expression "puVar5[1] = puVar2 + 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(puVar5[5]);" (call_expression "(*pcVar14)(puVar5[5])" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(puVar5[5])" ( (subscript_expression "puVar5[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);" (call_expression "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4594))" ( (pointer_expression "**(code **)(puVar13 + 0x2a4594)" * (pointer_expression "*(code **)(puVar13 + 0x2a4594)" * (cast_expression "(code **)(puVar13 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4594)" ( (binary_expression "puVar13 + 0x2a4594" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4adc" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "puVar5 = (undefined4 *)&DAT_000001c8;" (assignment_expression "puVar5 = (undefined4 *)&DAT_000001c8" identifier = (cast_expression "(undefined4 *)&DAT_000001c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_000001c8" & identifier))) ;) (expression_statement "pcVar15 = *(code **)(puVar13 + 0x2a4594);" (assignment_expression "pcVar15 = *(code **)(puVar13 + 0x2a4594)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a4594)" * (cast_expression "(code **)(puVar13 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4594)" ( (binary_expression "puVar13 + 0x2a4594" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;" (assignment_expression "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0" identifier = (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" identifier = (cast_expression "(code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);" (assignment_expression "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" identifier = (cast_expression "(int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b04" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" if (parenthesized_expression "(piVar12 != (int *)0x0)" ( (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" { (if_statement "if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" if (parenthesized_expression "(piVar12[6] == -0x54535255)" ( (binary_expression "piVar12[6] == -0x54535255" (subscript_expression "piVar12[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" { (if_statement "if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }" if (parenthesized_expression "(((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))))" ( (binary_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" (parenthesized_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0))" ( (binary_expression "(pcVar14 == (code *)0x0) || (iVar10 == 0)" (parenthesized_expression "(pcVar14 == (code *)0x0)" ( (binary_expression "pcVar14 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" ( (parenthesized_expression "(piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))" ( (binary_expression "piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" (binary_expression "piVar12[1] == *piVar12" (subscript_expression "piVar12[1]" identifier [ number_literal ]) == (pointer_expression "*piVar12" * identifier)) || (parenthesized_expression "(piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" ( (comma_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0" (assignment_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8)" identifier = (cast_expression "(int *)(**(code **)(pcVar15 + 0x2a468c))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar15 + 0x2a468c))(8)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a468c))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a468c)" * (pointer_expression "*(code **)(pcVar15 + 0x2a468c)" * (cast_expression "(code **)(pcVar15 + 0x2a468c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a468c)" ( (binary_expression "pcVar15 + 0x2a468c" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n        return (int *)0x0;\n      }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar16 = *(code **)(pcVar15 + 0x2a4498);" (assignment_expression "pcVar16 = *(code **)(pcVar15 + 0x2a4498)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4498)" * (cast_expression "(code **)(pcVar15 + 0x2a4498)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4498)" ( (binary_expression "pcVar15 + 0x2a4498" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = piVar12[5];" (assignment_expression "iVar6 = piVar12[5]" identifier = (subscript_expression "piVar12[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "puVar4 = (undefined4 *)piVar12[2];" (assignment_expression "puVar4 = (undefined4 *)piVar12[2]" identifier = (cast_expression "(undefined4 *)piVar12[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }" { (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_00105410:\n        piVar12[3] = (int)piVar3;" statement_identifier : (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }) (else_clause "else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" else (compound_statement "{\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" { (do_statement "do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);" do (compound_statement "{\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        }" { (expression_statement "iVar6 = (*pcVar14)(iVar10,*puVar4);" (assignment_expression "iVar6 = (*pcVar14)(iVar10,*puVar4)" identifier = (call_expression "(*pcVar14)(iVar10,*puVar4)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*puVar4)" ( identifier , (pointer_expression "*puVar4" * identifier) )))) ;) (if_statement "if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" { (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" statement_identifier : (if_statement "if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" { (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar3[1] != 0) goto LAB_00105350;" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (goto_statement "goto LAB_001053bc;" goto statement_identifier ;) }))) (expression_statement "iVar6 = piVar3[1];" (assignment_expression "iVar6 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar6 != 0) goto LAB_00105350;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00105410;" goto statement_identifier ;) })) (if_statement "if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" if (parenthesized_expression "((puVar5 != (undefined4 *)0x0) && (iVar6 == 0))" ( (binary_expression "(puVar5 != (undefined4 *)0x0) && (iVar6 == 0)" (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" { (expression_statement "puVar4 = (undefined4 *)piVar3[1];" (assignment_expression "puVar4 = (undefined4 *)piVar3[1]" identifier = (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "piVar3[1] = puVar4[1];" (assignment_expression "piVar3[1] = puVar4[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" { (expression_statement "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));" (assignment_expression "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" identifier = (call_expression "(**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3d70))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a3d70)" * (pointer_expression "*(code **)(pcVar15 + 0x2a3d70)" * (cast_expression "(code **)(pcVar15 + 0x2a3d70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a3d70)" ( (binary_expression "pcVar15 + 0x2a3d70" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar11 + 4))" ( (pointer_expression "*(undefined4 *)(iVar11 + 4)" * (cast_expression "(undefined4 *)(iVar11 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar11 + 4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar11 + 4) = uVar7" (pointer_expression "*(undefined4 *)(iVar11 + 4)" * (cast_expression "(undefined4 *)(iVar11 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar10 = piVar12[1] + -1;" (assignment_expression "iVar10 = piVar12[1] + -1" identifier = (binary_expression "piVar12[1] + -1" (subscript_expression "piVar12[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar12[1] = iVar10;" (assignment_expression "piVar12[1] = iVar10" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00105338;" goto statement_identifier ;) })) (expression_statement "iVar11 = piVar3[1];" (assignment_expression "iVar11 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar11 + 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar11 + 4)" identifier = (pointer_expression "*(undefined4 **)(iVar11 + 4)" * (cast_expression "(undefined4 **)(iVar11 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_001053bc:\n        piVar12[3] = (int)piVar3;" statement_identifier : (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }))) (labeled_statement "LAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);" statement_identifier : (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4130);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4130)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4130)" * (cast_expression "(code **)(pcVar15 + 0x2a4130)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4130)" ( (binary_expression "pcVar15 + 0x2a4130" identifier + number_literal) ))))) ;)) (expression_statement "piVar12[1] = iVar10 + 1;" (assignment_expression "piVar12[1] = iVar10 + 1" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(piVar12[5]);" (call_expression "(*pcVar14)(piVar12[5])" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar12[5])" ( (subscript_expression "piVar12[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a43b8))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a43b8)" * (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" * (cast_expression "(code **)(pcVar15 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a43b8)" ( (binary_expression "pcVar15 + 0x2a43b8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" ( (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a43b8);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a43b8)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" * (cast_expression "(code **)(pcVar15 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a43b8)" ( (binary_expression "pcVar15 + 0x2a43b8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" ( identifier , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }" { (expression_statement "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);" (call_expression "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a41a0))" ( (pointer_expression "**(code **)(pcVar14 + 0x2a41a0)" * (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" * (cast_expression "(code **)(pcVar14 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a41a0)" ( (binary_expression "pcVar14 + 0x2a41a0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" ( (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b04" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "pcVar14 + 0x2ab448" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" else (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" if (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" { (return_statement "return (int *)(uint)(*(int *)(iVar10 + 4) == 0);" return (cast_expression "(int *)(uint)(*(int *)(iVar10 + 4) == 0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(*(int *)(iVar10 + 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar10 + 4) == 0)" ( (binary_expression "*(int *)(iVar10 + 4) == 0" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) == number_literal) )))) ;) })))) (expression_statement "pcVar15 = *(code **)(pcVar14 + 0x2a41a0);" (assignment_expression "pcVar15 = *(code **)(pcVar14 + 0x2a41a0)" identifier = (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" * (cast_expression "(code **)(pcVar14 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a41a0)" ( (binary_expression "pcVar14 + 0x2a41a0" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" ( (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;" (assignment_expression "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc" identifier = (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4adc" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);" (call_expression "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" ( identifier , identifier , number_literal , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" { (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" if (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" { (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" { (expression_statement "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a41f8))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a41f8)" * (pointer_expression "*(code **)(pcVar15 + 0x2a41f8)" * (cast_expression "(code **)(pcVar15 + 0x2a41f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a41f8)" ( (binary_expression "pcVar15 + 0x2a41f8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" * (cast_expression "(undefined4 *)(iVar10 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) ))) ;) (for_statement "for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" for ( (assignment_expression "puVar4 = *(undefined4 **)(iVar10 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar10 + 8)" * (cast_expression "(undefined4 **)(iVar10 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) ; (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar4 = (undefined4 *)puVar4[1]" identifier = (cast_expression "(undefined4 *)puVar4[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) ) (compound_statement "{\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3e90))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a3e90)" * (pointer_expression "*(code **)(pcVar15 + 0x2a3e90)" * (cast_expression "(code **)(pcVar15 + 0x2a3e90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a3e90)" ( (binary_expression "pcVar15 + 0x2a3e90" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" * (cast_expression "(undefined4 *)(iVar10 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a4118))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a4118)" * (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" * (cast_expression "(code **)(pcVar15 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4118)" ( (binary_expression "pcVar15 + 0x2a4118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" ( (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4118);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4118)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" * (cast_expression "(code **)(pcVar15 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4118)" ( (binary_expression "pcVar15 + 0x2a4118" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" ( identifier , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" identifier = (cast_expression "(int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a3d78))" ( (pointer_expression "**(code **)(pcVar14 + 0x2a3d78)" * (pointer_expression "*(code **)(pcVar14 + 0x2a3d78)" * (cast_expression "(code **)(pcVar14 + 0x2a3d78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a3d78)" ( (binary_expression "pcVar14 + 0x2a3d78" identifier + number_literal) ))))) )) (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)(piVar12 + 5) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 5) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 5)" * (cast_expression "(undefined1 *)(piVar12 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + 5)" ( (binary_expression "piVar12 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x15) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x15) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x15)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x15)" ( (binary_expression "(int)piVar12 + 0x15" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x16) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x16) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x16)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x16)" ( (binary_expression "(int)piVar12 + 0x16" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x17)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x17)" ( (binary_expression "(int)piVar12 + 0x17" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar12 + 6) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 6) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 6)" * (cast_expression "(undefined1 *)(piVar12 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + 6)" ( (binary_expression "piVar12 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x19) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x19) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x19)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x19)" ( (binary_expression "(int)piVar12 + 0x19" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1a) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1a) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1a)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x1a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x1a)" ( (binary_expression "(int)piVar12 + 0x1a" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1b)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x1b)" ( (binary_expression "(int)piVar12 + 0x1b" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar10 == 0) {\n    iVar10 = -1;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = -1;\n  }" { (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar14 + 0x2a4050);" (assignment_expression "pcVar14 = *(code **)(pcVar14 + 0x2a4050)" identifier = (pointer_expression "*(code **)(pcVar14 + 0x2a4050)" * (cast_expression "(code **)(pcVar14 + 0x2a4050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a4050)" ( (binary_expression "pcVar14 + 0x2a4050" identifier + number_literal) ))))) ;) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[2] = 0;" (assignment_expression "piVar12[2] = 0" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[3] = 0;" (assignment_expression "piVar12[3] = 0" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[4] = 0;" (assignment_expression "piVar12[4] = 0" (subscript_expression "piVar12[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = (*pcVar14)();" (assignment_expression "iVar10 = (*pcVar14)()" identifier = (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "piVar12[5] = iVar10;" (assignment_expression "piVar12[5] = iVar10" (subscript_expression "piVar12[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[6] = -0x54535255;" (assignment_expression "piVar12[6] = -0x54535255" (subscript_expression "piVar12[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar12;" return identifier ;) })))
(translation_unit "void * GetValueFromLinkedList(LinkedListInfo *list_info,size_t index)\n\n{\n  size_t sVar1;\n  int *piVar2;\n  undefined *puVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  ElementInfo *pEVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  int iVar13;\n  void *pvVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  code *pcVar18;\n  \n  if (list_info == (LinkedListInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }\n  iVar12 = 0x18b;\n  puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar8 != (undefined4 *)0x0) {\n    if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);\n  }\n  puVar8 = (undefined4 *)&DAT_000001c8;\n  pcVar17 = *(code **)(puVar15 + 0x2a4594);\n  iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0;\n  pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20);\n  piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04);\n  (*pcVar17)();\n  if (piVar2 != (int *)0x0) {\n    if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }\n    (**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a43b8);\n  iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  if (iVar12 == 0) {\n    (**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);\n  }\n  else if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }\n  pcVar17 = *(code **)(pcVar16 + 0x2a41a0);\n  puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20);\n  iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc;\n  (*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24);\n  if (iVar12 != 0) {\n    if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a4118);\n  iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar2 + 5) = 0;\n  *(undefined1 *)((int)piVar2 + 0x15) = 0;\n  *(undefined1 *)((int)piVar2 + 0x16) = 0;\n  *(undefined1 *)((int)piVar2 + 0x17) = 0;\n  *(undefined1 *)(piVar2 + 6) = 0;\n  *(undefined1 *)((int)piVar2 + 0x19) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1b) = 0;\n  if (iVar12 == 0) {\n    iVar12 = -1;\n  }\n  pcVar16 = *(code **)(pcVar16 + 0x2a4050);\n  *piVar2 = iVar12;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0;\n  iVar12 = (*pcVar16)();\n  piVar2[5] = iVar12;\n  piVar2[6] = -0x54535255;\n  return piVar2;\n}\n\n" (function_definition "void * GetValueFromLinkedList(LinkedListInfo *list_info,size_t index)\n\n{\n  size_t sVar1;\n  int *piVar2;\n  undefined *puVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  ElementInfo *pEVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  int iVar13;\n  void *pvVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  code *pcVar18;\n  \n  if (list_info == (LinkedListInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }\n  iVar12 = 0x18b;\n  puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar8 != (undefined4 *)0x0) {\n    if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);\n  }\n  puVar8 = (undefined4 *)&DAT_000001c8;\n  pcVar17 = *(code **)(puVar15 + 0x2a4594);\n  iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0;\n  pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20);\n  piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04);\n  (*pcVar17)();\n  if (piVar2 != (int *)0x0) {\n    if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }\n    (**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a43b8);\n  iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  if (iVar12 == 0) {\n    (**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);\n  }\n  else if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }\n  pcVar17 = *(code **)(pcVar16 + 0x2a41a0);\n  puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20);\n  iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc;\n  (*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24);\n  if (iVar12 != 0) {\n    if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a4118);\n  iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar2 + 5) = 0;\n  *(undefined1 *)((int)piVar2 + 0x15) = 0;\n  *(undefined1 *)((int)piVar2 + 0x16) = 0;\n  *(undefined1 *)((int)piVar2 + 0x17) = 0;\n  *(undefined1 *)(piVar2 + 6) = 0;\n  *(undefined1 *)((int)piVar2 + 0x19) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1b) = 0;\n  if (iVar12 == 0) {\n    iVar12 = -1;\n  }\n  pcVar16 = *(code **)(pcVar16 + 0x2a4050);\n  *piVar2 = iVar12;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0;\n  iVar12 = (*pcVar16)();\n  piVar2[5] = iVar12;\n  piVar2[6] = -0x54535255;\n  return piVar2;\n}" primitive_type (pointer_declarator "* GetValueFromLinkedList(LinkedListInfo *list_info,size_t index)" * (function_declarator "GetValueFromLinkedList(LinkedListInfo *list_info,size_t index)" identifier (parameter_list "(LinkedListInfo *list_info,size_t index)" ( (parameter_declaration "LinkedListInfo *list_info" type_identifier (pointer_declarator "*list_info" * identifier)) , (parameter_declaration "size_t index" primitive_type identifier) )))) (compound_statement "{\n  size_t sVar1;\n  int *piVar2;\n  undefined *puVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  ElementInfo *pEVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  int iVar13;\n  void *pvVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  code *pcVar18;\n  \n  if (list_info == (LinkedListInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }\n  iVar12 = 0x18b;\n  puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar8 != (undefined4 *)0x0) {\n    if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);\n  }\n  puVar8 = (undefined4 *)&DAT_000001c8;\n  pcVar17 = *(code **)(puVar15 + 0x2a4594);\n  iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0;\n  pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20);\n  piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04);\n  (*pcVar17)();\n  if (piVar2 != (int *)0x0) {\n    if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }\n    (**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a43b8);\n  iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  if (iVar12 == 0) {\n    (**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);\n  }\n  else if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }\n  pcVar17 = *(code **)(pcVar16 + 0x2a41a0);\n  puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20);\n  iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc;\n  (*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24);\n  if (iVar12 != 0) {\n    if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  }\n  pcVar16 = *(code **)(pcVar17 + 0x2a4118);\n  iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04;\n  (*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar2 + 5) = 0;\n  *(undefined1 *)((int)piVar2 + 0x15) = 0;\n  *(undefined1 *)((int)piVar2 + 0x16) = 0;\n  *(undefined1 *)((int)piVar2 + 0x17) = 0;\n  *(undefined1 *)(piVar2 + 6) = 0;\n  *(undefined1 *)((int)piVar2 + 0x19) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar2 + 0x1b) = 0;\n  if (iVar12 == 0) {\n    iVar12 = -1;\n  }\n  pcVar16 = *(code **)(pcVar16 + 0x2a4050);\n  *piVar2 = iVar12;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0;\n  iVar12 = (*pcVar16)();\n  piVar2[5] = iVar12;\n  piVar2[6] = -0x54535255;\n  return piVar2;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "ElementInfo *pEVar6;" type_identifier (pointer_declarator "*pEVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "void *pvVar14;" primitive_type (pointer_declarator "*pvVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (if_statement "if (list_info == (LinkedListInfo *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }" if (parenthesized_expression "(list_info == (LinkedListInfo *)0x0)" ( (binary_expression "list_info == (LinkedListInfo *)0x0" identifier == (cast_expression "(LinkedListInfo *)0x0" ( (type_descriptor "LinkedListInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b04" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x49d8" identifier + number_literal) ))) ;) }) (else_clause "else if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }" else (if_statement "if (list_info->signature == 0xabacadab) {\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }" if (parenthesized_expression "(list_info->signature == 0xabacadab)" ( (binary_expression "list_info->signature == 0xabacadab" (field_expression "list_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (list_info->elements <= index) {\n      return (void *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);\n    if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }\n    pvVar14 = list_info->head->value;\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n    return pvVar14;\n  }" { (if_statement "if (list_info->elements <= index) {\n      return (void *)0x0;\n    }" if (parenthesized_expression "(list_info->elements <= index)" ( (binary_expression "list_info->elements <= index" (field_expression "list_info->elements" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n      return (void *)0x0;\n    }" { (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore);" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(list_info->semaphore)" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(list_info->semaphore)" ( (field_expression "list_info->semaphore" identifier -> field_identifier) ))) ;) (if_statement "if (index != 0) {\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }" if (parenthesized_expression "(index != 0)" ( (binary_expression "index != 0" identifier != number_literal) )) (compound_statement "{\n      if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }\n      pvVar14 = list_info->tail->value;\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);\n      return pvVar14;\n    }" { (if_statement "if (list_info->elements - 1 != index) {\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }" if (parenthesized_expression "(list_info->elements - 1 != index)" ( (binary_expression "list_info->elements - 1 != index" (binary_expression "list_info->elements - 1" (field_expression "list_info->elements" identifier -> field_identifier) - number_literal) != identifier) )) (compound_statement "{\n        pEVar6 = list_info->head;\n        if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }\n        pvVar14 = pEVar6->value;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return pvVar14;\n      }" { (expression_statement "pEVar6 = list_info->head;" (assignment_expression "pEVar6 = list_info->head" identifier = (field_expression "list_info->head" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)index) {\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }" if (parenthesized_expression "(0 < (int)index)" ( (binary_expression "0 < (int)index" number_literal < (cast_expression "(int)index" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          sVar1 = 0;\n          do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);\n        }" { (expression_statement "sVar1 = 0;" (assignment_expression "sVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          } while (sVar1 != index);" do (compound_statement "{\n            sVar1 = sVar1 + 1;\n            pEVar6 = pEVar6->next;\n          }" { (expression_statement "sVar1 = sVar1 + 1;" (assignment_expression "sVar1 = sVar1 + 1" identifier = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) (expression_statement "pEVar6 = pEVar6->next;" (assignment_expression "pEVar6 = pEVar6->next" identifier = (field_expression "pEVar6->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(sVar1 != index)" ( (binary_expression "sVar1 != index" identifier != identifier) )) ;) })) (expression_statement "pvVar14 = pEVar6->value;" (assignment_expression "pvVar14 = pEVar6->value" identifier = (field_expression "pEVar6->value" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)();" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)()" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return pvVar14;" return identifier ;) })) (expression_statement "pvVar14 = list_info->tail->value;" (assignment_expression "pvVar14 = list_info->tail->value" identifier = (field_expression "list_info->tail->value" (field_expression "list_info->tail" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore)" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(list_info->semaphore)" ( (field_expression "list_info->semaphore" identifier -> field_identifier) ))) ;) (return_statement "return pvVar14;" return identifier ;) })) (expression_statement "pvVar14 = list_info->head->value;" (assignment_expression "pvVar14 = list_info->head->value" identifier = (field_expression "list_info->head->value" (field_expression "list_info->head" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore);" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(list_info->semaphore)" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(list_info->semaphore)" ( (field_expression "list_info->semaphore" identifier -> field_identifier) ))) ;) (return_statement "return pvVar14;" return identifier ;) })))) (expression_statement "iVar12 = 0x18b;" (assignment_expression "iVar12 = 0x18b" identifier = number_literal) ;) (expression_statement "puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20;" (assignment_expression "puVar11 = PTR_s_t_to_left_003a88e4 + -0x4b20" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);" (assignment_expression "puVar8 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4adc" identifier + number_literal) )))) ;) (expression_statement "puVar15 = PTR___assert_fail_003a9608;" (assignment_expression "puVar15 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)();" (call_expression "(*(code *)PTR___assert_fail_003a9608)()" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n    if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);\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    if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);\n  }" { (if_statement "if (puVar8[6] == -0x54535255) {\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }" if (parenthesized_expression "(puVar8[6] == -0x54535255)" ( (binary_expression "puVar8[6] == -0x54535255" (subscript_expression "puVar8[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }" { (if_statement "if ((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)) {\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }" if (parenthesized_expression "((((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0))" ( (binary_expression "(((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)) &&\n         (piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)" (parenthesized_expression "(((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8))" ( (binary_expression "((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])) &&\n          ((undefined *)puVar8[1] != (undefined *)*puVar8)" (parenthesized_expression "((iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1]))" ( (binary_expression "(iVar12 != 0) && (puVar11 <= (undefined *)puVar8[1])" (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar11 <= (undefined *)puVar8[1])" ( (binary_expression "puVar11 <= (undefined *)puVar8[1]" identifier <= (cast_expression "(undefined *)puVar8[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ))) )) && (parenthesized_expression "((undefined *)puVar8[1] != (undefined *)*puVar8)" ( (binary_expression "(undefined *)puVar8[1] != (undefined *)*puVar8" (cast_expression "(undefined *)puVar8[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ])) != (cast_expression "(undefined *)*puVar8" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ))) )) && (parenthesized_expression "(piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8), piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x2a4868))(8)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x2a4868))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x2a4868))(8)" (parenthesized_expression "(**(code **)(puVar15 + 0x2a4868))" ( (pointer_expression "**(code **)(puVar15 + 0x2a4868)" * (pointer_expression "*(code **)(puVar15 + 0x2a4868)" * (cast_expression "(code **)(puVar15 + 0x2a4868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x2a4868)" ( (binary_expression "puVar15 + 0x2a4868" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        pcVar16 = *(code **)(puVar15 + 0x2a4674);\n        uVar9 = puVar8[5];\n        *piVar2 = iVar12;\n        piVar2[1] = 0;\n        (*pcVar16)(uVar9);\n        puVar3 = (undefined *)puVar8[1];\n        if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }\n        pcVar16 = *(code **)(puVar15 + 0x2a430c);\n        puVar8[1] = puVar3 + 1;\n        (*pcVar16)(puVar8[5]);\n        return (void *)0x1;\n      }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x2a4674);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x2a4674)" identifier = (pointer_expression "*(code **)(puVar15 + 0x2a4674)" * (cast_expression "(code **)(puVar15 + 0x2a4674)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x2a4674)" ( (binary_expression "puVar15 + 0x2a4674" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = puVar8[5];" (assignment_expression "uVar9 = puVar8[5]" identifier = (subscript_expression "puVar8[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = iVar12;" (assignment_expression "*piVar2 = iVar12" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar16)(uVar9);" (call_expression "(*pcVar16)(uVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "puVar3 = (undefined *)puVar8[1];" (assignment_expression "puVar3 = (undefined *)puVar8[1]" identifier = (cast_expression "(undefined *)puVar8[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 == (undefined *)0x0) {\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }\n        else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }" if (parenthesized_expression "(puVar3 == (undefined *)0x0)" ( (binary_expression "puVar3 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }\n          puVar8[2] = piVar2;\n          puVar8[3] = piVar2;\n        }" { (if_statement "if (puVar8[4] == 0) {\n            puVar8[4] = piVar2;\n          }" if (parenthesized_expression "(puVar8[4] == 0)" ( (binary_expression "puVar8[4] == 0" (subscript_expression "puVar8[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            puVar8[4] = piVar2;\n          }" { (expression_statement "puVar8[4] = piVar2;" (assignment_expression "puVar8[4] = piVar2" (subscript_expression "puVar8[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "puVar8[2] = piVar2;" (assignment_expression "puVar8[2] = piVar2" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[3] = piVar2;" (assignment_expression "puVar8[3] = piVar2" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }" else (compound_statement "{\n          iVar12 = puVar8[4];\n          if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }\n        }" { (expression_statement "iVar12 = puVar8[4];" (assignment_expression "iVar12 = puVar8[4]" identifier = (subscript_expression "puVar8[4]" identifier [ number_literal ])) ;) (if_statement "if (puVar11 == (undefined *)0x0) {\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }\n          else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }" if (parenthesized_expression "(puVar11 == (undefined *)0x0)" ( (binary_expression "puVar11 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = puVar8[2];\n            if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n          }" { (expression_statement "iVar7 = puVar8[2];" (assignment_expression "iVar7 = puVar8[2]" identifier = (subscript_expression "puVar8[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar7 == iVar12) {\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }\n            else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }" if (parenthesized_expression "(iVar7 == iVar12)" ( (binary_expression "iVar7 == iVar12" identifier == identifier) )) (compound_statement "{\n              puVar8[4] = piVar2;\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }" { (expression_statement "puVar8[4] = piVar2;" (assignment_expression "puVar8[4] = piVar2" (subscript_expression "puVar8[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[1] = iVar7;" (assignment_expression "piVar2[1] = iVar7" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[2] = piVar2;" (assignment_expression "puVar8[2] = piVar2" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }" else (compound_statement "{\n              piVar2[1] = iVar7;\n              puVar8[2] = piVar2;\n            }" { (expression_statement "piVar2[1] = iVar7;" (assignment_expression "piVar2[1] = iVar7" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[2] = piVar2;" (assignment_expression "puVar8[2] = piVar2" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }" else (if_statement "if (puVar3 == puVar11) {\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }\n          else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }" if (parenthesized_expression "(puVar3 == puVar11)" ( (binary_expression "puVar3 == puVar11" identifier == identifier) )) (compound_statement "{\n            if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }\n            *(int **)(puVar8[3] + 4) = piVar2;\n            puVar8[3] = piVar2;\n          }" { (if_statement "if (iVar12 == 0) {\n              puVar8[4] = piVar2;\n            }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n              puVar8[4] = piVar2;\n            }" { (expression_statement "puVar8[4] = piVar2;" (assignment_expression "puVar8[4] = piVar2" (subscript_expression "puVar8[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(int **)(puVar8[3] + 4) = piVar2;" (assignment_expression "*(int **)(puVar8[3] + 4) = piVar2" (pointer_expression "*(int **)(puVar8[3] + 4)" * (cast_expression "(int **)(puVar8[3] + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8[3] + 4)" ( (binary_expression "puVar8[3] + 4" (subscript_expression "puVar8[3]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "puVar8[3] = piVar2;" (assignment_expression "puVar8[3] = piVar2" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }" else (compound_statement "{\n            iVar7 = puVar8[2];\n            iVar13 = *(int *)(iVar7 + 4);\n            piVar2[1] = iVar13;\n            if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }\n            *(int *)(iVar7 + 4) = iVar13;\n            if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }\n          }" { (expression_statement "iVar7 = puVar8[2];" (assignment_expression "iVar7 = puVar8[2]" identifier = (subscript_expression "puVar8[2]" identifier [ number_literal ])) ;) (expression_statement "iVar13 = *(int *)(iVar7 + 4);" (assignment_expression "iVar13 = *(int *)(iVar7 + 4)" identifier = (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2[1] = iVar13;" (assignment_expression "piVar2[1] = iVar13" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (1 < (int)puVar11) {\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }" if (parenthesized_expression "(1 < (int)puVar11)" ( (binary_expression "1 < (int)puVar11" number_literal < (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar10 = (undefined *)0x1;\n              do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);\n            }" { (expression_statement "puVar10 = (undefined *)0x1;" (assignment_expression "puVar10 = (undefined *)0x1" identifier = (cast_expression "(undefined *)0x1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              } while (puVar10 != puVar11);" do (compound_statement "{\n                iVar7 = *(int *)(iVar7 + 4);\n                puVar10 = puVar10 + 1;\n                iVar13 = *(int *)(iVar7 + 4);\n                piVar2[1] = iVar13;\n              }" { (expression_statement "iVar7 = *(int *)(iVar7 + 4);" (assignment_expression "iVar7 = *(int *)(iVar7 + 4)" identifier = (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *(int *)(iVar7 + 4);" (assignment_expression "iVar13 = *(int *)(iVar7 + 4)" identifier = (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2[1] = iVar13;" (assignment_expression "piVar2[1] = iVar13" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(puVar10 != puVar11)" ( (binary_expression "puVar10 != puVar11" identifier != identifier) )) ;) })) (expression_statement "*(int *)(iVar7 + 4) = iVar13;" (assignment_expression "*(int *)(iVar7 + 4) = iVar13" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar13 + 4) == iVar12) {\n              puVar8[4] = iVar13;\n            }" if (parenthesized_expression "(*(int *)(iVar13 + 4) == iVar12)" ( (binary_expression "*(int *)(iVar13 + 4) == iVar12" (pointer_expression "*(int *)(iVar13 + 4)" * (cast_expression "(int *)(iVar13 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n              puVar8[4] = iVar13;\n            }" { (expression_statement "puVar8[4] = iVar13;" (assignment_expression "puVar8[4] = iVar13" (subscript_expression "puVar8[4]" identifier [ number_literal ]) = identifier) ;) })) }))))) }))) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x2a430c);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x2a430c)" identifier = (pointer_expression "*(code **)(puVar15 + 0x2a430c)" * (cast_expression "(code **)(puVar15 + 0x2a430c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x2a430c)" ( (binary_expression "puVar15 + 0x2a430c" identifier + number_literal) ))))) ;) (expression_statement "puVar8[1] = puVar3 + 1;" (assignment_expression "puVar8[1] = puVar3 + 1" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar16)(puVar8[5]);" (call_expression "(*pcVar16)(puVar8[5])" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(puVar8[5])" ( (subscript_expression "puVar8[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (void *)0x1;" return (cast_expression "(void *)0x1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0);" (call_expression "(**(code **)(puVar15 + 0x2a4594))\n              (*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0)" (parenthesized_expression "(**(code **)(puVar15 + 0x2a4594))" ( (pointer_expression "**(code **)(puVar15 + 0x2a4594)" * (pointer_expression "*(code **)(puVar15 + 0x2a4594)" * (cast_expression "(code **)(puVar15 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x2a4594)" ( (binary_expression "puVar15 + 0x2a4594" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x2a3870) + -0x4adc,*(int *)(puVar15 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar15 + 0x2a3870) + -0x49f0)" ( (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x4adc" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "puVar8 = (undefined4 *)&DAT_000001c8;" (assignment_expression "puVar8 = (undefined4 *)&DAT_000001c8" identifier = (cast_expression "(undefined4 *)&DAT_000001c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_000001c8" & identifier))) ;) (expression_statement "pcVar17 = *(code **)(puVar15 + 0x2a4594);" (assignment_expression "pcVar17 = *(code **)(puVar15 + 0x2a4594)" identifier = (pointer_expression "*(code **)(puVar15 + 0x2a4594)" * (cast_expression "(code **)(puVar15 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x2a4594)" ( (binary_expression "puVar15 + 0x2a4594" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0;" (assignment_expression "iVar12 = *(int *)(puVar15 + 0x2a3870) + -0x49f0" identifier = (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20);" (assignment_expression "pcVar16 = (code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20)" identifier = (cast_expression "(code *)(*(int *)(puVar15 + 0x2a3870) + -0x4b20)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x2a3870) + -0x4b20)" ( (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04)" identifier = (cast_expression "(int *)(*(int *)(puVar15 + 0x2a3870) + -0x4b04)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x2a3870) + -0x4b04)" ( (binary_expression "*(int *)(puVar15 + 0x2a3870) + -0x4b04" (pointer_expression "*(int *)(puVar15 + 0x2a3870)" * (cast_expression "(int *)(puVar15 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x2a3870)" ( (binary_expression "puVar15 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }\n    (**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }\n    (**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);\n  }" { (if_statement "if (piVar2[6] == -0x54535255) {\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }" if (parenthesized_expression "(piVar2[6] == -0x54535255)" ( (binary_expression "piVar2[6] == -0x54535255" (subscript_expression "piVar2[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }\n      pcVar18 = *(code **)(pcVar17 + 0x2a4498);\n      iVar13 = 0;\n      iVar7 = piVar2[5];\n      *piVar4 = iVar12;\n      (*pcVar18)(iVar7);\n      puVar5 = (undefined4 *)piVar2[2];\n      piVar4[1] = (int)puVar5;\n      if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }\nLAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);\n      piVar2[1] = iVar12 + 1;\n      (*pcVar16)(piVar2[5]);\n      return (void *)0x1;\n    }" { (if_statement "if (((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))) {\n        return (void *)0x0;\n      }" if (parenthesized_expression "(((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0))))" ( (binary_expression "((pcVar16 == (code *)0x0) || (iVar12 == 0)) ||\n         ((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))" (parenthesized_expression "((pcVar16 == (code *)0x0) || (iVar12 == 0))" ( (binary_expression "(pcVar16 == (code *)0x0) || (iVar12 == 0)" (parenthesized_expression "(pcVar16 == (code *)0x0)" ( (binary_expression "pcVar16 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)))" ( (parenthesized_expression "(piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0))" ( (binary_expression "piVar2[1] == *piVar2 ||\n          (piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)" (binary_expression "piVar2[1] == *piVar2" (subscript_expression "piVar2[1]" identifier [ number_literal ]) == (pointer_expression "*piVar2" * identifier)) || (parenthesized_expression "(piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0)" ( (comma_expression "piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)(**(code **)(pcVar17 + 0x2a468c))(8)" identifier = (cast_expression "(int *)(**(code **)(pcVar17 + 0x2a468c))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar17 + 0x2a468c))(8)" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a468c))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a468c)" * (pointer_expression "*(code **)(pcVar17 + 0x2a468c)" * (cast_expression "(code **)(pcVar17 + 0x2a468c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a468c)" ( (binary_expression "pcVar17 + 0x2a468c" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n        return (void *)0x0;\n      }" { (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar18 = *(code **)(pcVar17 + 0x2a4498);" (assignment_expression "pcVar18 = *(code **)(pcVar17 + 0x2a4498)" identifier = (pointer_expression "*(code **)(pcVar17 + 0x2a4498)" * (cast_expression "(code **)(pcVar17 + 0x2a4498)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a4498)" ( (binary_expression "pcVar17 + 0x2a4498" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = piVar2[5];" (assignment_expression "iVar7 = piVar2[5]" identifier = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar4 = iVar12;" (assignment_expression "*piVar4 = iVar12" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "(*pcVar18)(iVar7);" (call_expression "(*pcVar18)(iVar7)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "puVar5 = (undefined4 *)piVar2[2];" (assignment_expression "puVar5 = (undefined4 *)piVar2[2]" identifier = (cast_expression "(undefined4 *)piVar2[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "piVar4[1] = (int)puVar5;" (assignment_expression "piVar4[1] = (int)puVar5" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }\n      else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar12 = piVar2[1];\n        piVar2[2] = (int)piVar4;\nLAB_00105410:\n        piVar2[3] = (int)piVar4;\n      }" { (expression_statement "iVar12 = piVar2[1];" (assignment_expression "iVar12 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = (int)piVar4;" (assignment_expression "piVar2[2] = (int)piVar4" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_00105410:\n        piVar2[3] = (int)piVar4;" statement_identifier : (expression_statement "piVar2[3] = (int)piVar4;" (assignment_expression "piVar2[3] = (int)piVar4" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }) (else_clause "else {\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }" else (compound_statement "{\n        do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);\n        iVar12 = piVar2[1];\n        *(int **)(iVar13 + 4) = piVar4;\nLAB_001053bc:\n        piVar2[3] = (int)piVar4;\n      }" { (do_statement "do {\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        } while (puVar5 != (undefined4 *)0x0);" do (compound_statement "{\n          iVar7 = (*pcVar16)(iVar12,*puVar5);\n          if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }\n          if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }\n          iVar13 = piVar4[1];\n          puVar5 = *(undefined4 **)(iVar13 + 4);\n          piVar4[1] = (int)puVar5;\n        }" { (expression_statement "iVar7 = (*pcVar16)(iVar12,*puVar5);" (assignment_expression "iVar7 = (*pcVar16)(iVar12,*puVar5)" identifier = (call_expression "(*pcVar16)(iVar12,*puVar5)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar12,*puVar5)" ( identifier , (pointer_expression "*puVar5" * identifier) )))) ;) (if_statement "if (iVar7 < 0) {\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n            iVar12 = piVar2[1];\nLAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar7 = piVar4[1];\n            piVar2[2] = (int)piVar4;\n            if (iVar7 != 0) goto LAB_00105350;\n            piVar2[2] = (int)piVar4;\n            goto LAB_00105410;\n          }" { (expression_statement "iVar12 = piVar2[1];" (assignment_expression "iVar12 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00105338:\n            if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" statement_identifier : (if_statement "if (iVar13 != 0) {\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n              *(int **)(iVar13 + 4) = piVar4;\n              if (piVar4[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" { (expression_statement "*(int **)(iVar13 + 4) = piVar4;" (assignment_expression "*(int **)(iVar13 + 4) = piVar4" (pointer_expression "*(int **)(iVar13 + 4)" * (cast_expression "(int **)(iVar13 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar4[1] != 0) goto LAB_00105350;" if (parenthesized_expression "(piVar4[1] != 0)" ( (binary_expression "piVar4[1] != 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (goto_statement "goto LAB_001053bc;" goto statement_identifier ;) }))) (expression_statement "iVar7 = piVar4[1];" (assignment_expression "iVar7 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = (int)piVar4;" (assignment_expression "piVar2[2] = (int)piVar4" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar7 != 0) goto LAB_00105350;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (expression_statement "piVar2[2] = (int)piVar4;" (assignment_expression "piVar2[2] = (int)piVar4" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00105410;" goto statement_identifier ;) })) (if_statement "if ((puVar8 != (undefined4 *)0x0) && (iVar7 == 0)) {\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }" if (parenthesized_expression "((puVar8 != (undefined4 *)0x0) && (iVar7 == 0))" ( (binary_expression "(puVar8 != (undefined4 *)0x0) && (iVar7 == 0)" (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)) )) && (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            puVar5 = (undefined4 *)piVar4[1];\n            *puVar8 = *puVar5;\n            piVar4[1] = puVar5[1];\n            if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }\n            iVar12 = piVar2[1] + -1;\n            piVar2[1] = iVar12;\n            goto LAB_00105338;\n          }" { (expression_statement "puVar5 = (undefined4 *)piVar4[1];" (assignment_expression "puVar5 = (undefined4 *)piVar4[1]" identifier = (cast_expression "(undefined4 *)piVar4[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "*puVar8 = *puVar5;" (assignment_expression "*puVar8 = *puVar5" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "piVar4[1] = puVar5[1];" (assignment_expression "piVar4[1] = puVar5[1]" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar13 != 0) {\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));\n              *(undefined4 *)(iVar13 + 4) = uVar9;\n            }" { (expression_statement "uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4));" (assignment_expression "uVar9 = (**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4))" identifier = (call_expression "(**(code **)(pcVar17 + 0x2a3d70))(*(undefined4 *)(iVar13 + 4))" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a3d70))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a3d70)" * (pointer_expression "*(code **)(pcVar17 + 0x2a3d70)" * (cast_expression "(code **)(pcVar17 + 0x2a3d70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a3d70)" ( (binary_expression "pcVar17 + 0x2a3d70" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 4))" ( (pointer_expression "*(undefined4 *)(iVar13 + 4)" * (cast_expression "(undefined4 *)(iVar13 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar13 + 4) = uVar9;" (assignment_expression "*(undefined4 *)(iVar13 + 4) = uVar9" (pointer_expression "*(undefined4 *)(iVar13 + 4)" * (cast_expression "(undefined4 *)(iVar13 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar12 = piVar2[1] + -1;" (assignment_expression "iVar12 = piVar2[1] + -1" identifier = (binary_expression "piVar2[1] + -1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar2[1] = iVar12;" (assignment_expression "piVar2[1] = iVar12" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00105338;" goto statement_identifier ;) })) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar13 + 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar13 + 4)" identifier = (pointer_expression "*(undefined4 **)(iVar13 + 4)" * (cast_expression "(undefined4 **)(iVar13 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar4[1] = (int)puVar5;" (assignment_expression "piVar4[1] = (int)puVar5" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar12 = piVar2[1];" (assignment_expression "iVar12 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*(int **)(iVar13 + 4) = piVar4;" (assignment_expression "*(int **)(iVar13 + 4) = piVar4" (pointer_expression "*(int **)(iVar13 + 4)" * (cast_expression "(int **)(iVar13 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_001053bc:\n        piVar2[3] = (int)piVar4;" statement_identifier : (expression_statement "piVar2[3] = (int)piVar4;" (assignment_expression "piVar2[3] = (int)piVar4" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }))) (labeled_statement "LAB_00105350:\n      pcVar16 = *(code **)(pcVar17 + 0x2a4130);" statement_identifier : (expression_statement "pcVar16 = *(code **)(pcVar17 + 0x2a4130);" (assignment_expression "pcVar16 = *(code **)(pcVar17 + 0x2a4130)" identifier = (pointer_expression "*(code **)(pcVar17 + 0x2a4130)" * (cast_expression "(code **)(pcVar17 + 0x2a4130)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a4130)" ( (binary_expression "pcVar17 + 0x2a4130" identifier + number_literal) ))))) ;)) (expression_statement "piVar2[1] = iVar12 + 1;" (assignment_expression "piVar2[1] = iVar12 + 1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar16)(piVar2[5]);" (call_expression "(*pcVar16)(piVar2[5])" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(piVar2[5])" ( (subscript_expression "piVar2[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (void *)0x1;" return (cast_expression "(void *)0x1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10);" (call_expression "(**(code **)(pcVar17 + 0x2a43b8))\n              (*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a43b8))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a43b8)" * (pointer_expression "*(code **)(pcVar17 + 0x2a43b8)" * (cast_expression "(code **)(pcVar17 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a43b8)" ( (binary_expression "pcVar17 + 0x2a43b8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x2a3694) + -0x4adc,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar17 + 0x2a3694) + -0x4a10)" ( (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4adc" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar16 = *(code **)(pcVar17 + 0x2a43b8);" (assignment_expression "pcVar16 = *(code **)(pcVar17 + 0x2a43b8)" identifier = (pointer_expression "*(code **)(pcVar17 + 0x2a43b8)" * (cast_expression "(code **)(pcVar17 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a43b8)" ( (binary_expression "pcVar17 + 0x2a43b8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04;" (assignment_expression "iVar12 = *(int *)(pcVar17 + 0x2a3694) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4b04" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10);" (call_expression "(*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar12,*(int *)(pcVar17 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar17 + 0x2a3694) + -0x4a10)" ( identifier , (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar17 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar17 + 0x2a3694)" * (cast_expression "(int *)(pcVar17 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a3694)" ( (binary_expression "pcVar17 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar12 == 0) {\n    (**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);\n  }\n  else if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);\n  }" { (expression_statement "(**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448);" (call_expression "(**(code **)(pcVar16 + 0x2a41a0))\n              (*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448)" (parenthesized_expression "(**(code **)(pcVar16 + 0x2a41a0))" ( (pointer_expression "**(code **)(pcVar16 + 0x2a41a0)" * (pointer_expression "*(code **)(pcVar16 + 0x2a41a0)" * (cast_expression "(code **)(pcVar16 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x2a41a0)" ( (binary_expression "pcVar16 + 0x2a41a0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar16 + 0x2a347c) + -0x4b04,*(int *)(pcVar16 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar16 + 0x2a347c) + -0x4a24,pcVar16 + 0x2ab448)" ( (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4b04" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "pcVar16 + 0x2ab448" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }" else (if_statement "if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }" if (parenthesized_expression "(*(int *)(iVar12 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar12 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar12 + 0x18)" * (cast_expression "(int *)(iVar12 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x18)" ( (binary_expression "iVar12 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return (void *)(uint)(*(int *)(iVar12 + 4) == 0);\n  }" { (return_statement "return (void *)(uint)(*(int *)(iVar12 + 4) == 0);" return (cast_expression "(void *)(uint)(*(int *)(iVar12 + 4) == 0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(*(int *)(iVar12 + 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar12 + 4) == 0)" ( (binary_expression "*(int *)(iVar12 + 4) == 0" (pointer_expression "*(int *)(iVar12 + 4)" * (cast_expression "(int *)(iVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) == number_literal) )))) ;) })))) (expression_statement "pcVar17 = *(code **)(pcVar16 + 0x2a41a0);" (assignment_expression "pcVar17 = *(code **)(pcVar16 + 0x2a41a0)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x2a41a0)" * (cast_expression "(code **)(pcVar16 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x2a41a0)" ( (binary_expression "pcVar16 + 0x2a41a0" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20);" (assignment_expression "puVar8 = (undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar16 + 0x2a347c) + -0x4b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar16 + 0x2a347c) + -0x4b20)" ( (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc;" (assignment_expression "iVar12 = *(int *)(pcVar16 + 0x2a347c) + -0x4adc" identifier = (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4adc" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24);" (call_expression "(*pcVar17)(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar12,puVar8,0x27d,*(int *)(pcVar16 + 0x2a347c) + -0x4a24)" ( identifier , identifier , number_literal , (binary_expression "*(int *)(pcVar16 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar16 + 0x2a347c)" * (cast_expression "(int *)(pcVar16 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x2a347c)" ( (binary_expression "pcVar16 + 0x2a347c" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar12 != 0) {\n    if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }\n    (**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);\n  }" { (if_statement "if (*(int *)(iVar12 + 0x18) == -0x54535255) {\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }" if (parenthesized_expression "(*(int *)(iVar12 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar12 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar12 + 0x18)" * (cast_expression "(int *)(iVar12 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x18)" ( (binary_expression "iVar12 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }\n      return (void *)0x0;\n    }" { (if_statement "if (puVar8 != (undefined4 *)0x0) {\n        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\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        (**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));\n        for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }\n        (**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));\n        return (void *)0x1;\n      }" { (expression_statement "(**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14));" (call_expression "(**(code **)(pcVar17 + 0x2a41f8))(*(undefined4 *)(iVar12 + 0x14))" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a41f8))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a41f8)" * (pointer_expression "*(code **)(pcVar17 + 0x2a41f8)" * (cast_expression "(code **)(pcVar17 + 0x2a41f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a41f8)" ( (binary_expression "pcVar17 + 0x2a41f8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar12 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar12 + 0x14)" * (cast_expression "(undefined4 *)(iVar12 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) ))) ;) (for_statement "for (puVar5 = *(undefined4 **)(iVar12 + 8); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)puVar5[1]) {\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }" for ( (assignment_expression "puVar5 = *(undefined4 **)(iVar12 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar12 + 8)" * (cast_expression "(undefined4 **)(iVar12 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) ))))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)puVar5[1]" identifier = (cast_expression "(undefined4 *)puVar5[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ) (compound_statement "{\n          *puVar8 = *puVar5;\n          puVar8 = puVar8 + 1;\n        }" { (expression_statement "*puVar8 = *puVar5;" (assignment_expression "*puVar8 = *puVar5" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14));" (call_expression "(**(code **)(pcVar17 + 0x2a3e90))(*(undefined4 *)(iVar12 + 0x14))" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a3e90))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a3e90)" * (pointer_expression "*(code **)(pcVar17 + 0x2a3e90)" * (cast_expression "(code **)(pcVar17 + 0x2a3e90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a3e90)" ( (binary_expression "pcVar17 + 0x2a3e90" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar12 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar12 + 0x14)" * (cast_expression "(undefined4 *)(iVar12 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return (void *)0x1;" return (cast_expression "(void *)0x1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000);" (call_expression "(**(code **)(pcVar17 + 0x2a4118))\n              (*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000)" (parenthesized_expression "(**(code **)(pcVar17 + 0x2a4118))" ( (pointer_expression "**(code **)(pcVar17 + 0x2a4118)" * (pointer_expression "*(code **)(pcVar17 + 0x2a4118)" * (cast_expression "(code **)(pcVar17 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a4118)" ( (binary_expression "pcVar17 + 0x2a4118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x2a33f4) + -0x4adc,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar17 + 0x2a33f4) + -19000)" ( (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -0x4adc" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar16 = *(code **)(pcVar17 + 0x2a4118);" (assignment_expression "pcVar16 = *(code **)(pcVar17 + 0x2a4118)" identifier = (pointer_expression "*(code **)(pcVar17 + 0x2a4118)" * (cast_expression "(code **)(pcVar17 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x2a4118)" ( (binary_expression "pcVar17 + 0x2a4118" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04;" (assignment_expression "iVar12 = *(int *)(pcVar17 + 0x2a33f4) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -0x4b04" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000);" (call_expression "(*pcVar16)(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar12,*(int *)(pcVar17 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar17 + 0x2a33f4) + -19000)" ( identifier , (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar17 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar17 + 0x2a33f4)" * (cast_expression "(int *)(pcVar17 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x2a33f4)" ( (binary_expression "pcVar17 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c);" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c)" identifier = (cast_expression "(int *)(**(code **)(pcVar16 + 0x2a3d78))(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar16 + 0x2a3d78))(0x1c)" (parenthesized_expression "(**(code **)(pcVar16 + 0x2a3d78))" ( (pointer_expression "**(code **)(pcVar16 + 0x2a3d78)" * (pointer_expression "*(code **)(pcVar16 + 0x2a3d78)" * (cast_expression "(code **)(pcVar16 + 0x2a3d78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x2a3d78)" ( (binary_expression "pcVar16 + 0x2a3d78" identifier + number_literal) ))))) )) (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)(piVar2 + 5) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 5) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 5)" * (cast_expression "(undefined1 *)(piVar2 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 5)" ( (binary_expression "piVar2 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x15) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x15) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x15)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x15)" ( (binary_expression "(int)piVar2 + 0x15" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x16) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x16) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x16)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x16)" ( (binary_expression "(int)piVar2 + 0x16" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x17)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x17)" ( (binary_expression "(int)piVar2 + 0x17" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 6) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 6) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 6)" * (cast_expression "(undefined1 *)(piVar2 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 6)" ( (binary_expression "piVar2 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x19) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x19) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x19)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x19)" ( (binary_expression "(int)piVar2 + 0x19" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x1a) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x1a) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x1a)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x1a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x1a)" ( (binary_expression "(int)piVar2 + 0x1a" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x1b) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x1b)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x1b)" ( (binary_expression "(int)piVar2 + 0x1b" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar12 == 0) {\n    iVar12 = -1;\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar12 = -1;\n  }" { (expression_statement "iVar12 = -1;" (assignment_expression "iVar12 = -1" identifier = number_literal) ;) })) (expression_statement "pcVar16 = *(code **)(pcVar16 + 0x2a4050);" (assignment_expression "pcVar16 = *(code **)(pcVar16 + 0x2a4050)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x2a4050)" * (cast_expression "(code **)(pcVar16 + 0x2a4050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x2a4050)" ( (binary_expression "pcVar16 + 0x2a4050" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = iVar12;" (assignment_expression "*piVar2 = iVar12" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar12 = (*pcVar16)();" (assignment_expression "iVar12 = (*pcVar16)()" identifier = (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "piVar2[5] = iVar12;" (assignment_expression "piVar2[5] = iVar12" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[6] = -0x54535255;" (assignment_expression "piVar2[6] = -0x54535255" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "int * GetValueFromLinkedList(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}\n\n" (function_definition "int * GetValueFromLinkedList(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" primitive_type (pointer_declarator "* GetValueFromLinkedList(int param_1,uint param_2)" * (function_declarator "GetValueFromLinkedList(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * 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 "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b04" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x49d8" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" else (if_statement "if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x18) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" { (if_statement "if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 4) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 4) <= param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      return (int *)0x0;\n    }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" { (if_statement "if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 4) - 1U != param_2)" ( (binary_expression "*(int *)(param_1 + 4) - 1U != param_2" (binary_expression "*(int *)(param_1 + 4) - 1U" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) - number_literal) != identifier) )) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" { (expression_statement "puVar5 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);" do (compound_statement "{\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          }" { (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)puVar5[1];" (assignment_expression "puVar5 = (undefined4 *)puVar5[1]" identifier = (cast_expression "(undefined4 *)puVar5[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(uVar1 != param_2)" ( (binary_expression "uVar1 != param_2" identifier != identifier) )) ;) })) (expression_statement "piVar12 = (int *)*puVar5;" (assignment_expression "piVar12 = (int *)*puVar5" identifier = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)();" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)()" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return piVar12;" return identifier ;) })) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc)" identifier = (cast_expression "(int *)**(undefined4 **)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_1 + 0xc)" * (pointer_expression "*(undefined4 **)(param_1 + 0xc)" * (cast_expression "(undefined4 **)(param_1 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return piVar12;" return identifier ;) })) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 8);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 8)" identifier = (cast_expression "(int *)**(undefined4 **)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_1 + 8)" * (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))))) ;) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return piVar12;" return identifier ;) })))) (expression_statement "iVar10 = 0x18b;" (assignment_expression "iVar10 = 0x18b" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;" (assignment_expression "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);" (assignment_expression "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" identifier = (cast_expression "(undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + -0x4adc)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4adc" identifier + number_literal) )))) ;) (expression_statement "puVar13 = PTR___assert_fail_003a9608;" (assignment_expression "puVar13 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)();" (call_expression "(*(code *)PTR___assert_fail_003a9608)()" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" { (if_statement "if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" if (parenthesized_expression "(puVar5[6] == -0x54535255)" ( (binary_expression "puVar5[6] == -0x54535255" (subscript_expression "puVar5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" { (if_statement "if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" if (parenthesized_expression "((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0))" ( (binary_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" (parenthesized_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5))" ( (binary_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)" (parenthesized_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1]))" ( (binary_expression "(iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])" (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar9 <= (undefined *)puVar5[1])" ( (binary_expression "puVar9 <= (undefined *)puVar5[1]" identifier <= (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ))) )) && (parenthesized_expression "((undefined *)puVar5[1] != (undefined *)*puVar5)" ( (binary_expression "(undefined *)puVar5[1] != (undefined *)*puVar5" (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) != (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ))) )) && (parenthesized_expression "(piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" ( (comma_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0" (assignment_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8)" identifier = (cast_expression "(int *)(**(code **)(puVar13 + 0x2a4868))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar13 + 0x2a4868))(8)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4868))" ( (pointer_expression "**(code **)(puVar13 + 0x2a4868)" * (pointer_expression "*(code **)(puVar13 + 0x2a4868)" * (cast_expression "(code **)(puVar13 + 0x2a4868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4868)" ( (binary_expression "puVar13 + 0x2a4868" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" { (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a4674);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a4674)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a4674)" * (cast_expression "(code **)(puVar13 + 0x2a4674)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4674)" ( (binary_expression "puVar13 + 0x2a4674" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = puVar5[5];" (assignment_expression "uVar7 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar14)(uVar7);" (call_expression "(*pcVar14)(uVar7)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "puVar2 = (undefined *)puVar5[1];" (assignment_expression "puVar2 = (undefined *)puVar5[1]" identifier = (cast_expression "(undefined *)puVar5[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }" { (if_statement "if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }" if (parenthesized_expression "(puVar5[4] == 0)" ( (binary_expression "puVar5[4] == 0" (subscript_expression "puVar5[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            puVar5[4] = piVar12;\n          }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" else (compound_statement "{\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" { (expression_statement "iVar10 = puVar5[4];" (assignment_expression "iVar10 = puVar5[4]" identifier = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (if_statement "if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" if (parenthesized_expression "(puVar9 == (undefined *)0x0)" ( (binary_expression "puVar9 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }" { (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" if (parenthesized_expression "(iVar6 == iVar10)" ( (binary_expression "iVar6 == iVar10" identifier == identifier) )) (compound_statement "{\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" else (compound_statement "{\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" { (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" else (if_statement "if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" if (parenthesized_expression "(puVar2 == puVar9)" ( (binary_expression "puVar2 == puVar9" identifier == identifier) )) (compound_statement "{\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }" { (if_statement "if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n              puVar5[4] = piVar12;\n            }" { (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(int **)(puVar5[3] + 4) = piVar12;" (assignment_expression "*(int **)(puVar5[3] + 4) = piVar12" (pointer_expression "*(int **)(puVar5[3] + 4)" * (cast_expression "(int **)(puVar5[3] + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5[3] + 4)" ( (binary_expression "puVar5[3] + 4" (subscript_expression "puVar5[3]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" else (compound_statement "{\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" { (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" if (parenthesized_expression "(1 < (int)puVar9)" ( (binary_expression "1 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" { (expression_statement "puVar8 = (undefined *)0x1;" (assignment_expression "puVar8 = (undefined *)0x1" identifier = (cast_expression "(undefined *)0x1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);" do (compound_statement "{\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              }" { (expression_statement "iVar6 = *(int *)(iVar6 + 4);" (assignment_expression "iVar6 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" identifier = (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(puVar8 != puVar9)" ( (binary_expression "puVar8 != puVar9" identifier != identifier) )) ;) })) (expression_statement "*(int *)(iVar6 + 4) = iVar11;" (assignment_expression "*(int *)(iVar6 + 4) = iVar11" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }" if (parenthesized_expression "(*(int *)(iVar11 + 4) == iVar10)" ( (binary_expression "*(int *)(iVar11 + 4) == iVar10" (pointer_expression "*(int *)(iVar11 + 4)" * (cast_expression "(int *)(iVar11 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n              puVar5[4] = iVar11;\n            }" { (expression_statement "puVar5[4] = iVar11;" (assignment_expression "puVar5[4] = iVar11" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) }))))) }))) (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a430c);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a430c)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a430c)" * (cast_expression "(code **)(puVar13 + 0x2a430c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a430c)" ( (binary_expression "puVar13 + 0x2a430c" identifier + number_literal) ))))) ;) (expression_statement "puVar5[1] = puVar2 + 1;" (assignment_expression "puVar5[1] = puVar2 + 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(puVar5[5]);" (call_expression "(*pcVar14)(puVar5[5])" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(puVar5[5])" ( (subscript_expression "puVar5[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);" (call_expression "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4594))" ( (pointer_expression "**(code **)(puVar13 + 0x2a4594)" * (pointer_expression "*(code **)(puVar13 + 0x2a4594)" * (cast_expression "(code **)(puVar13 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4594)" ( (binary_expression "puVar13 + 0x2a4594" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4adc" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "puVar5 = (undefined4 *)&DAT_000001c8;" (assignment_expression "puVar5 = (undefined4 *)&DAT_000001c8" identifier = (cast_expression "(undefined4 *)&DAT_000001c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_000001c8" & identifier))) ;) (expression_statement "pcVar15 = *(code **)(puVar13 + 0x2a4594);" (assignment_expression "pcVar15 = *(code **)(puVar13 + 0x2a4594)" identifier = (pointer_expression "*(code **)(puVar13 + 0x2a4594)" * (cast_expression "(code **)(puVar13 + 0x2a4594)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x2a4594)" ( (binary_expression "puVar13 + 0x2a4594" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;" (assignment_expression "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0" identifier = (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" identifier = (cast_expression "(code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);" (assignment_expression "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" identifier = (cast_expression "(int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" ( (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b04" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" * (cast_expression "(int *)(puVar13 + 0x2a3870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x2a3870)" ( (binary_expression "puVar13 + 0x2a3870" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" if (parenthesized_expression "(piVar12 != (int *)0x0)" ( (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" { (if_statement "if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" if (parenthesized_expression "(piVar12[6] == -0x54535255)" ( (binary_expression "piVar12[6] == -0x54535255" (subscript_expression "piVar12[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" { (if_statement "if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }" if (parenthesized_expression "(((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))))" ( (binary_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" (parenthesized_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0))" ( (binary_expression "(pcVar14 == (code *)0x0) || (iVar10 == 0)" (parenthesized_expression "(pcVar14 == (code *)0x0)" ( (binary_expression "pcVar14 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" ( (parenthesized_expression "(piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))" ( (binary_expression "piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" (binary_expression "piVar12[1] == *piVar12" (subscript_expression "piVar12[1]" identifier [ number_literal ]) == (pointer_expression "*piVar12" * identifier)) || (parenthesized_expression "(piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" ( (comma_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0" (assignment_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8)" identifier = (cast_expression "(int *)(**(code **)(pcVar15 + 0x2a468c))(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar15 + 0x2a468c))(8)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a468c))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a468c)" * (pointer_expression "*(code **)(pcVar15 + 0x2a468c)" * (cast_expression "(code **)(pcVar15 + 0x2a468c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a468c)" ( (binary_expression "pcVar15 + 0x2a468c" identifier + number_literal) ))))) )) (argument_list "(8)" ( number_literal ))))) , (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n        return (int *)0x0;\n      }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar16 = *(code **)(pcVar15 + 0x2a4498);" (assignment_expression "pcVar16 = *(code **)(pcVar15 + 0x2a4498)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4498)" * (cast_expression "(code **)(pcVar15 + 0x2a4498)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4498)" ( (binary_expression "pcVar15 + 0x2a4498" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = piVar12[5];" (assignment_expression "iVar6 = piVar12[5]" identifier = (subscript_expression "piVar12[5]" identifier [ number_literal ])) ;) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "puVar4 = (undefined4 *)piVar12[2];" (assignment_expression "puVar4 = (undefined4 *)piVar12[2]" identifier = (cast_expression "(undefined4 *)piVar12[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }" { (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_00105410:\n        piVar12[3] = (int)piVar3;" statement_identifier : (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }) (else_clause "else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" else (compound_statement "{\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" { (do_statement "do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);" do (compound_statement "{\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        }" { (expression_statement "iVar6 = (*pcVar14)(iVar10,*puVar4);" (assignment_expression "iVar6 = (*pcVar14)(iVar10,*puVar4)" identifier = (call_expression "(*pcVar14)(iVar10,*puVar4)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*puVar4)" ( identifier , (pointer_expression "*puVar4" * identifier) )))) ;) (if_statement "if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" { (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" statement_identifier : (if_statement "if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" { (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar3[1] != 0) goto LAB_00105350;" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (goto_statement "goto LAB_001053bc;" goto statement_identifier ;) }))) (expression_statement "iVar6 = piVar3[1];" (assignment_expression "iVar6 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar6 != 0) goto LAB_00105350;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00105350;" goto statement_identifier ;)) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00105410;" goto statement_identifier ;) })) (if_statement "if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" if (parenthesized_expression "((puVar5 != (undefined4 *)0x0) && (iVar6 == 0))" ( (binary_expression "(puVar5 != (undefined4 *)0x0) && (iVar6 == 0)" (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) )) (compound_statement "{\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" { (expression_statement "puVar4 = (undefined4 *)piVar3[1];" (assignment_expression "puVar4 = (undefined4 *)piVar3[1]" identifier = (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "piVar3[1] = puVar4[1];" (assignment_expression "piVar3[1] = puVar4[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" { (expression_statement "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));" (assignment_expression "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" identifier = (call_expression "(**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3d70))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a3d70)" * (pointer_expression "*(code **)(pcVar15 + 0x2a3d70)" * (cast_expression "(code **)(pcVar15 + 0x2a3d70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a3d70)" ( (binary_expression "pcVar15 + 0x2a3d70" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar11 + 4))" ( (pointer_expression "*(undefined4 *)(iVar11 + 4)" * (cast_expression "(undefined4 *)(iVar11 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar11 + 4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar11 + 4) = uVar7" (pointer_expression "*(undefined4 *)(iVar11 + 4)" * (cast_expression "(undefined4 *)(iVar11 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar10 = piVar12[1] + -1;" (assignment_expression "iVar10 = piVar12[1] + -1" identifier = (binary_expression "piVar12[1] + -1" (subscript_expression "piVar12[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar12[1] = iVar10;" (assignment_expression "piVar12[1] = iVar10" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00105338;" goto statement_identifier ;) })) (expression_statement "iVar11 = piVar3[1];" (assignment_expression "iVar11 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar11 + 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar11 + 4)" identifier = (pointer_expression "*(undefined4 **)(iVar11 + 4)" * (cast_expression "(undefined4 **)(iVar11 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_001053bc:\n        piVar12[3] = (int)piVar3;" statement_identifier : (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) }))) (labeled_statement "LAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);" statement_identifier : (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4130);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4130)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4130)" * (cast_expression "(code **)(pcVar15 + 0x2a4130)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4130)" ( (binary_expression "pcVar15 + 0x2a4130" identifier + number_literal) ))))) ;)) (expression_statement "piVar12[1] = iVar10 + 1;" (assignment_expression "piVar12[1] = iVar10 + 1" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar14)(piVar12[5]);" (call_expression "(*pcVar14)(piVar12[5])" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(piVar12[5])" ( (subscript_expression "piVar12[5]" identifier [ number_literal ]) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a43b8))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a43b8)" * (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" * (cast_expression "(code **)(pcVar15 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a43b8)" ( (binary_expression "pcVar15 + 0x2a43b8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" ( (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a43b8);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a43b8)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" * (cast_expression "(code **)(pcVar15 + 0x2a43b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a43b8)" ( (binary_expression "pcVar15 + 0x2a43b8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" ( identifier , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" * (cast_expression "(int *)(pcVar15 + 0x2a3694)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a3694)" ( (binary_expression "pcVar15 + 0x2a3694" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }" { (expression_statement "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);" (call_expression "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a41a0))" ( (pointer_expression "**(code **)(pcVar14 + 0x2a41a0)" * (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" * (cast_expression "(code **)(pcVar14 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a41a0)" ( (binary_expression "pcVar14 + 0x2a41a0" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" ( (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b04" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) , (binary_expression "pcVar14 + 0x2ab448" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" else (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" if (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" { (return_statement "return (int *)(uint)(*(int *)(iVar10 + 4) == 0);" return (cast_expression "(int *)(uint)(*(int *)(iVar10 + 4) == 0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(*(int *)(iVar10 + 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar10 + 4) == 0)" ( (binary_expression "*(int *)(iVar10 + 4) == 0" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) == number_literal) )))) ;) })))) (expression_statement "pcVar15 = *(code **)(pcVar14 + 0x2a41a0);" (assignment_expression "pcVar15 = *(code **)(pcVar14 + 0x2a41a0)" identifier = (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" * (cast_expression "(code **)(pcVar14 + 0x2a41a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a41a0)" ( (binary_expression "pcVar14 + 0x2a41a0" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" ( (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;" (assignment_expression "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc" identifier = (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4adc" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);" (call_expression "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" ( identifier , identifier , number_literal , (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" * (cast_expression "(int *)(pcVar14 + 0x2a347c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar14 + 0x2a347c)" ( (binary_expression "pcVar14 + 0x2a347c" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" { (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" if (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" ( (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" { (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" { (expression_statement "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a41f8))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a41f8)" * (pointer_expression "*(code **)(pcVar15 + 0x2a41f8)" * (cast_expression "(code **)(pcVar15 + 0x2a41f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a41f8)" ( (binary_expression "pcVar15 + 0x2a41f8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" * (cast_expression "(undefined4 *)(iVar10 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) ))) ;) (for_statement "for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" for ( (assignment_expression "puVar4 = *(undefined4 **)(iVar10 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar10 + 8)" * (cast_expression "(undefined4 **)(iVar10 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) ; (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar4 = (undefined4 *)puVar4[1]" identifier = (cast_expression "(undefined4 *)puVar4[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) ) (compound_statement "{\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3e90))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a3e90)" * (pointer_expression "*(code **)(pcVar15 + 0x2a3e90)" * (cast_expression "(code **)(pcVar15 + 0x2a3e90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a3e90)" ( (binary_expression "pcVar15 + 0x2a3e90" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" * (cast_expression "(undefined4 *)(iVar10 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) ))) ;) (return_statement "return (int *)0x1;" return (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a4118))" ( (pointer_expression "**(code **)(pcVar15 + 0x2a4118)" * (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" * (cast_expression "(code **)(pcVar15 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4118)" ( (binary_expression "pcVar15 + 0x2a4118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" ( (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4118);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4118)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" * (cast_expression "(code **)(pcVar15 + 0x2a4118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x2a4118)" ( (binary_expression "pcVar15 + 0x2a4118" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04" identifier = (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" ( identifier , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" * (cast_expression "(int *)(pcVar15 + 0x2a33f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x2a33f4)" ( (binary_expression "pcVar15 + 0x2a33f4" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" identifier = (cast_expression "(int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a3d78))" ( (pointer_expression "**(code **)(pcVar14 + 0x2a3d78)" * (pointer_expression "*(code **)(pcVar14 + 0x2a3d78)" * (cast_expression "(code **)(pcVar14 + 0x2a3d78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a3d78)" ( (binary_expression "pcVar14 + 0x2a3d78" identifier + number_literal) ))))) )) (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)(piVar12 + 5) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 5) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 5)" * (cast_expression "(undefined1 *)(piVar12 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + 5)" ( (binary_expression "piVar12 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x15) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x15) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x15)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x15)" ( (binary_expression "(int)piVar12 + 0x15" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x16) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x16) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x16)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x16)" ( (binary_expression "(int)piVar12 + 0x16" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x17)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x17)" ( (binary_expression "(int)piVar12 + 0x17" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar12 + 6) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 6) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 6)" * (cast_expression "(undefined1 *)(piVar12 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + 6)" ( (binary_expression "piVar12 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x19) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x19) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x19)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x19)" ( (binary_expression "(int)piVar12 + 0x19" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1a) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1a) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1a)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x1a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x1a)" ( (binary_expression "(int)piVar12 + 0x1a" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1b)" * (cast_expression "(undefined1 *)((int)piVar12 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar12 + 0x1b)" ( (binary_expression "(int)piVar12 + 0x1b" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar10 == 0) {\n    iVar10 = -1;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = -1;\n  }" { (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) })) (expression_statement "pcVar14 = *(code **)(pcVar14 + 0x2a4050);" (assignment_expression "pcVar14 = *(code **)(pcVar14 + 0x2a4050)" identifier = (pointer_expression "*(code **)(pcVar14 + 0x2a4050)" * (cast_expression "(code **)(pcVar14 + 0x2a4050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar14 + 0x2a4050)" ( (binary_expression "pcVar14 + 0x2a4050" identifier + number_literal) ))))) ;) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[2] = 0;" (assignment_expression "piVar12[2] = 0" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[3] = 0;" (assignment_expression "piVar12[3] = 0" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar12[4] = 0;" (assignment_expression "piVar12[4] = 0" (subscript_expression "piVar12[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = (*pcVar14)();" (assignment_expression "iVar10 = (*pcVar14)()" identifier = (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "piVar12[5] = iVar10;" (assignment_expression "piVar12[5] = iVar10" (subscript_expression "piVar12[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[6] = -0x54535255;" (assignment_expression "piVar12[6] = -0x54535255" (subscript_expression "piVar12[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar12;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return IDENT ;) })))) (expression_statement (assignment_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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ))) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + 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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) }))))) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * IDENT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_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 == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , (binary_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 != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * GetValueFromLinkedList(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" (primitive_type "int") (pointer_declarator "* GetValueFromLinkedList(int param_1,uint param_2)" (* "*") (function_declarator "GetValueFromLinkedList(int param_1,uint param_2)" (identifier "GetValueFromLinkedList") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  int *piVar12;\n  undefined *puVar13;\n  code *pcVar14;\n  code *pcVar15;\n  code *pcVar16;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }\n  iVar10 = 0x18b;\n  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;\n  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)();\n  if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }\n  puVar5 = (undefined4 *)&DAT_000001c8;\n  pcVar15 = *(code **)(puVar13 + 0x2a4594);\n  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;\n  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);\n  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);\n  (*pcVar15)();\n  if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);\n  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }\n  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);\n  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);\n  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;\n  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);\n  if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }\n  pcVar14 = *(code **)(pcVar15 + 0x2a4118);\n  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;\n  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);\n  *(undefined1 *)(piVar12 + 5) = 0;\n  *(undefined1 *)((int)piVar12 + 0x15) = 0;\n  *(undefined1 *)((int)piVar12 + 0x16) = 0;\n  *(undefined1 *)((int)piVar12 + 0x17) = 0;\n  *(undefined1 *)(piVar12 + 6) = 0;\n  *(undefined1 *)((int)piVar12 + 0x19) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1a) = 0;\n  *(undefined1 *)((int)piVar12 + 0x1b) = 0;\n  if (iVar10 == 0) {\n    iVar10 = -1;\n  }\n  pcVar14 = *(code **)(pcVar14 + 0x2a4050);\n  *piVar12 = iVar10;\n  piVar12[1] = 0;\n  piVar12[2] = 0;\n  piVar12[3] = 0;\n  piVar12[4] = 0;\n  iVar10 = (*pcVar14)();\n  piVar12[5] = iVar10;\n  piVar12[6] = -0x54535255;\n  return piVar12;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "code *pcVar15;" (type_identifier "code") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }\n  else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,\n               PTR_s_t_to_left_003a88e4 + -0x49d8)" (( "(") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b04" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4b04")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x18a") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x49d8" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x49d8")) () ")"))) (; ";")) (} "}")) (else_clause "else if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" (else "else") (if_statement "if (*(int *)(param_1 + 0x18) == -0x54535255) {\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x18) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }\n    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));\n    if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }\n    piVar12 = (int *)**(undefined4 **)(param_1 + 8);\n    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n    return piVar12;\n  }" ({ "{") (if_statement "if (*(uint *)(param_1 + 4) <= param_2) {\n      return (int *)0x0;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 4) <= param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 4) <= param_2" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n      return (int *)0x0;\n    }" ({ "{") (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" (( "(") (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" (* "*") (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LockSemaphoreInfo_003a96e8"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (if_statement "if (param_2 != 0) {\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }\n      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);\n      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));\n      return piVar12;\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 4) - 1U != param_2) {\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) - 1U != param_2)" (( "(") (binary_expression "*(int *)(param_1 + 4) - 1U != param_2" (binary_expression "*(int *)(param_1 + 4) - 1U" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (- "-") (number_literal "1U")) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_1 + 8);\n        if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }\n        piVar12 = (int *)*puVar5;\n        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();\n        return piVar12;\n      }" ({ "{") (expression_statement "puVar5 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 8)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (0 < (int)param_2) {\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" (if "if") (parenthesized_expression "(0 < (int)param_2)" (( "(") (binary_expression "0 < (int)param_2" (number_literal "0") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n          uVar1 = 0;\n          do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);\n        }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          } while (uVar1 != param_2);" (do "do") (compound_statement "{\n            uVar1 = uVar1 + 1;\n            puVar5 = (undefined4 *)puVar5[1];\n          }" ({ "{") (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)puVar5[1];" (assignment_expression "puVar5 = (undefined4 *)puVar5[1]" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)puVar5[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != param_2)" (( "(") (binary_expression "uVar1 != param_2" (identifier "uVar1") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (} "}"))) (expression_statement "piVar12 = (int *)*puVar5;" (assignment_expression "piVar12 = (int *)*puVar5" (identifier "piVar12") (= "=") (cast_expression "(int *)*puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)();" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)()" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" (( "(") (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" (* "*") (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_UnlockSemaphoreInfo_003a9380"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}"))) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 0xc)" (identifier "piVar12") (= "=") (cast_expression "(int *)**(undefined4 **)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(param_1 + 0xc)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))))) (; ";")) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" (( "(") (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" (* "*") (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_UnlockSemaphoreInfo_003a9380"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}"))) (expression_statement "piVar12 = (int *)**(undefined4 **)(param_1 + 8);" (assignment_expression "piVar12 = (int *)**(undefined4 **)(param_1 + 8)" (identifier "piVar12") (= "=") (cast_expression "(int *)**(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(param_1 + 8)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))))) (; ";")) (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" (( "(") (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" (* "*") (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_UnlockSemaphoreInfo_003a9380"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}"))))) (expression_statement "iVar10 = 0x18b;" (assignment_expression "iVar10 = 0x18b" (identifier "iVar10") (= "=") (number_literal "0x18b")) (; ";")) (expression_statement "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;" (assignment_expression "puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20" (identifier "puVar9") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4b20" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4b20"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);" (assignment_expression "puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + -0x4adc)" (( "(") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4adc" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4adc")) () ")")))) (; ";")) (expression_statement "puVar13 = PTR___assert_fail_003a9608;" (assignment_expression "puVar13 = PTR___assert_fail_003a9608" (identifier "puVar13") (= "=") (identifier "PTR___assert_fail_003a9608")) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_003a9608)();" (call_expression "(*(code *)PTR___assert_fail_003a9608)()" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" (if "if") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);\n  }" ({ "{") (if_statement "if (puVar5[6] == -0x54535255) {\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" (if "if") (parenthesized_expression "(puVar5[6] == -0x54535255)" (( "(") (binary_expression "puVar5[6] == -0x54535255" (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" ({ "{") (if_statement "if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" (if "if") (parenthesized_expression "((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0))" (( "(") (binary_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&\n         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" (parenthesized_expression "(((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5))" (( "(") (binary_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&\n          ((undefined *)puVar5[1] != (undefined *)*puVar5)" (parenthesized_expression "((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1]))" (( "(") (binary_expression "(iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])" (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar9 <= (undefined *)puVar5[1])" (( "(") (binary_expression "puVar9 <= (undefined *)puVar5[1]" (identifier "puVar9") (<= "<=") (cast_expression "(undefined *)puVar5[1]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((undefined *)puVar5[1] != (undefined *)*puVar5)" (( "(") (binary_expression "(undefined *)puVar5[1] != (undefined *)*puVar5" (cast_expression "(undefined *)puVar5[1]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined *)*puVar5" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)" (( "(") (comma_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0" (assignment_expression "piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8)" (identifier "piVar12") (= "=") (cast_expression "(int *)(**(code **)(puVar13 + 0x2a4868))(8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar13 + 0x2a4868))(8)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4868))" (( "(") (pointer_expression "**(code **)(puVar13 + 0x2a4868)" (* "*") (pointer_expression "*(code **)(puVar13 + 0x2a4868)" (* "*") (cast_expression "(code **)(puVar13 + 0x2a4868)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x2a4868)" (( "(") (binary_expression "puVar13 + 0x2a4868" (identifier "puVar13") (+ "+") (number_literal "0x2a4868")) () ")"))))) () ")")) (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (, ",") (binary_expression "piVar12 != (int *)0x0" (identifier "piVar12") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n        pcVar14 = *(code **)(puVar13 + 0x2a4674);\n        uVar7 = puVar5[5];\n        *piVar12 = iVar10;\n        piVar12[1] = 0;\n        (*pcVar14)(uVar7);\n        puVar2 = (undefined *)puVar5[1];\n        if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }\n        pcVar14 = *(code **)(puVar13 + 0x2a430c);\n        puVar5[1] = puVar2 + 1;\n        (*pcVar14)(puVar5[5]);\n        return (int *)0x1;\n      }" ({ "{") (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a4674);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a4674)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(puVar13 + 0x2a4674)" (* "*") (cast_expression "(code **)(puVar13 + 0x2a4674)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x2a4674)" (( "(") (binary_expression "puVar13 + 0x2a4674" (identifier "puVar13") (+ "+") (number_literal "0x2a4674")) () ")"))))) (; ";")) (expression_statement "uVar7 = puVar5[5];" (assignment_expression "uVar7 = puVar5[5]" (identifier "uVar7") (= "=") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcVar14)(uVar7);" (call_expression "(*pcVar14)(uVar7)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined *)puVar5[1];" (assignment_expression "puVar2 = (undefined *)puVar5[1]" (identifier "puVar2") (= "=") (cast_expression "(undefined *)puVar5[1]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar2 == (undefined *)0x0) {\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }\n        else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(puVar2 == (undefined *)0x0)" (( "(") (binary_expression "puVar2 == (undefined *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }\n          puVar5[2] = piVar12;\n          puVar5[3] = piVar12;\n        }" ({ "{") (if_statement "if (puVar5[4] == 0) {\n            puVar5[4] = piVar12;\n          }" (if "if") (parenthesized_expression "(puVar5[4] == 0)" (( "(") (binary_expression "puVar5[4] == 0" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            puVar5[4] = piVar12;\n          }" ({ "{") (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}"))) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}")) (else_clause "else {\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          iVar10 = puVar5[4];\n          if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }\n        }" ({ "{") (expression_statement "iVar10 = puVar5[4];" (assignment_expression "iVar10 = puVar5[4]" (identifier "iVar10") (= "=") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (puVar9 == (undefined *)0x0) {\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }\n          else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" (if "if") (parenthesized_expression "(puVar9 == (undefined *)0x0)" (( "(") (binary_expression "puVar9 == (undefined *)0x0" (identifier "puVar9") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar6 = puVar5[2];\n            if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n          }" ({ "{") (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" (identifier "iVar6") (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (iVar6 == iVar10) {\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }\n            else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" (if "if") (parenthesized_expression "(iVar6 == iVar10)" (( "(") (binary_expression "iVar6 == iVar10" (identifier "iVar6") (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n              puVar5[4] = piVar12;\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" ({ "{") (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}")) (else_clause "else {\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" (else "else") (compound_statement "{\n              piVar12[1] = iVar6;\n              puVar5[2] = piVar12;\n            }" ({ "{") (expression_statement "piVar12[1] = iVar6;" (assignment_expression "piVar12[1] = iVar6" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar5[2] = piVar12;" (assignment_expression "puVar5[2] = piVar12" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}")))) (} "}")) (else_clause "else if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" (else "else") (if_statement "if (puVar2 == puVar9) {\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }\n          else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" (if "if") (parenthesized_expression "(puVar2 == puVar9)" (( "(") (binary_expression "puVar2 == puVar9" (identifier "puVar2") (== "==") (identifier "puVar9")) () ")")) (compound_statement "{\n            if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }\n            *(int **)(puVar5[3] + 4) = piVar12;\n            puVar5[3] = piVar12;\n          }" ({ "{") (if_statement "if (iVar10 == 0) {\n              puVar5[4] = piVar12;\n            }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              puVar5[4] = piVar12;\n            }" ({ "{") (expression_statement "puVar5[4] = piVar12;" (assignment_expression "puVar5[4] = piVar12" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}"))) (expression_statement "*(int **)(puVar5[3] + 4) = piVar12;" (assignment_expression "*(int **)(puVar5[3] + 4) = piVar12" (pointer_expression "*(int **)(puVar5[3] + 4)" (* "*") (cast_expression "(int **)(puVar5[3] + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5[3] + 4)" (( "(") (binary_expression "puVar5[3] + 4" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar12")) (; ";")) (expression_statement "puVar5[3] = piVar12;" (assignment_expression "puVar5[3] = piVar12" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "piVar12")) (; ";")) (} "}")) (else_clause "else {\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" (else "else") (compound_statement "{\n            iVar6 = puVar5[2];\n            iVar11 = *(int *)(iVar6 + 4);\n            piVar12[1] = iVar11;\n            if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }\n            *(int *)(iVar6 + 4) = iVar11;\n            if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }\n          }" ({ "{") (expression_statement "iVar6 = puVar5[2];" (assignment_expression "iVar6 = puVar5[2]" (identifier "iVar6") (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (1 < (int)puVar9) {\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" (if "if") (parenthesized_expression "(1 < (int)puVar9)" (( "(") (binary_expression "1 < (int)puVar9" (number_literal "1") (< "<") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) () ")")) (compound_statement "{\n              puVar8 = (undefined *)0x1;\n              do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);\n            }" ({ "{") (expression_statement "puVar8 = (undefined *)0x1;" (assignment_expression "puVar8 = (undefined *)0x1" (identifier "puVar8") (= "=") (cast_expression "(undefined *)0x1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (do_statement "do {\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              } while (puVar8 != puVar9);" (do "do") (compound_statement "{\n                iVar6 = *(int *)(iVar6 + 4);\n                puVar8 = puVar8 + 1;\n                iVar11 = *(int *)(iVar6 + 4);\n                piVar12[1] = iVar11;\n              }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar6 + 4);" (assignment_expression "iVar6 = *(int *)(iVar6 + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar6 + 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + 4)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar12[1] = iVar11;" (assignment_expression "piVar12[1] = iVar11" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar8 != puVar9)" (( "(") (binary_expression "puVar8 != puVar9" (identifier "puVar8") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar6 + 4) = iVar11;" (assignment_expression "*(int *)(iVar6 + 4) = iVar11" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (*(int *)(iVar11 + 4) == iVar10) {\n              puVar5[4] = iVar11;\n            }" (if "if") (parenthesized_expression "(*(int *)(iVar11 + 4) == iVar10)" (( "(") (binary_expression "*(int *)(iVar11 + 4) == iVar10" (pointer_expression "*(int *)(iVar11 + 4)" (* "*") (cast_expression "(int *)(iVar11 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n              puVar5[4] = iVar11;\n            }" ({ "{") (expression_statement "puVar5[4] = iVar11;" (assignment_expression "puVar5[4] = iVar11" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (} "}")))))) (} "}")))) (expression_statement "pcVar14 = *(code **)(puVar13 + 0x2a430c);" (assignment_expression "pcVar14 = *(code **)(puVar13 + 0x2a430c)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(puVar13 + 0x2a430c)" (* "*") (cast_expression "(code **)(puVar13 + 0x2a430c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x2a430c)" (( "(") (binary_expression "puVar13 + 0x2a430c" (identifier "puVar13") (+ "+") (number_literal "0x2a430c")) () ")"))))) (; ";")) (expression_statement "puVar5[1] = puVar2 + 1;" (assignment_expression "puVar5[1] = puVar2 + 1" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar14)(puVar5[5]);" (call_expression "(*pcVar14)(puVar5[5])" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(puVar5[5])" (( "(") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (return_statement "return (int *)0x1;" (return "return") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}"))) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0);" (call_expression "(**(code **)(puVar13 + 0x2a4594))\n              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" (parenthesized_expression "(**(code **)(puVar13 + 0x2a4594))" (( "(") (pointer_expression "**(code **)(puVar13 + 0x2a4594)" (* "*") (pointer_expression "*(code **)(puVar13 + 0x2a4594)" (* "*") (cast_expression "(code **)(puVar13 + 0x2a4594)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x2a4594)" (( "(") (binary_expression "puVar13 + 0x2a4594" (identifier "puVar13") (+ "+") (number_literal "0x2a4594")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,\n               *(int *)(puVar13 + 0x2a3870) + -0x49f0)" (( "(") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4adc" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x4adc")) (, ",") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x1c9") (, ",") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x49f0")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined4 *)&DAT_000001c8;" (assignment_expression "puVar5 = (undefined4 *)&DAT_000001c8" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)&DAT_000001c8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_000001c8" (& "&") (identifier "DAT_000001c8")))) (; ";")) (expression_statement "pcVar15 = *(code **)(puVar13 + 0x2a4594);" (assignment_expression "pcVar15 = *(code **)(puVar13 + 0x2a4594)" (identifier "pcVar15") (= "=") (pointer_expression "*(code **)(puVar13 + 0x2a4594)" (* "*") (cast_expression "(code **)(puVar13 + 0x2a4594)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0x2a4594)" (( "(") (binary_expression "puVar13 + 0x2a4594" (identifier "puVar13") (+ "+") (number_literal "0x2a4594")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;" (assignment_expression "iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0" (identifier "iVar10") (= "=") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x49f0" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x49f0"))) (; ";")) (expression_statement "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);" (assignment_expression "pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" (identifier "pcVar14") (= "=") (cast_expression "(code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b20)" (( "(") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b20" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x4b20")) () ")")))) (; ";")) (expression_statement "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);" (assignment_expression "piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" (identifier "piVar12") (= "=") (cast_expression "(int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar13 + 0x2a3870) + -0x4b04)" (( "(") (binary_expression "*(int *)(puVar13 + 0x2a3870) + -0x4b04" (pointer_expression "*(int *)(puVar13 + 0x2a3870)" (* "*") (cast_expression "(int *)(puVar13 + 0x2a3870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x2a3870)" (( "(") (binary_expression "puVar13 + 0x2a3870" (identifier "puVar13") (+ "+") (number_literal "0x2a3870")) () ")")))) (+ "+") (number_literal "-0x4b04")) () ")")))) (; ";")) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (piVar12 != (int *)0x0) {\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" (if "if") (parenthesized_expression "(piVar12 != (int *)0x0)" (( "(") (binary_expression "piVar12 != (int *)0x0" (identifier "piVar12") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }\n    (**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);\n  }" ({ "{") (if_statement "if (piVar12[6] == -0x54535255) {\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" (if "if") (parenthesized_expression "(piVar12[6] == -0x54535255)" (( "(") (binary_expression "piVar12[6] == -0x54535255" (subscript_expression "piVar12[6]" (identifier "piVar12") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }\n      pcVar16 = *(code **)(pcVar15 + 0x2a4498);\n      iVar11 = 0;\n      iVar6 = piVar12[5];\n      *piVar3 = iVar10;\n      (*pcVar16)(iVar6);\n      puVar4 = (undefined4 *)piVar12[2];\n      piVar3[1] = (int)puVar4;\n      if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }\nLAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);\n      piVar12[1] = iVar10 + 1;\n      (*pcVar14)(piVar12[5]);\n      return (int *)0x1;\n    }" ({ "{") (if_statement "if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {\n        return (int *)0x0;\n      }" (if "if") (parenthesized_expression "(((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))))" (( "(") (binary_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||\n         ((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" (parenthesized_expression "((pcVar14 == (code *)0x0) || (iVar10 == 0))" (( "(") (binary_expression "(pcVar14 == (code *)0x0) || (iVar10 == 0)" (parenthesized_expression "(pcVar14 == (code *)0x0)" (( "(") (binary_expression "pcVar14 == (code *)0x0" (identifier "pcVar14") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))" (( "(") (parenthesized_expression "(piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0))" (( "(") (binary_expression "piVar12[1] == *piVar12 ||\n          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" (binary_expression "piVar12[1] == *piVar12" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (== "==") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (|| "||") (parenthesized_expression "(piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)" (( "(") (comma_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0" (assignment_expression "piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8)" (identifier "piVar3") (= "=") (cast_expression "(int *)(**(code **)(pcVar15 + 0x2a468c))(8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar15 + 0x2a468c))(8)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a468c))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a468c)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a468c)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a468c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a468c)" (( "(") (binary_expression "pcVar15 + 0x2a468c" (identifier "pcVar15") (+ "+") (number_literal "0x2a468c")) () ")"))))) () ")")) (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (, ",") (binary_expression "piVar3 == (int *)0x0" (identifier "piVar3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        return (int *)0x0;\n      }" ({ "{") (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "pcVar16 = *(code **)(pcVar15 + 0x2a4498);" (assignment_expression "pcVar16 = *(code **)(pcVar15 + 0x2a4498)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(pcVar15 + 0x2a4498)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a4498)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a4498)" (( "(") (binary_expression "pcVar15 + 0x2a4498" (identifier "pcVar15") (+ "+") (number_literal "0x2a4498")) () ")"))))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = piVar12[5];" (assignment_expression "iVar6 = piVar12[5]" (identifier "iVar6") (= "=") (subscript_expression "piVar12[5]" (identifier "piVar12") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)piVar12[2];" (assignment_expression "puVar4 = (undefined4 *)piVar12[2]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)piVar12[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }\n      else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        iVar10 = piVar12[1];\n        piVar12[2] = (int)piVar3;\nLAB_00105410:\n        piVar12[3] = (int)piVar3;\n      }" ({ "{") (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (labeled_statement "LAB_00105410:\n        piVar12[3] = (int)piVar3;" (statement_identifier "LAB_00105410") (: ":") (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" (identifier "piVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";"))) (} "}")) (else_clause "else {\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" (else "else") (compound_statement "{\n        do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);\n        iVar10 = piVar12[1];\n        *(int **)(iVar11 + 4) = piVar3;\nLAB_001053bc:\n        piVar12[3] = (int)piVar3;\n      }" ({ "{") (do_statement "do {\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        } while (puVar4 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n          iVar6 = (*pcVar14)(iVar10,*puVar4);\n          if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }\n          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }\n          iVar11 = piVar3[1];\n          puVar4 = *(undefined4 **)(iVar11 + 4);\n          piVar3[1] = (int)puVar4;\n        }" ({ "{") (expression_statement "iVar6 = (*pcVar14)(iVar10,*puVar4);" (assignment_expression "iVar6 = (*pcVar14)(iVar10,*puVar4)" (identifier "iVar6") (= "=") (call_expression "(*pcVar14)(iVar10,*puVar4)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(iVar10,*puVar4)" (( "(") (identifier "iVar10") (, ",") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (if_statement "if (iVar6 < 0) {\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n            iVar10 = piVar12[1];\nLAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }\n            iVar6 = piVar3[1];\n            piVar12[2] = (int)piVar3;\n            if (iVar6 != 0) goto LAB_00105350;\n            piVar12[2] = (int)piVar3;\n            goto LAB_00105410;\n          }" ({ "{") (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "LAB_00105338:\n            if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" (statement_identifier "LAB_00105338") (: ":") (if_statement "if (iVar11 != 0) {\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              *(int **)(iVar11 + 4) = piVar3;\n              if (piVar3[1] != 0) goto LAB_00105350;\n              goto LAB_001053bc;\n            }" ({ "{") (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" (* "*") (cast_expression "(int **)(iVar11 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (if_statement "if (piVar3[1] != 0) goto LAB_00105350;" (if "if") (parenthesized_expression "(piVar3[1] != 0)" (( "(") (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00105350;" (goto "goto") (statement_identifier "LAB_00105350") (; ";"))) (goto_statement "goto LAB_001053bc;" (goto "goto") (statement_identifier "LAB_001053bc") (; ";")) (} "}")))) (expression_statement "iVar6 = piVar3[1];" (assignment_expression "iVar6 = piVar3[1]" (identifier "iVar6") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00105350;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00105350;" (goto "goto") (statement_identifier "LAB_00105350") (; ";"))) (expression_statement "piVar12[2] = (int)piVar3;" (assignment_expression "piVar12[2] = (int)piVar3" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (goto_statement "goto LAB_00105410;" (goto "goto") (statement_identifier "LAB_00105410") (; ";")) (} "}"))) (if_statement "if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" (if "if") (parenthesized_expression "((puVar5 != (undefined4 *)0x0) && (iVar6 == 0))" (( "(") (binary_expression "(puVar5 != (undefined4 *)0x0) && (iVar6 == 0)" (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            puVar4 = (undefined4 *)piVar3[1];\n            *puVar5 = *puVar4;\n            piVar3[1] = puVar4[1];\n            if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }\n            iVar10 = piVar12[1] + -1;\n            piVar12[1] = iVar10;\n            goto LAB_00105338;\n          }" ({ "{") (expression_statement "puVar4 = (undefined4 *)piVar3[1];" (assignment_expression "puVar4 = (undefined4 *)piVar3[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)piVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "piVar3[1] = puVar4[1];" (assignment_expression "piVar3[1] = puVar4[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar11 != 0) {\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));\n              *(undefined4 *)(iVar11 + 4) = uVar7;\n            }" ({ "{") (expression_statement "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));" (assignment_expression "uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" (identifier "uVar7") (= "=") (call_expression "(**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3d70))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a3d70)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a3d70)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a3d70)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3d70)" (( "(") (binary_expression "pcVar15 + 0x2a3d70" (identifier "pcVar15") (+ "+") (number_literal "0x2a3d70")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar11 + 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar11 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar11 + 4) = uVar7" (pointer_expression "*(undefined4 *)(iVar11 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar10 = piVar12[1] + -1;" (assignment_expression "iVar10 = piVar12[1] + -1" (identifier "iVar10") (= "=") (binary_expression "piVar12[1] + -1" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar12[1] = iVar10;" (assignment_expression "piVar12[1] = iVar10" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (goto_statement "goto LAB_00105338;" (goto "goto") (statement_identifier "LAB_00105338") (; ";")) (} "}"))) (expression_statement "iVar11 = piVar3[1];" (assignment_expression "iVar11 = piVar3[1]" (identifier "iVar11") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = *(undefined4 **)(iVar11 + 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar11 + 4)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar11 + 4)" (* "*") (cast_expression "(undefined4 **)(iVar11 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar3[1] = (int)puVar4;" (assignment_expression "piVar3[1] = (int)puVar4" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar10 = piVar12[1];" (assignment_expression "iVar10 = piVar12[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(int **)(iVar11 + 4) = piVar3;" (assignment_expression "*(int **)(iVar11 + 4) = piVar3" (pointer_expression "*(int **)(iVar11 + 4)" (* "*") (cast_expression "(int **)(iVar11 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (labeled_statement "LAB_001053bc:\n        piVar12[3] = (int)piVar3;" (statement_identifier "LAB_001053bc") (: ":") (expression_statement "piVar12[3] = (int)piVar3;" (assignment_expression "piVar12[3] = (int)piVar3" (subscript_expression "piVar12[3]" (identifier "piVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";"))) (} "}")))) (labeled_statement "LAB_00105350:\n      pcVar14 = *(code **)(pcVar15 + 0x2a4130);" (statement_identifier "LAB_00105350") (: ":") (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4130);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4130)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(pcVar15 + 0x2a4130)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a4130)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a4130)" (( "(") (binary_expression "pcVar15 + 0x2a4130" (identifier "pcVar15") (+ "+") (number_literal "0x2a4130")) () ")"))))) (; ";"))) (expression_statement "piVar12[1] = iVar10 + 1;" (assignment_expression "piVar12[1] = iVar10 + 1" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar14)(piVar12[5]);" (call_expression "(*pcVar14)(piVar12[5])" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(piVar12[5])" (( "(") (subscript_expression "piVar12[5]" (identifier "piVar12") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (return_statement "return (int *)0x1;" (return "return") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}"))) (expression_statement "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(**(code **)(pcVar15 + 0x2a43b8))\n              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a43b8))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a43b8)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a43b8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a43b8)" (( "(") (binary_expression "pcVar15 + 0x2a43b8" (identifier "pcVar15") (+ "+") (number_literal "0x2a43b8")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,\n               *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (( "(") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4adc")) (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x232") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4a10")) () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a43b8);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a43b8)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(pcVar15 + 0x2a43b8)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a43b8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a43b8)" (( "(") (binary_expression "pcVar15 + 0x2a43b8" (identifier "pcVar15") (+ "+") (number_literal "0x2a43b8")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04" (identifier "iVar10") (= "=") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4b04"))) (; ";")) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,\n             *(int *)(pcVar15 + 0x2a3694) + -0x4a10)" (( "(") (identifier "iVar10") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x231") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a3694) + -0x4a10" (pointer_expression "*(int *)(pcVar15 + 0x2a3694)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a3694)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3694)" (( "(") (binary_expression "pcVar15 + 0x2a3694" (identifier "pcVar15") (+ "+") (number_literal "0x2a3694")) () ")")))) (+ "+") (number_literal "-0x4a10")) () ")"))) (; ";")) (if_statement "if (iVar10 == 0) {\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }\n  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);\n  }" ({ "{") (expression_statement "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);" (call_expression "(**(code **)(pcVar14 + 0x2a41a0))\n              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a41a0))" (( "(") (pointer_expression "**(code **)(pcVar14 + 0x2a41a0)" (* "*") (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" (* "*") (cast_expression "(code **)(pcVar14 + 0x2a41a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar14 + 0x2a41a0)" (( "(") (binary_expression "pcVar14 + 0x2a41a0" (identifier "pcVar14") (+ "+") (number_literal "0x2a41a0")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,\n               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448)" (( "(") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b04" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4b04")) (, ",") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x27c") (, ",") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4a24")) (, ",") (binary_expression "pcVar14 + 0x2ab448" (identifier "pcVar14") (+ "+") (number_literal "0x2ab448")) () ")"))) (; ";")) (} "}")) (else_clause "else if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" (else "else") (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" (( "(") (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" (* "*") (cast_expression "(int *)(iVar10 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);\n  }" ({ "{") (return_statement "return (int *)(uint)(*(int *)(iVar10 + 4) == 0);" (return "return") (cast_expression "(int *)(uint)(*(int *)(iVar10 + 4) == 0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(*(int *)(iVar10 + 4) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar10 + 4) == 0)" (( "(") (binary_expression "*(int *)(iVar10 + 4) == 0" (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")))) (; ";")) (} "}"))))) (expression_statement "pcVar15 = *(code **)(pcVar14 + 0x2a41a0);" (assignment_expression "pcVar15 = *(code **)(pcVar14 + 0x2a41a0)" (identifier "pcVar15") (= "=") (pointer_expression "*(code **)(pcVar14 + 0x2a41a0)" (* "*") (cast_expression "(code **)(pcVar14 + 0x2a41a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar14 + 0x2a41a0)" (( "(") (binary_expression "pcVar14 + 0x2a41a0" (identifier "pcVar14") (+ "+") (number_literal "0x2a41a0")) () ")"))))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar14 + 0x2a347c) + -0x4b20)" (( "(") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4b20" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4b20")) () ")")))) (; ";")) (expression_statement "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;" (assignment_expression "iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc" (identifier "iVar10") (= "=") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4adc" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4adc"))) (; ";")) (expression_statement "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);" (call_expression "(*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24)" (( "(") (identifier "iVar10") (, ",") (identifier "puVar5") (, ",") (number_literal "0x27d") (, ",") (binary_expression "*(int *)(pcVar14 + 0x2a347c) + -0x4a24" (pointer_expression "*(int *)(pcVar14 + 0x2a347c)" (* "*") (cast_expression "(int *)(pcVar14 + 0x2a347c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar14 + 0x2a347c)" (( "(") (binary_expression "pcVar14 + 0x2a347c" (identifier "pcVar14") (+ "+") (number_literal "0x2a347c")) () ")")))) (+ "+") (number_literal "-0x4a24")) () ")"))) (; ";")) (if_statement "if (iVar10 != 0) {\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }\n    (**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);\n  }" ({ "{") (if_statement "if (*(int *)(iVar10 + 0x18) == -0x54535255) {\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar10 + 0x18) == -0x54535255)" (( "(") (binary_expression "*(int *)(iVar10 + 0x18) == -0x54535255" (pointer_expression "*(int *)(iVar10 + 0x18)" (* "*") (cast_expression "(int *)(iVar10 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }\n      return (int *)0x0;\n    }" ({ "{") (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" (if "if") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));\n        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }\n        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));\n        return (int *)0x1;\n      }" ({ "{") (expression_statement "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a41f8))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a41f8)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a41f8)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a41f8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a41f8)" (( "(") (binary_expression "pcVar15 + 0x2a41f8" (identifier "pcVar15") (+ "+") (number_literal "0x2a41f8")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (for_statement "for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;\n            puVar4 = (undefined4 *)puVar4[1]) {\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" (for "for") (( "(") (assignment_expression "puVar4 = *(undefined4 **)(iVar10 + 8)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar10 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar10 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")"))))) (; ";") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar4 = (undefined4 *)puVar4[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)puVar4[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")))) () ")") (compound_statement "{\n          *puVar5 = *puVar4;\n          puVar5 = puVar5 + 1;\n        }" ({ "{") (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));" (call_expression "(**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14))" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a3e90))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a3e90)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a3e90)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a3e90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a3e90)" (( "(") (binary_expression "pcVar15 + 0x2a3e90" (identifier "pcVar15") (+ "+") (number_literal "0x2a3e90")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar10 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (return_statement "return (int *)0x1;" (return "return") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}"))) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(**(code **)(pcVar15 + 0x2a4118))\n              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(**(code **)(pcVar15 + 0x2a4118))" (( "(") (pointer_expression "**(code **)(pcVar15 + 0x2a4118)" (* "*") (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a4118)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a4118)" (( "(") (binary_expression "pcVar15 + 0x2a4118" (identifier "pcVar15") (+ "+") (number_literal "0x2a4118")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,\n               *(int *)(pcVar15 + 0x2a33f4) + -19000)" (( "(") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4adc" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-0x4adc")) (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x2a4") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-19000")) () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar14 = *(code **)(pcVar15 + 0x2a4118);" (assignment_expression "pcVar14 = *(code **)(pcVar15 + 0x2a4118)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(pcVar15 + 0x2a4118)" (* "*") (cast_expression "(code **)(pcVar15 + 0x2a4118)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar15 + 0x2a4118)" (( "(") (binary_expression "pcVar15 + 0x2a4118" (identifier "pcVar15") (+ "+") (number_literal "0x2a4118")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;" (assignment_expression "iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04" (identifier "iVar10") (= "=") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b04" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-0x4b04"))) (; ";")) (expression_statement "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000);" (call_expression "(*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,\n             *(int *)(pcVar15 + 0x2a33f4) + -19000)" (( "(") (identifier "iVar10") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -0x4b20" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-0x4b20")) (, ",") (number_literal "0x2a3") (, ",") (binary_expression "*(int *)(pcVar15 + 0x2a33f4) + -19000" (pointer_expression "*(int *)(pcVar15 + 0x2a33f4)" (* "*") (cast_expression "(int *)(pcVar15 + 0x2a33f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x2a33f4)" (( "(") (binary_expression "pcVar15 + 0x2a33f4" (identifier "pcVar15") (+ "+") (number_literal "0x2a33f4")) () ")")))) (+ "+") (number_literal "-19000")) () ")"))) (; ";")) (expression_statement "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" (identifier "piVar12") (= "=") (cast_expression "(int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar14 + 0x2a3d78))(0x1c)" (parenthesized_expression "(**(code **)(pcVar14 + 0x2a3d78))" (( "(") (pointer_expression "**(code **)(pcVar14 + 0x2a3d78)" (* "*") (pointer_expression "*(code **)(pcVar14 + 0x2a3d78)" (* "*") (cast_expression "(code **)(pcVar14 + 0x2a3d78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar14 + 0x2a3d78)" (( "(") (binary_expression "pcVar14 + 0x2a3d78" (identifier "pcVar14") (+ "+") (number_literal "0x2a3d78")) () ")"))))) () ")")) (argument_list "(0x1c)" (( "(") (number_literal "0x1c") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(piVar12 + 5) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 5) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 5)" (* "*") (cast_expression "(undefined1 *)(piVar12 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar12 + 5)" (( "(") (binary_expression "piVar12 + 5" (identifier "piVar12") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x15) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x15) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x15)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x15)" (( "(") (binary_expression "(int)piVar12 + 0x15" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x16) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x16) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x16)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x16)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x16)" (( "(") (binary_expression "(int)piVar12 + 0x16" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x17)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x17)" (( "(") (binary_expression "(int)piVar12 + 0x17" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar12 + 6) = 0;" (assignment_expression "*(undefined1 *)(piVar12 + 6) = 0" (pointer_expression "*(undefined1 *)(piVar12 + 6)" (* "*") (cast_expression "(undefined1 *)(piVar12 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar12 + 6)" (( "(") (binary_expression "piVar12 + 6" (identifier "piVar12") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x19) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x19) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x19)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x19)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x19)" (( "(") (binary_expression "(int)piVar12 + 0x19" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x19")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1a) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1a) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1a)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x1a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x1a)" (( "(") (binary_expression "(int)piVar12 + 0x1a" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x1a")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)piVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)((int)piVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)((int)piVar12 + 0x1b)" (* "*") (cast_expression "(undefined1 *)((int)piVar12 + 0x1b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar12 + 0x1b)" (( "(") (binary_expression "(int)piVar12 + 0x1b" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "0x1b")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar10 == 0) {\n    iVar10 = -1;\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar10 = -1;\n  }" ({ "{") (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" (identifier "iVar10") (= "=") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "pcVar14 = *(code **)(pcVar14 + 0x2a4050);" (assignment_expression "pcVar14 = *(code **)(pcVar14 + 0x2a4050)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(pcVar14 + 0x2a4050)" (* "*") (cast_expression "(code **)(pcVar14 + 0x2a4050)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar14 + 0x2a4050)" (( "(") (binary_expression "pcVar14 + 0x2a4050" (identifier "pcVar14") (+ "+") (number_literal "0x2a4050")) () ")"))))) (; ";")) (expression_statement "*piVar12 = iVar10;" (assignment_expression "*piVar12 = iVar10" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar12[1] = 0;" (assignment_expression "piVar12[1] = 0" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar12[2] = 0;" (assignment_expression "piVar12[2] = 0" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar12[3] = 0;" (assignment_expression "piVar12[3] = 0" (subscript_expression "piVar12[3]" (identifier "piVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar12[4] = 0;" (assignment_expression "piVar12[4] = 0" (subscript_expression "piVar12[4]" (identifier "piVar12") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = (*pcVar14)();" (assignment_expression "iVar10 = (*pcVar14)()" (identifier "iVar10") (= "=") (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar12[5] = iVar10;" (assignment_expression "piVar12[5] = iVar10" (subscript_expression "piVar12[5]" (identifier "piVar12") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar12[6] = -0x54535255;" (assignment_expression "piVar12[6] = -0x54535255" (subscript_expression "piVar12[6]" (identifier "piVar12") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-0x54535255")) (; ";")) (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}")))

void * function_1(type_1 *var_1,size_t var_3)

{
  size_t var_4;
  int *var_9;
  type_2 *var_10;
  int *var_16;
  type_3 *var_17;
  type_4 *pEVar6;
  int var_11;
  type_3 *var_5;
  type_3 uVar9;
  type_2 *var_12;
  type_2 *var_7;
  int var_6;
  int var_13;
  void *pvVar14;
  type_2 *var_8;
  type_5 *var_14;
  type_5 *var_15;
  type_5 *pcVar18;
  
  if (var_1 == (type_1 *)0x0) {
    (*(type_5 *)PTR___assert_fail_003a9608)
              (var_2 + -0x4b04,var_2 + -0x4b20,0x18a,
               var_2 + -0x49d8);
  }
  else if (var_1->signature == 0xabacadab) {
    if (var_1->elements <= var_3) {
      return (void *)0x0;
    }
    (*(type_5 *)PTR_LockSemaphoreInfo_003a96e8)(var_1->semaphore);
    if (var_3 != 0) {
      if (var_1->elements - 1 != var_3) {
        pEVar6 = var_1->head;
        if (0 < (int)var_3) {
          var_4 = 0;
          do {
            var_4 = var_4 + 1;
            pEVar6 = pEVar6->next;
          } while (var_4 != var_3);
        }
        pvVar14 = pEVar6->value;
        (*(type_5 *)PTR_UnlockSemaphoreInfo_003a9380)();
        return pvVar14;
      }
      pvVar14 = var_1->tail->value;
      (*(type_5 *)PTR_UnlockSemaphoreInfo_003a9380)(var_1->semaphore);
      return pvVar14;
    }
    pvVar14 = var_1->head->value;
    (*(type_5 *)PTR_UnlockSemaphoreInfo_003a9380)(var_1->semaphore);
    return pvVar14;
  }
  var_6 = 0x18b;
  var_7 = var_2 + -0x4b20;
  var_5 = (type_3 *)(var_2 + -0x4adc);
  var_8 = PTR___assert_fail_003a9608;
  (*(type_5 *)PTR___assert_fail_003a9608)();
  if (var_5 != (type_3 *)0x0) {
    if (var_5[6] == -0x54535255) {
      if ((((var_6 != 0) && (var_7 <= (type_2 *)var_5[1])) &&
          ((type_2 *)var_5[1] != (type_2 *)*var_5)) &&
         (var_9 = (int *)(**(type_5 **)(var_8 + 0x2a4868))(8), var_9 != (int *)0x0)) {
        var_14 = *(type_5 **)(var_8 + 0x2a4674);
        uVar9 = var_5[5];
        *var_9 = var_6;
        var_9[1] = 0;
        (*var_14)(uVar9);
        var_10 = (type_2 *)var_5[1];
        if (var_10 == (type_2 *)0x0) {
          if (var_5[4] == 0) {
            var_5[4] = var_9;
          }
          var_5[2] = var_9;
          var_5[3] = var_9;
        }
        else {
          var_6 = var_5[4];
          if (var_7 == (type_2 *)0x0) {
            var_11 = var_5[2];
            if (var_11 == var_6) {
              var_5[4] = var_9;
              var_9[1] = var_11;
              var_5[2] = var_9;
            }
            else {
              var_9[1] = var_11;
              var_5[2] = var_9;
            }
          }
          else if (var_10 == var_7) {
            if (var_6 == 0) {
              var_5[4] = var_9;
            }
            *(int **)(var_5[3] + 4) = var_9;
            var_5[3] = var_9;
          }
          else {
            var_11 = var_5[2];
            var_13 = *(int *)(var_11 + 4);
            var_9[1] = var_13;
            if (1 < (int)var_7) {
              var_12 = (type_2 *)0x1;
              do {
                var_11 = *(int *)(var_11 + 4);
                var_12 = var_12 + 1;
                var_13 = *(int *)(var_11 + 4);
                var_9[1] = var_13;
              } while (var_12 != var_7);
            }
            *(int *)(var_11 + 4) = var_13;
            if (*(int *)(var_13 + 4) == var_6) {
              var_5[4] = var_13;
            }
          }
        }
        var_14 = *(type_5 **)(var_8 + 0x2a430c);
        var_5[1] = var_10 + 1;
        (*var_14)(var_5[5]);
        return (void *)0x1;
      }
      return (void *)0x0;
    }
    (**(type_5 **)(var_8 + 0x2a4594))
              (*(int *)(var_8 + 0x2a3870) + -0x4adc,*(int *)(var_8 + 0x2a3870) + -0x4b20,0x1c9,
               *(int *)(var_8 + 0x2a3870) + -0x49f0);
  }
  var_5 = (type_3 *)&DAT_000001c8;
  var_15 = *(type_5 **)(var_8 + 0x2a4594);
  var_6 = *(int *)(var_8 + 0x2a3870) + -0x49f0;
  var_14 = (type_5 *)(*(int *)(var_8 + 0x2a3870) + -0x4b20);
  var_9 = (int *)(*(int *)(var_8 + 0x2a3870) + -0x4b04);
  (*var_15)();
  if (var_9 != (int *)0x0) {
    if (var_9[6] == -0x54535255) {
      if (((var_14 == (type_5 *)0x0) || (var_6 == 0)) ||
         ((var_9[1] == *var_9 ||
          (var_16 = (int *)(**(type_5 **)(var_15 + 0x2a468c))(8), var_16 == (int *)0x0)))) {
        return (void *)0x0;
      }
      pcVar18 = *(type_5 **)(var_15 + 0x2a4498);
      var_13 = 0;
      var_11 = var_9[5];
      *var_16 = var_6;
      (*pcVar18)(var_11);
      var_17 = (type_3 *)var_9[2];
      var_16[1] = (int)var_17;
      if (var_17 == (type_3 *)0x0) {
        var_6 = var_9[1];
        var_9[2] = (int)var_16;
LAB_00105410:
        var_9[3] = (int)var_16;
      }
      else {
        do {
          var_11 = (*var_14)(var_6,*var_17);
          if (var_11 < 0) {
            var_6 = var_9[1];
LAB_00105338:
            if (var_13 != 0) {
              *(int **)(var_13 + 4) = var_16;
              if (var_16[1] != 0) goto LAB_00105350;
              goto LAB_001053bc;
            }
            var_11 = var_16[1];
            var_9[2] = (int)var_16;
            if (var_11 != 0) goto LAB_00105350;
            var_9[2] = (int)var_16;
            goto LAB_00105410;
          }
          if ((var_5 != (type_3 *)0x0) && (var_11 == 0)) {
            var_17 = (type_3 *)var_16[1];
            *var_5 = *var_17;
            var_16[1] = var_17[1];
            if (var_13 != 0) {
              uVar9 = (**(type_5 **)(var_15 + 0x2a3d70))(*(type_3 *)(var_13 + 4));
              *(type_3 *)(var_13 + 4) = uVar9;
            }
            var_6 = var_9[1] + -1;
            var_9[1] = var_6;
            goto LAB_00105338;
          }
          var_13 = var_16[1];
          var_17 = *(type_3 **)(var_13 + 4);
          var_16[1] = (int)var_17;
        } while (var_17 != (type_3 *)0x0);
        var_6 = var_9[1];
        *(int **)(var_13 + 4) = var_16;
LAB_001053bc:
        var_9[3] = (int)var_16;
      }
LAB_00105350:
      var_14 = *(type_5 **)(var_15 + 0x2a4130);
      var_9[1] = var_6 + 1;
      (*var_14)(var_9[5]);
      return (void *)0x1;
    }
    (**(type_5 **)(var_15 + 0x2a43b8))
              (*(int *)(var_15 + 0x2a3694) + -0x4adc,*(int *)(var_15 + 0x2a3694) + -0x4b20,0x232,
               *(int *)(var_15 + 0x2a3694) + -0x4a10);
  }
  var_14 = *(type_5 **)(var_15 + 0x2a43b8);
  var_6 = *(int *)(var_15 + 0x2a3694) + -0x4b04;
  (*var_14)(var_6,*(int *)(var_15 + 0x2a3694) + -0x4b20,0x231,
             *(int *)(var_15 + 0x2a3694) + -0x4a10);
  if (var_6 == 0) {
    (**(type_5 **)(var_14 + 0x2a41a0))
              (*(int *)(var_14 + 0x2a347c) + -0x4b04,*(int *)(var_14 + 0x2a347c) + -0x4b20,0x27c,
               *(int *)(var_14 + 0x2a347c) + -0x4a24,var_14 + 0x2ab448);
  }
  else if (*(int *)(var_6 + 0x18) == -0x54535255) {
    return (void *)(uint)(*(int *)(var_6 + 4) == 0);
  }
  var_15 = *(type_5 **)(var_14 + 0x2a41a0);
  var_5 = (type_3 *)(*(int *)(var_14 + 0x2a347c) + -0x4b20);
  var_6 = *(int *)(var_14 + 0x2a347c) + -0x4adc;
  (*var_15)(var_6,var_5,0x27d,*(int *)(var_14 + 0x2a347c) + -0x4a24);
  if (var_6 != 0) {
    if (*(int *)(var_6 + 0x18) == -0x54535255) {
      if (var_5 != (type_3 *)0x0) {
        (**(type_5 **)(var_15 + 0x2a41f8))(*(type_3 *)(var_6 + 0x14));
        for (var_17 = *(type_3 **)(var_6 + 8); var_17 != (type_3 *)0x0;
            var_17 = (type_3 *)var_17[1]) {
          *var_5 = *var_17;
          var_5 = var_5 + 1;
        }
        (**(type_5 **)(var_15 + 0x2a3e90))(*(type_3 *)(var_6 + 0x14));
        return (void *)0x1;
      }
      return (void *)0x0;
    }
    (**(type_5 **)(var_15 + 0x2a4118))
              (*(int *)(var_15 + 0x2a33f4) + -0x4adc,*(int *)(var_15 + 0x2a33f4) + -0x4b20,0x2a4,
               *(int *)(var_15 + 0x2a33f4) + -19000);
  }
  var_14 = *(type_5 **)(var_15 + 0x2a4118);
  var_6 = *(int *)(var_15 + 0x2a33f4) + -0x4b04;
  (*var_14)(var_6,*(int *)(var_15 + 0x2a33f4) + -0x4b20,0x2a3,
             *(int *)(var_15 + 0x2a33f4) + -19000);
  var_9 = (int *)(**(type_5 **)(var_14 + 0x2a3d78))(0x1c);
  *(type_6 *)(var_9 + 5) = 0;
  *(type_6 *)((int)var_9 + 0x15) = 0;
  *(type_6 *)((int)var_9 + 0x16) = 0;
  *(type_6 *)((int)var_9 + 0x17) = 0;
  *(type_6 *)(var_9 + 6) = 0;
  *(type_6 *)((int)var_9 + 0x19) = 0;
  *(type_6 *)((int)var_9 + 0x1a) = 0;
  *(type_6 *)((int)var_9 + 0x1b) = 0;
  if (var_6 == 0) {
    var_6 = -1;
  }
  var_14 = *(type_5 **)(var_14 + 0x2a4050);
  *var_9 = var_6;
  var_9[1] = 0;
  var_9[2] = 0;
  var_9[3] = 0;
  var_9[4] = 0;
  var_6 = (*var_14)();
  var_9[5] = var_6;
  var_9[6] = -0x54535255;
  return var_9;
}


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

int * MASKED(int param_1,uint param_2)

{
  uint uVar1;
  undefined *puVar2;
  int *piVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 uVar7;
  undefined *puVar8;
  undefined *puVar9;
  int iVar10;
  int iVar11;
  int *piVar12;
  undefined *puVar13;
  code *pcVar14;
  code *pcVar15;
  code *pcVar16;
  
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x4b04,PTR_s_t_to_left_003a88e4 + -0x4b20,0x18a,
               PTR_s_t_to_left_003a88e4 + -0x49d8);
  }
  else if (*(int *)(param_1 + 0x18) == -0x54535255) {
    if (*(uint *)(param_1 + 4) <= param_2) {
      return (int *)0x0;
    }
    (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(param_1 + 0x14));
    if (param_2 != 0) {
      if (*(int *)(param_1 + 4) - 1U != param_2) {
        puVar5 = *(undefined4 **)(param_1 + 8);
        if (0 < (int)param_2) {
          uVar1 = 0;
          do {
            uVar1 = uVar1 + 1;
            puVar5 = (undefined4 *)puVar5[1];
          } while (uVar1 != param_2);
        }
        piVar12 = (int *)*puVar5;
        (*(code *)PTR_UnlockSemaphoreInfo_003a9380)();
        return piVar12;
      }
      piVar12 = (int *)**(undefined4 **)(param_1 + 0xc);
      (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));
      return piVar12;
    }
    piVar12 = (int *)**(undefined4 **)(param_1 + 8);
    (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(param_1 + 0x14));
    return piVar12;
  }
  iVar10 = 0x18b;
  puVar9 = PTR_s_t_to_left_003a88e4 + -0x4b20;
  puVar5 = (undefined4 *)(PTR_s_t_to_left_003a88e4 + -0x4adc);
  puVar13 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)();
  if (puVar5 != (undefined4 *)0x0) {
    if (puVar5[6] == -0x54535255) {
      if ((((iVar10 != 0) && (puVar9 <= (undefined *)puVar5[1])) &&
          ((undefined *)puVar5[1] != (undefined *)*puVar5)) &&
         (piVar12 = (int *)(**(code **)(puVar13 + 0x2a4868))(8), piVar12 != (int *)0x0)) {
        pcVar14 = *(code **)(puVar13 + 0x2a4674);
        uVar7 = puVar5[5];
        *piVar12 = iVar10;
        piVar12[1] = 0;
        (*pcVar14)(uVar7);
        puVar2 = (undefined *)puVar5[1];
        if (puVar2 == (undefined *)0x0) {
          if (puVar5[4] == 0) {
            puVar5[4] = piVar12;
          }
          puVar5[2] = piVar12;
          puVar5[3] = piVar12;
        }
        else {
          iVar10 = puVar5[4];
          if (puVar9 == (undefined *)0x0) {
            iVar6 = puVar5[2];
            if (iVar6 == iVar10) {
              puVar5[4] = piVar12;
              piVar12[1] = iVar6;
              puVar5[2] = piVar12;
            }
            else {
              piVar12[1] = iVar6;
              puVar5[2] = piVar12;
            }
          }
          else if (puVar2 == puVar9) {
            if (iVar10 == 0) {
              puVar5[4] = piVar12;
            }
            *(int **)(puVar5[3] + 4) = piVar12;
            puVar5[3] = piVar12;
          }
          else {
            iVar6 = puVar5[2];
            iVar11 = *(int *)(iVar6 + 4);
            piVar12[1] = iVar11;
            if (1 < (int)puVar9) {
              puVar8 = (undefined *)0x1;
              do {
                iVar6 = *(int *)(iVar6 + 4);
                puVar8 = puVar8 + 1;
                iVar11 = *(int *)(iVar6 + 4);
                piVar12[1] = iVar11;
              } while (puVar8 != puVar9);
            }
            *(int *)(iVar6 + 4) = iVar11;
            if (*(int *)(iVar11 + 4) == iVar10) {
              puVar5[4] = iVar11;
            }
          }
        }
        pcVar14 = *(code **)(puVar13 + 0x2a430c);
        puVar5[1] = puVar2 + 1;
        (*pcVar14)(puVar5[5]);
        return (int *)0x1;
      }
      return (int *)0x0;
    }
    (**(code **)(puVar13 + 0x2a4594))
              (*(int *)(puVar13 + 0x2a3870) + -0x4adc,*(int *)(puVar13 + 0x2a3870) + -0x4b20,0x1c9,
               *(int *)(puVar13 + 0x2a3870) + -0x49f0);
  }
  puVar5 = (undefined4 *)&DAT_000001c8;
  pcVar15 = *(code **)(puVar13 + 0x2a4594);
  iVar10 = *(int *)(puVar13 + 0x2a3870) + -0x49f0;
  pcVar14 = (code *)(*(int *)(puVar13 + 0x2a3870) + -0x4b20);
  piVar12 = (int *)(*(int *)(puVar13 + 0x2a3870) + -0x4b04);
  (*pcVar15)();
  if (piVar12 != (int *)0x0) {
    if (piVar12[6] == -0x54535255) {
      if (((pcVar14 == (code *)0x0) || (iVar10 == 0)) ||
         ((piVar12[1] == *piVar12 ||
          (piVar3 = (int *)(**(code **)(pcVar15 + 0x2a468c))(8), piVar3 == (int *)0x0)))) {
        return (int *)0x0;
      }
      pcVar16 = *(code **)(pcVar15 + 0x2a4498);
      iVar11 = 0;
      iVar6 = piVar12[5];
      *piVar3 = iVar10;
      (*pcVar16)(iVar6);
      puVar4 = (undefined4 *)piVar12[2];
      piVar3[1] = (int)puVar4;
      if (puVar4 == (undefined4 *)0x0) {
        iVar10 = piVar12[1];
        piVar12[2] = (int)piVar3;
LAB_00105410:
        piVar12[3] = (int)piVar3;
      }
      else {
        do {
          iVar6 = (*pcVar14)(iVar10,*puVar4);
          if (iVar6 < 0) {
            iVar10 = piVar12[1];
LAB_00105338:
            if (iVar11 != 0) {
              *(int **)(iVar11 + 4) = piVar3;
              if (piVar3[1] != 0) goto LAB_00105350;
              goto LAB_001053bc;
            }
            iVar6 = piVar3[1];
            piVar12[2] = (int)piVar3;
            if (iVar6 != 0) goto LAB_00105350;
            piVar12[2] = (int)piVar3;
            goto LAB_00105410;
          }
          if ((puVar5 != (undefined4 *)0x0) && (iVar6 == 0)) {
            puVar4 = (undefined4 *)piVar3[1];
            *puVar5 = *puVar4;
            piVar3[1] = puVar4[1];
            if (iVar11 != 0) {
              uVar7 = (**(code **)(pcVar15 + 0x2a3d70))(*(undefined4 *)(iVar11 + 4));
              *(undefined4 *)(iVar11 + 4) = uVar7;
            }
            iVar10 = piVar12[1] + -1;
            piVar12[1] = iVar10;
            goto LAB_00105338;
          }
          iVar11 = piVar3[1];
          puVar4 = *(undefined4 **)(iVar11 + 4);
          piVar3[1] = (int)puVar4;
        } while (puVar4 != (undefined4 *)0x0);
        iVar10 = piVar12[1];
        *(int **)(iVar11 + 4) = piVar3;
LAB_001053bc:
        piVar12[3] = (int)piVar3;
      }
LAB_00105350:
      pcVar14 = *(code **)(pcVar15 + 0x2a4130);
      piVar12[1] = iVar10 + 1;
      (*pcVar14)(piVar12[5]);
      return (int *)0x1;
    }
    (**(code **)(pcVar15 + 0x2a43b8))
              (*(int *)(pcVar15 + 0x2a3694) + -0x4adc,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x232,
               *(int *)(pcVar15 + 0x2a3694) + -0x4a10);
  }
  pcVar14 = *(code **)(pcVar15 + 0x2a43b8);
  iVar10 = *(int *)(pcVar15 + 0x2a3694) + -0x4b04;
  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a3694) + -0x4b20,0x231,
             *(int *)(pcVar15 + 0x2a3694) + -0x4a10);
  if (iVar10 == 0) {
    (**(code **)(pcVar14 + 0x2a41a0))
              (*(int *)(pcVar14 + 0x2a347c) + -0x4b04,*(int *)(pcVar14 + 0x2a347c) + -0x4b20,0x27c,
               *(int *)(pcVar14 + 0x2a347c) + -0x4a24,pcVar14 + 0x2ab448);
  }
  else if (*(int *)(iVar10 + 0x18) == -0x54535255) {
    return (int *)(uint)(*(int *)(iVar10 + 4) == 0);
  }
  pcVar15 = *(code **)(pcVar14 + 0x2a41a0);
  puVar5 = (undefined4 *)(*(int *)(pcVar14 + 0x2a347c) + -0x4b20);
  iVar10 = *(int *)(pcVar14 + 0x2a347c) + -0x4adc;
  (*pcVar15)(iVar10,puVar5,0x27d,*(int *)(pcVar14 + 0x2a347c) + -0x4a24);
  if (iVar10 != 0) {
    if (*(int *)(iVar10 + 0x18) == -0x54535255) {
      if (puVar5 != (undefined4 *)0x0) {
        (**(code **)(pcVar15 + 0x2a41f8))(*(undefined4 *)(iVar10 + 0x14));
        for (puVar4 = *(undefined4 **)(iVar10 + 8); puVar4 != (undefined4 *)0x0;
            puVar4 = (undefined4 *)puVar4[1]) {
          *puVar5 = *puVar4;
          puVar5 = puVar5 + 1;
        }
        (**(code **)(pcVar15 + 0x2a3e90))(*(undefined4 *)(iVar10 + 0x14));
        return (int *)0x1;
      }
      return (int *)0x0;
    }
    (**(code **)(pcVar15 + 0x2a4118))
              (*(int *)(pcVar15 + 0x2a33f4) + -0x4adc,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a4,
               *(int *)(pcVar15 + 0x2a33f4) + -19000);
  }
  pcVar14 = *(code **)(pcVar15 + 0x2a4118);
  iVar10 = *(int *)(pcVar15 + 0x2a33f4) + -0x4b04;
  (*pcVar14)(iVar10,*(int *)(pcVar15 + 0x2a33f4) + -0x4b20,0x2a3,
             *(int *)(pcVar15 + 0x2a33f4) + -19000);
  piVar12 = (int *)(**(code **)(pcVar14 + 0x2a3d78))(0x1c);
  *(undefined1 *)(piVar12 + 5) = 0;
  *(undefined1 *)((int)piVar12 + 0x15) = 0;
  *(undefined1 *)((int)piVar12 + 0x16) = 0;
  *(undefined1 *)((int)piVar12 + 0x17) = 0;
  *(undefined1 *)(piVar12 + 6) = 0;
  *(undefined1 *)((int)piVar12 + 0x19) = 0;
  *(undefined1 *)((int)piVar12 + 0x1a) = 0;
  *(undefined1 *)((int)piVar12 + 0x1b) = 0;
  if (iVar10 == 0) {
    iVar10 = -1;
  }
  pcVar14 = *(code **)(pcVar14 + 0x2a4050);
  *piVar12 = iVar10;
  piVar12[1] = 0;
  piVar12[2] = 0;
  piVar12[3] = 0;
  piVar12[4] = 0;
  iVar10 = (*pcVar14)();
  piVar12[5] = iVar10;
  piVar12[6] = -0x54535255;
  return piVar12;
}

