
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

MagickBooleanType
WritePCDTile(Image *image,char *page_geometry,size_t tile_columns,size_t tile_rows,
            ExceptionInfo *exception)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  ExceptionInfo *pEVar9;
  MagickBooleanType MVar10;
  Image *image_00;
  BlobInfo *pBVar11;
  char *pcVar12;
  Image *pIVar13;
  uint uVar14;
  ExceptionInfo *tile_rows_00;
  size_t sVar15;
  ExceptionInfo *pEVar16;
  int iVar17;
  undefined *puVar18;
  code *pcVar19;
  code *pcVar20;
  int iVar21;
  double dVar22;
  float fVar24;
  double dVar23;
  double dVar25;
  double dVar26;
  double dVar27;
  double dVar28;
  double dVar29;
  double dVar30;
  ExceptionInfo *in_stack_fffffef0;
  ExceptionInfo *local_c0;
  RectangleInfo geometry;
  RectangleInfo border_info;
  GeometryInfo geometry_info;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;
  (*(code *)PTR_SetGeometry_003a9624)(image,&geometry);
  (*(code *)PTR_ParseMetaGeometry_003a907c)
            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);
  if ((geometry.width & 1) != 0) {
    geometry.width = geometry.width - 1;
  }
  if ((geometry.height & 1) != 0) {
    geometry.height = geometry.height - 1;
  }
  pIVar13 = (Image *)geometry.width;
  tile_rows_00 = (ExceptionInfo *)geometry.height;
  iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);
  puVar1 = PTR_LAB_003a88e0;
  if (iVar5 == 0) {
LAB_0025ee40:
    MVar10 = MagickFalse;
  }
  else {
    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);
    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {
      geometry.width = (size_t)geometry_info.rho;
      if ((uVar6 & 8) == 0) goto LAB_0025eebc;
LAB_0025e9ac:
      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {
        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;
      }
      else {
        geometry.height = (size_t)geometry_info.sigma;
      }
      uVar6 = *(uint *)(iVar5 + 0x18);
      sVar15 = *(size_t *)(iVar5 + 0x1c);
      if (geometry.width != uVar6) goto LAB_0025e9e4;
LAB_0025eed0:
      pcVar12 = (char *)geometry.width;
      if (geometry.height != sVar15) goto LAB_0025e9e4;
    }
    else {
      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;
      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;
LAB_0025eebc:
      uVar6 = *(uint *)(iVar5 + 0x18);
      sVar15 = *(size_t *)(iVar5 + 0x1c);
      geometry.height = geometry.width;
      if (geometry.width == uVar6) goto LAB_0025eed0;
LAB_0025e9e4:
      tile_rows_00 = (ExceptionInfo *)image->compose;
      border_info.width = (geometry.width + 1) - uVar6 >> 1;
      border_info.height = (geometry.height - sVar15) + 1 >> 1;
      pIVar13 = (Image *)&border_info;
      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);
      if (iVar7 == 0) goto LAB_0025ee40;
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);
      pcVar12 = *(char **)(iVar7 + 0x18);
      iVar5 = iVar7;
    }
    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&
       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)
                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows
                          ), iVar7 != 0)) {
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);
      iVar5 = iVar7;
    }
    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);
    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);
    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);
    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);
    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    puVar18 = PTR_LAB_003a88e0;
    if (iVar7 == 0) goto LAB_0025ee40;
    if (0 < *(int *)(iVar5 + 0x1c)) {
      pEVar16 = (ExceptionInfo *)0x0;
      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      local_c0 = (ExceptionInfo *)0x0;
      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
      uVar6 = 0;
      do {
        tile_rows_00 = pEVar16;
        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);
        if (iVar8 == 0) break;
        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);
        if (0 < *(int *)(iVar5 + 0x18) << 1) {
          dVar25 = *(double *)(puVar1 + 0x1410);
          iVar21 = 0;
          do {
            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);
            if (NAN(fVar24)) {
              uVar14 = 0;
            }
            else {
              uVar14 = 0;
              if (0.0 < fVar24) {
                if ((double)fVar24 / dVar27 < dVar29) {
                  dVar26 = (double)fVar24 / dVar27 + dVar22;
                  if (dVar25 <= dVar26) {
                    dVar26 = dVar26 - dVar25;
                  }
                  uVar14 = (int)dVar26 & 0xff;
                }
                else {
                  uVar14 = 0xff;
                }
              }
            }
            iVar21 = iVar21 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;
          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);
        }
        tile_rows_00 = pEVar9;
        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);
        if (iVar8 == 0) break;
        iVar21 = *(int *)(iVar7 + 0x18);
        if (0 < iVar21) {
          iVar17 = 0;
          dVar25 = *(double *)(puVar1 + 0x1410);
          dVar28 = *(double *)(puVar2 + -0x5af0);
          dVar26 = *(double *)(puVar2 + -0x5ae8);
          dVar30 = *(double *)(puVar18 + 0x1400);
          do {
            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);
            if (NAN(fVar24)) {
              uVar14 = 0;
            }
            else {
              uVar14 = 0;
              if (0.0 < fVar24) {
                uVar14 = 0xff;
                if ((double)fVar24 / dVar28 < dVar26) {
                  dVar23 = (double)fVar24 / dVar28 + dVar30;
                  if (dVar25 <= dVar23) {
                    dVar23 = dVar23 - dVar25;
                  }
                  uVar14 = (int)dVar23 & 0xff;
                }
              }
            }
            iVar17 = iVar17 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            iVar21 = *(int *)(iVar7 + 0x18);
            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;
          } while (iVar17 < iVar21);
        }
        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);
        tile_rows_00 = pEVar9;
        if (iVar8 == 0) break;
        if (0 < *(int *)(iVar7 + 0x18)) {
          iVar21 = 0;
          dVar25 = *(double *)(puVar1 + 0x1410);
          dVar28 = *(double *)(puVar2 + -0x5af0);
          dVar26 = *(double *)(puVar2 + -0x5ae8);
          dVar30 = *(double *)(puVar18 + 0x1400);
          do {
            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);
            if (fVar24 <= 0.0) {
              uVar14 = 0;
            }
            else {
              dVar23 = (double)fVar24 / dVar28;
              if (dVar23 < dVar26) {
                dVar23 = dVar23 + dVar30;
                if (dVar25 <= dVar23) {
                  dVar23 = dVar23 - dVar25;
                }
                uVar14 = (int)dVar23 & 0xff;
              }
              else {
                uVar14 = 0xff;
              }
            }
            iVar21 = iVar21 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;
          } while (iVar21 < *(int *)(iVar7 + 0x18));
        }
        tile_rows_00 = local_c0;
        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,
                           *(undefined4 *)(iVar5 + 0x1c));
        if (iVar8 == 0) break;
        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);
        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));
        uVar6 = uVar6 + 2;
      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));
    }
    iVar8 = 0x800;
    do {
      pIVar13 = (Image *)0x0;
      iVar8 = iVar8 + -1;
      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);
    } while (iVar8 != 0);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);
    MVar10 = MagickTrue;
  }
  if (iVar4 == *(int *)puVar3) {
    return MVar10;
  }
  puVar18 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (iVar4 == 0) {
    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;
    (**(code **)(puVar18 + 0x14a6a8))
              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,
               iVar5);
LAB_0025f3d8:
    (**(code **)(puVar18 + 0x14a6a8))
              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,
               iVar5 + -0x5a8c);
LAB_0025f3f8:
    (**(code **)(puVar18 + 0x14a6a8))
              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,
               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);
LAB_0025f41c:
    pcVar19 = *(code **)(puVar18 + 0x14a6a8);
    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,
               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);
    iVar21 = *(int *)(pcVar19 + 0x1494a0);
    iVar17 = *(int *)(pcVar19 + 0x14950c);
    iVar4 = iVar21 + 0x48d0;
    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);
    iVar8 = *(int *)(pcVar19 + 0x14956c);
    iVar7 = *(int *)(pcVar19 + 0x14956c);
    iVar5 = *(int *)(pcVar19 + 0x14956c);
    pcVar20 = *(code **)(pcVar19 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;
    (*pcVar20)(iVar4);
    iVar4 = (**(code **)(pcVar19 + 0x14a19c))
                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);
    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    pcVar19 = *(code **)(pcVar19 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    (*pcVar19)(iVar4);
    return 0x810;
  }
  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;
  if (pIVar13 == (Image *)0x0) goto LAB_0025f3f8;
  iVar5 = *(int *)(puVar18 + 0x1499ec);
  if (pIVar13->signature != 0xabacadab) goto LAB_0025f3d8;
  if (pIVar13->debug != MagickFalse) {
    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);
    (**(code **)(puVar18 + 0x14a280))
              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,
               0x46e,in_stack_fffffef0,pIVar13->filename);
  }
  if (pIVar13->columns < pIVar13->rows) {
    in_stack_fffffef0 = tile_rows_00;
    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);
    if (image_00 == (Image *)0x0) {
      return MagickFalse;
    }
    (**(code **)(puVar18 + 0x14a0b0))(image_00);
    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);
    image_00->blob = pBVar11;
    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);
    if (iVar4 == 0) {
      MVar10 = MagickFalse;
      if (pIVar13 == image_00) {
        return MagickFalse;
      }
      goto LAB_0025f04c;
    }
  }
  else {
    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);
    image_00 = pIVar13;
    if (iVar4 == 0) {
      return MagickFalse;
    }
  }
  uVar6 = image_00->colorspace - GRAYColorspace;
  if (uVar6 < 0x1f) {
    pcVar19 = *(code **)(puVar18 + 0x14a220);
    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;
    iVar4 = 0x20;
  }
  else {
    pcVar19 = *(code **)(puVar18 + 0x14a220);
LAB_0025f0b0:
    (*pcVar19)(image_00,0x17,tile_rows_00);
    iVar4 = 0x20;
  }
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,1);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,5);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,10);
  } while (iVar4 != 0);
  iVar4 = 0x24;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,1);
  } while (iVar4 != 0);
  iVar4 = 0x798;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  iVar4 = 0x5fa;
  (**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10);
  (**(code **)(puVar18 + 0x14a07c))(image_00,6);
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  if (pIVar13->columns < pIVar13->rows) {
    (**(code **)(puVar18 + 0x14a07c))(image_00,1);
  }
  else {
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  }
  iVar4 = 0x11fd;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar18 + 0x14a07c))(image_00,0);
  } while (iVar4 != 0);
  WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);
  WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);
  MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);
  (**(code **)(puVar18 + 0x14a728))(image_00);
  if (pIVar13 == image_00) {
    return MVar10;
  }
LAB_0025f04c:
  (**(code **)(puVar18 + 0x149fec))(image_00);
  return MVar10;
}



undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  uint *puVar9;
  uint uVar10;
  uint *puVar11;
  uint *puVar12;
  int iVar13;
  int iVar14;
  undefined *puVar15;
  code *pcVar16;
  code *pcVar17;
  int iVar18;
  double dVar19;
  float fVar21;
  double dVar20;
  double dVar22;
  double dVar23;
  double dVar24;
  double dVar25;
  double dVar26;
  double dVar27;
  uint *puVar28;
  uint *local_c0;
  uint *local_a8;
  uint *local_a4;
  undefined1 auStack_a0 [4];
  undefined1 auStack_9c [4];
  uint local_98;
  uint local_94;
  double local_88;
  double local_80;
  int local_5c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  local_5c = *(int *)PTR___stack_chk_guard_003a9230;
  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);
  (*(code *)PTR_ParseMetaGeometry_003a907c)
            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);
  if (((uint)local_a8 & 1) != 0) {
    local_a8 = (uint *)((int)local_a8 - 1);
  }
  if (((uint)local_a4 & 1) != 0) {
    local_a4 = (uint *)((int)local_a4 - 1);
  }
  puVar9 = local_a8;
  puVar11 = local_a4;
  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);
  puVar1 = PTR_LAB_003a88e0;
  if (iVar4 == 0) {
LAB_0025ee40:
    uVar8 = 0;
  }
  else {
    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);
    if (local_88 < *(double *)(puVar1 + 0x1410)) {
      local_a8 = (uint *)(int)local_88;
      if ((uVar5 & 8) == 0) goto LAB_0025eebc;
LAB_0025e9ac:
      if (*(double *)(puVar1 + 0x1410) <= local_80) {
        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);
      }
      else {
        local_a4 = (uint *)(int)local_80;
      }
      puVar9 = *(uint **)(iVar4 + 0x18);
      puVar12 = *(uint **)(iVar4 + 0x1c);
      if (local_a8 != puVar9) goto LAB_0025e9e4;
LAB_0025eed0:
      puVar11 = local_a8;
      if (local_a4 != puVar12) goto LAB_0025e9e4;
    }
    else {
      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);
      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;
LAB_0025eebc:
      puVar9 = *(uint **)(iVar4 + 0x18);
      puVar12 = *(uint **)(iVar4 + 0x1c);
      local_a4 = local_a8;
      if (local_a8 == puVar9) goto LAB_0025eed0;
LAB_0025e9e4:
      puVar11 = *(uint **)(param_1 + 0x264);
      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;
      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;
      puVar9 = &local_98;
      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);
      if (iVar6 == 0) goto LAB_0025ee40;
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
      puVar11 = *(uint **)(iVar6 + 0x18);
      iVar4 = iVar6;
    }
    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&
       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)
                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0
       )) {
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
      iVar4 = iVar6;
    }
    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);
    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);
    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);
    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);
    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    puVar15 = PTR_LAB_003a88e0;
    if (iVar6 == 0) goto LAB_0025ee40;
    if (0 < *(int *)(iVar4 + 0x1c)) {
      puVar9 = (uint *)0x0;
      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      local_c0 = (uint *)0x0;
      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
      uVar5 = 0;
      do {
        puVar11 = puVar9;
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);
        if (iVar7 == 0) break;
        puVar12 = (uint *)((int)puVar9 >> 1);
        if (0 < *(int *)(iVar4 + 0x18) << 1) {
          dVar22 = *(double *)(puVar1 + 0x1410);
          iVar18 = 0;
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);
            if (NAN(fVar21)) {
              uVar10 = 0;
            }
            else {
              uVar10 = 0;
              if (0.0 < fVar21) {
                if ((double)fVar21 / dVar24 < dVar26) {
                  dVar23 = (double)fVar21 / dVar24 + dVar19;
                  if (dVar22 <= dVar23) {
                    dVar23 = dVar23 - dVar22;
                  }
                  uVar10 = (int)dVar23 & 0xff;
                }
                else {
                  uVar10 = 0xff;
                }
              }
            }
            iVar18 = iVar18 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);
        }
        puVar11 = puVar12;
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);
        if (iVar7 == 0) break;
        iVar18 = *(int *)(iVar6 + 0x18);
        if (0 < iVar18) {
          iVar14 = 0;
          dVar22 = *(double *)(puVar1 + 0x1410);
          dVar25 = *(double *)(puVar2 + -0x5af0);
          dVar23 = *(double *)(puVar2 + -0x5ae8);
          dVar27 = *(double *)(puVar15 + 0x1400);
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);
            if (NAN(fVar21)) {
              uVar10 = 0;
            }
            else {
              uVar10 = 0;
              if (0.0 < fVar21) {
                uVar10 = 0xff;
                if ((double)fVar21 / dVar25 < dVar23) {
                  dVar20 = (double)fVar21 / dVar25 + dVar27;
                  if (dVar22 <= dVar20) {
                    dVar20 = dVar20 - dVar22;
                  }
                  uVar10 = (int)dVar20 & 0xff;
                }
              }
            }
            iVar14 = iVar14 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar18 = *(int *)(iVar6 + 0x18);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar14 < iVar18);
        }
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);
        puVar11 = puVar12;
        if (iVar7 == 0) break;
        if (0 < *(int *)(iVar6 + 0x18)) {
          iVar18 = 0;
          dVar22 = *(double *)(puVar1 + 0x1410);
          dVar25 = *(double *)(puVar2 + -0x5af0);
          dVar23 = *(double *)(puVar2 + -0x5ae8);
          dVar27 = *(double *)(puVar15 + 0x1400);
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);
            if (fVar21 <= 0.0) {
              uVar10 = 0;
            }
            else {
              dVar20 = (double)fVar21 / dVar25;
              if (dVar20 < dVar23) {
                dVar20 = dVar20 + dVar27;
                if (dVar22 <= dVar20) {
                  dVar20 = dVar20 - dVar22;
                }
                uVar10 = (int)dVar20 & 0xff;
              }
              else {
                uVar10 = 0xff;
              }
            }
            iVar18 = iVar18 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar18 < *(int *)(iVar6 + 0x18));
        }
        puVar11 = local_c0;
        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,
                           *(undefined4 *)(iVar4 + 0x1c));
        if (iVar7 == 0) break;
        puVar9 = (uint *)((int)puVar9 + 2);
        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);
        uVar5 = uVar5 + 2;
      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));
    }
    iVar7 = 0x800;
    do {
      puVar9 = (uint *)0x0;
      iVar7 = iVar7 + -1;
      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);
    } while (iVar7 != 0);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
    uVar8 = 1;
  }
  if (local_5c == *(int *)puVar3) {
    return uVar8;
  }
  iVar4 = local_5c;
  puVar15 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (iVar4 == 0) {
    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,
               iVar6);
LAB_0025f3d8:
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,
               iVar6 + -0x5a8c);
LAB_0025f3f8:
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,
               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);
LAB_0025f41c:
    pcVar16 = *(code **)(puVar15 + 0x14a6a8);
    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,
               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);
    iVar14 = *(int *)(pcVar16 + 0x1494a0);
    iVar13 = *(int *)(pcVar16 + 0x14950c);
    iVar4 = iVar14 + 0x48d0;
    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);
    iVar18 = *(int *)(pcVar16 + 0x14956c);
    iVar7 = *(int *)(pcVar16 + 0x14956c);
    iVar6 = *(int *)(pcVar16 + 0x14956c);
    pcVar17 = *(code **)(pcVar16 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;
    (*pcVar17)(iVar4);
    iVar4 = (**(code **)(pcVar16 + 0x14a19c))
                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);
    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    pcVar16 = *(code **)(pcVar16 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    (*pcVar16)(iVar4);
    return 0x810;
  }
  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;
  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;
  iVar6 = *(int *)(puVar15 + 0x1499ec);
  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;
  if (puVar9[0xcd4] != 0) {
    (**(code **)(puVar15 + 0x14a280))
              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,
               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);
  }
  if (puVar9[6] < puVar9[7]) {
    puVar28 = puVar11;
    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);
    if (puVar12 == (uint *)0x0) {
      return 0;
    }
    (**(code **)(puVar15 + 0x14a0b0))(puVar12);
    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);
    puVar12[0xcd2] = uVar5;
    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);
    if (iVar4 == 0) {
      uVar8 = 0;
      if (puVar9 == puVar12) {
        return 0;
      }
      goto LAB_0025f04c;
    }
  }
  else {
    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);
    puVar12 = puVar9;
    if (iVar4 == 0) {
      return 0;
    }
  }
  if (puVar12[1] - 3 < 0x1f) {
    pcVar16 = *(code **)(puVar15 + 0x14a220);
    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;
    iVar4 = 0x20;
  }
  else {
    pcVar16 = *(code **)(puVar15 + 0x14a220);
LAB_0025f0b0:
    (*pcVar16)(puVar12,0x17,puVar11);
    iVar4 = 0x20;
  }
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);
  } while (iVar4 != 0);
  iVar4 = 0x24;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  } while (iVar4 != 0);
  iVar4 = 0x798;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 0x5fa;
  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);
  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  if (puVar9[6] < puVar9[7]) {
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  }
  else {
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  }
  iVar4 = 0x11fd;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  FUN_0025e878(puVar12,0xc0,0x80,puVar11);
  FUN_0025e878(puVar12,0x180,0x100,puVar11);
  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);
  (**(code **)(puVar15 + 0x14a728))(puVar12);
  if (puVar9 == puVar12) {
    return uVar8;
  }
LAB_0025f04c:
  (**(code **)(puVar15 + 0x149fec))(puVar12);
  return uVar8;
}


lui gp,0x15
addiu gp,gp,0x2038
addu gp,gp,t9
lw v0,-0x7680(gp)
addiu sp,sp,-0xe8
lw t9,-0x728c(gp)
sdc1 f30,0xe0(sp)
sw v0,0x3c(sp)
sw s0,0x90(sp)
addiu s0,sp,0x40
sw gp,0x18(sp)
sw ra,0xb4(sp)
sw s6,0xa8(sp)
sw s4,0xa0(sp)
or s4,a3,zero
sw s3,0x9c(sp)
or s3,a2,zero
sw s2,0x98(sp)
or s2,a1,zero
sw s1,0x94(sp)
or a1,s0,zero
sw s8,0xb0(sp)
or s1,a0,zero
sw s7,0xac(sp)
sw s5,0xa4(sp)
lw v0,0x0(v0)
sdc1 f28,0xd8(sp)
lw s6,-0x7f64(gp)
sdc1 f26,0xd0(sp)
sw v0,0x8c(sp)
sdc1 f24,0xc8(sp)
sdc1 f22,0xc0(sp)
jalr t9
_sdc1 f20,0xb8(sp)
addiu v0,sp,0x44
lw gp,0x18(sp)
addiu a1,sp,0x48
addiu a2,sp,0x4c
sw v0,0x10(sp)
addiu a0,s6,-0x5b1c
lw t9,-0x7834(gp)
jalr t9
_or a3,s0,zero
lw a1,0x40(sp)
andi v0,a1,0x1
beq v0,zero,0x0025e93c
_lw gp,0x18(sp)
addiu a1,a1,-0x1
sw a1,0x40(sp)
lw a2,0x44(sp)
andi v0,a2,0x1
beq v0,zero,0x0025e954
_lw t9,-0x72c4(gp)
addiu a2,a2,-0x1
sw a2,0x44(sp)
li a3,0x3
sw s4,0x10(sp)
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
beq v0,zero,0x0025ee40
_or s5,v0,zero
lw t9,-0x745c(gp)
addiu a1,sp,0x60
lw s7,-0x7fd0(gp)
jalr t9
_addiu a0,s6,-0x5b1c
ldc1 f0,0x60(sp)
ldc1 f2,0x1410(s7)
c.le.D f2,f0
bc1t 0x0025ee9c
_lw gp,0x18(sp)
trunc.w.D f0,f0
andi v0,v0,0x8
mfc1 v1,f0
beq v0,zero,0x0025eebc
_sw v1,0x40(sp)
ldc1 f0,0x68(sp)
ldc1 f2,0x1410(s7)
c.le.D f2,f0
bc1f 0x1,0x0025ef44
_lui v0,0x8000
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 a0,f0
or a0,a0,v0
sw a0,0x44(sp)
lw a1,0x18(s5)
beq v1,a1,0x0025eed0
_lw a2,0x1c(s5)
addiu v0,v1,0x1
lw t9,-0x77ec(gp)
subu v1,a0,a2
lw a2,0x264(s1)
subu v0,v0,a1
addiu v1,v1,0x1
srl v0,v0,0x1
srl v1,v1,0x1
addiu a1,sp,0x50
sw v0,0x50(sp)
or a3,s4,zero
sw v1,0x54(sp)
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
beq v0,zero,0x0025ee40
_or s0,v0,zero
lw t9,-0x7964(gp)
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
lw v1,0x18(s0)
bne s2,v1,0x0025ea4c
_lw t9,-0x72c4(gp)
lw v0,0x1c(s0)
beq v0,s3,0x0025ea84
_nop
or a1,s2,zero
lw a3,0x250(s0)
or a2,s3,zero
sw s4,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x0025ea84
_or s2,v0,zero
lw t9,-0x7964(gp)
or a0,s0,zero
jalr t9
_or s0,s2,zero
lw gp,0x18(sp)
lw t9,-0x7730(gp)
li a1,0x1c
or a2,s4,zero
jalr t9
_or a0,s0,zero
li a3,0x3
lw gp,0x18(sp)
or a0,s0,zero
lw a2,0x1c(s0)
lw a1,0x18(s0)
sw s4,0x10(sp)
lw t9,-0x72c4(gp)
srl a2,a2,0x1
jalr t9
_srl a1,a1,0x1
lw gp,0x18(sp)
beq v0,zero,0x0025ee40
_or s2,v0,zero
lw v0,0x1c(s0)
blez v0,0x0025edf8
_lw a0,-0x7fd0(gp)
or s3,zero,zero
lw v0,-0x7fc8(gp)
or s5,zero,zero
lw v1,-0x7fc8(gp)
ldc1 f0,0x1400(a0)
sw v0,0x30(sp)
ldc1 f24,-0x5af0(v0)
sw zero,0x28(sp)
ldc1 f28,-0x5ae8(v1)
sw v1,0x34(sp)
sw a0,0x38(sp)
sdc1 f0,0x20(sp)
lw a3,0x18(s0)
li v0,0x2
lw t9,-0x714c(gp)
or a1,zero,zero
sw s4,0x14(sp)
or a2,s5,zero
sw v0,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x0025edf8
_or s6,v0,zero
lw v0,0x18(s0)
sll v0,v0,0x1
blez v0,0x0025ebe0
_sra v0,s5,0x1
ldc1 f20,0x1410(s7)
or s8,zero,zero
lw v0,0x2d0(s0)
lw v0,0x8(v0)
sll v0,v0,0x2
addu v0,s6,v0
lwc1 f0,0x0(v0)
c.un.S f0,f0
bc1t 0x2,0x0025eee0
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x3,0x0025ebac
_or a1,zero,zero
cvt.d.S f0,f0
div.D f0,f0,f24
c.le.D f28,f0
bc1t 0x4,0x0025ef34
_ldc1 f2,0x20(sp)
add.D f0,f0,f2
c.le.D f20,f0
bc1t 0x5,0x0025eef8
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a1,f0
andi a1,a1,0xff
lw t9,-0x78d4(gp)
or a0,s1,zero
jalr t9
_addiu s8,s8,0x1
lw v0,0x18(s0)
lw v1,0x2c0(s0)
lw gp,0x18(sp)
sll v0,v0,0x1
sll v1,v1,0x2
slt v0,s8,v0
bne v0,zero,0x0025eb50
_addu s6,s6,v1
sra v0,s5,0x1
lw a3,0x18(s2)
lw t9,-0x714c(gp)
or a1,zero,zero
or a2,v0,zero
sw v0,0x2c(sp)
li v0,0x1
sw s4,0x14(sp)
or a0,s2,zero
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
beq v0,zero,0x0025edf8
_or s8,v0,zero
lw a3,0x18(s2)
blez a3,0x0025ecc4
_lw v0,0x30(sp)
or s6,zero,zero
ldc1 f20,0x1410(s7)
ldc1 f26,-0x5af0(v0)
lw v0,0x34(sp)
ldc1 f22,-0x5ae8(v0)
lw v0,0x38(sp)
ldc1 f30,0x1400(v0)
lw v0,0x2d0(s0)
lw v0,0x14(v0)
sll v0,v0,0x2
addu v0,s8,v0
lwc1 f0,0x0(v0)
c.un.S f0,f0
bc1t 0x6,0x0025eee8
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x7,0x0025ec98
_or a1,zero,zero
cvt.d.S f0,f0
div.D f0,f0,f26
c.le.D f22,f0
bc1t 0x0025ec98
_li a1,0xff
add.D f0,f0,f30
c.le.D f20,f0
bc1t 0x1,0x0025ef0c
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a1,f0
andi a1,a1,0xff
lw t9,-0x78d4(gp)
or a0,s1,zero
jalr t9
_addiu s6,s6,0x1
lw v0,0x2c0(s0)
lw a3,0x18(s2)
lw gp,0x18(sp)
sll v0,v0,0x2
slt a0,s6,a3
bne a0,zero,0x0025ec3c
_addu s8,s8,v0
lw t9,-0x714c(gp)
li v0,0x1
lw a2,0x2c(sp)
or a1,zero,zero
sw s4,0x14(sp)
or a0,s2,zero
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
beq v0,zero,0x0025edf8
_or s6,v0,zero
lw v0,0x18(s2)
blez v0,0x0025eda0
_lw v0,0x30(sp)
or s8,zero,zero
ldc1 f20,0x1410(s7)
ldc1 f26,-0x5af0(v0)
lw v0,0x34(sp)
ldc1 f22,-0x5ae8(v0)
lw v0,0x38(sp)
ldc1 f30,0x1400(v0)
lw v0,0x2d0(s0)
lw v0,0x20(v0)
sll v0,v0,0x2
addu v0,s6,v0
lwc1 f0,0x0(v0)
c.un.S f0,f0
bc1t 0x2,0x0025eef0
_mtc1 zero,f2
c.le.S f0,f2
bc1t 0x3,0x0025eef0
_nop
cvt.d.S f0,f0
div.D f0,f0,f26
c.le.D f22,f0
bc1t 0x4,0x0025ef3c
_nop
add.D f0,f0,f30
c.le.D f20,f0
bc1t 0x5,0x0025ef20
_lui v0,0x8000
trunc.w.D f0,f0
mfc1 a1,f0
andi a1,a1,0xff
lw t9,-0x78d4(gp)
or a0,s1,zero
jalr t9
_addiu s8,s8,0x1
lw v1,0x2c0(s0)
lw v0,0x18(s2)
lw gp,0x18(sp)
sll v1,v1,0x2
slt v0,s8,v0
bne v0,zero,0x0025ed18
_addu s6,s6,v1
lw a1,-0x7fc4(gp)
or a3,s3,zero
lw v0,0x1c(s0)
or a0,s1,zero
lw s6,0x28(sp)
lw t9,-0x7bfc(gp)
addiu a1,a1,-0x15c
sw zero,0x10(sp)
or a2,s6,zero
jalr t9
_sw v0,0x14(sp)
beq v0,zero,0x0025edf8
_lw gp,0x18(sp)
addiu v1,s3,0x2
lw v0,0x1c(s0)
addiu s5,s5,0x2
sltu s3,v1,s3
addu a0,s3,s6
slt v0,s5,v0
sw a0,0x28(sp)
bne v0,zero,0x0025eb08
_or s3,v1,zero
li s3,0x800
lw t9,-0x78d4(gp)
or a1,zero,zero
addiu s3,s3,-0x1
jalr t9
_or a0,s1,zero
bne s3,zero,0x0025edfc
_lw gp,0x18(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s2,zero
lw gp,0x18(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s0,zero
li v0,0x1
b 0x0025ee44
_lw gp,0x18(sp)
or v0,zero,zero
lw v1,0x3c(sp)
lw a0,0x8c(sp)
lw v1,0x0(v1)
bne a0,v1,0x0025ef54
_lw ra,0xb4(sp)
lw s8,0xb0(sp)
lw s7,0xac(sp)
lw s6,0xa8(sp)
lw s5,0xa4(sp)
lw s4,0xa0(sp)
lw s3,0x9c(sp)
lw s2,0x98(sp)
lw s1,0x94(sp)
lw s0,0x90(sp)
ldc1 f30,0xe0(sp)
ldc1 f28,0xd8(sp)
ldc1 f26,0xd0(sp)
ldc1 f24,0xc8(sp)
ldc1 f22,0xc0(sp)
ldc1 f20,0xb8(sp)
jr ra
_addiu sp,sp,0xe8
sub.D D f0,f0,f2
lui a0,0x8000
andi v0,v0,0x8
trunc.w.D f0,f0
mfc1 v1,f0
or v1,v1,a0
bne v0,zero,0x0025e9ac
_sw v1,0x40(sp)
lw a1,0x18(s5)
or a0,v1,zero
lw a2,0x1c(s5)
bne v1,a1,0x0025e9e0
_sw v1,0x44(sp)
bne a0,a2,0x0025e9e4
_addiu v0,v1,0x1
b 0x0025ea38
_or s0,s5,zero
b 0x0025ebac
_or a1,zero,zero
b 0x0025ec98
_or a1,zero,zero
b 0x0025ed74
_or a1,zero,zero
sub.D D f0,f0,f20
trunc.w.D f0,f0
mfc1 a1,f0
b 0x0025eba8
_or a1,a1,v0
sub.D D f0,f0,f20
trunc.w.D f0,f0
mfc1 a1,f0
b 0x0025ec94
_or a1,a1,v0
sub.D D f0,f0,f20
trunc.w.D f0,f0
mfc1 a1,f0
b 0x0025ed70
_or a1,a1,v0
b 0x0025ebac
_li a1,0xff
b 0x0025ed74
_li a1,0xff
trunc.w.D f0,f0
mfc1 a0,f0
b 0x0025e9d4
_sw a0,0x44(sp)
lw t9,-0x784c(gp)
jalr t9
_nop
(translation_unit "undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}\n\n" (function_definition "undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" type_identifier (function_declarator "FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,uint *param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type 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 "int iVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "float fVar21;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (declaration "double dVar25;" primitive_type identifier ;) (declaration "double dVar26;" primitive_type identifier ;) (declaration "double dVar27;" primitive_type identifier ;) (declaration "uint *puVar28;" type_identifier (pointer_declarator "*puVar28" * identifier) ;) (declaration "uint *local_c0;" type_identifier (pointer_declarator "*local_c0" * identifier) ;) (declaration "uint *local_a8;" type_identifier (pointer_declarator "*local_a8" * identifier) ;) (declaration "uint *local_a4;" type_identifier (pointer_declarator "*local_a4" * identifier) ;) (declaration "undefined1 auStack_a0 [4];" type_identifier (array_declarator "auStack_a0 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [4];" type_identifier (array_declarator "auStack_9c [4]" identifier [ number_literal ]) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "uint local_94;" type_identifier identifier ;) (declaration "double local_88;" primitive_type identifier ;) (declaration "double local_80;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "local_5c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_5c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);" (call_expression "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8)" (parenthesized_expression "(*(code *)PTR_SetGeometry_003a9624)" ( (pointer_expression "*(code *)PTR_SetGeometry_003a9624" * (cast_expression "(code *)PTR_SetGeometry_003a9624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,&local_a8)" ( identifier , (pointer_expression "&local_a8" & identifier) ))) ;) (expression_statement "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);" (call_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" (parenthesized_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)" ( (pointer_expression "*(code *)PTR_ParseMetaGeometry_003a907c" * (cast_expression "(code *)PTR_ParseMetaGeometry_003a907c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" ( (binary_expression "puVar15 + -0x5b1c" identifier + number_literal) , identifier , identifier , (pointer_expression "&local_a8" & identifier) , (pointer_expression "&local_a4" & identifier) ))) ;) (if_statement "if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" if (parenthesized_expression "(((uint)local_a8 & 1) != 0)" ( (binary_expression "((uint)local_a8 & 1) != 0" (parenthesized_expression "((uint)local_a8 & 1)" ( (binary_expression "(uint)local_a8 & 1" (cast_expression "(uint)local_a8" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" { (expression_statement "local_a8 = (uint *)((int)local_a8 - 1);" (assignment_expression "local_a8 = (uint *)((int)local_a8 - 1)" identifier = (cast_expression "(uint *)((int)local_a8 - 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a8 - 1)" ( (binary_expression "(int)local_a8 - 1" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })) (if_statement "if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" if (parenthesized_expression "(((uint)local_a4 & 1) != 0)" ( (binary_expression "((uint)local_a4 & 1) != 0" (parenthesized_expression "((uint)local_a4 & 1)" ( (binary_expression "(uint)local_a4 & 1" (cast_expression "(uint)local_a4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" { (expression_statement "local_a4 = (uint *)((int)local_a4 - 1);" (assignment_expression "local_a4 = (uint *)((int)local_a4 - 1)" identifier = (cast_expression "(uint *)((int)local_a4 - 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a4 - 1)" ( (binary_expression "(int)local_a4 - 1" (cast_expression "(int)local_a4" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })) (expression_statement "puVar9 = local_a8;" (assignment_expression "puVar9 = local_a8" identifier = identifier) ;) (expression_statement "puVar11 = local_a4;" (assignment_expression "puVar11 = local_a4" identifier = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);" (assignment_expression "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,local_a8,local_a4,3,param_4)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0025ee40:\n    uVar8 = 0;\n  }" { (labeled_statement "LAB_0025ee40:\n    uVar8 = 0;" statement_identifier : (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" else (compound_statement "{\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" { (expression_statement "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);" (assignment_expression "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" identifier = (call_expression "(*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" (parenthesized_expression "(*(code *)PTR_ParseGeometry_003a9454)" ( (pointer_expression "*(code *)PTR_ParseGeometry_003a9454" * (cast_expression "(code *)PTR_ParseGeometry_003a9454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15 + -0x5b1c,&local_88)" ( (binary_expression "puVar15 + -0x5b1c" identifier + number_literal) , (pointer_expression "&local_88" & identifier) )))) ;) (if_statement "if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" if (parenthesized_expression "(local_88 < *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_88 < *(double *)(puVar1 + 0x1410)" identifier < (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }" { (expression_statement "local_a8 = (uint *)(int)local_88;" (assignment_expression "local_a8 = (uint *)(int)local_88" identifier = (cast_expression "(uint *)(int)local_88" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((uVar5 & 8) == 0) goto LAB_0025eebc;" if (parenthesized_expression "((uVar5 & 8) == 0)" ( (binary_expression "(uVar5 & 8) == 0" (parenthesized_expression "(uVar5 & 8)" ( (binary_expression "uVar5 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0025eebc;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" statement_identifier : (if_statement "if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" if (parenthesized_expression "(*(double *)(puVar1 + 0x1410) <= local_80)" ( (binary_expression "*(double *)(puVar1 + 0x1410) <= local_80" (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }" { (expression_statement "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" identifier = (cast_expression "(uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (binary_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_80 - *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_80 - *(double *)(puVar1 + 0x1410)" identifier - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal) )))) ;) }) (else_clause "else {\n        local_a4 = (uint *)(int)local_80;\n      }" else (compound_statement "{\n        local_a4 = (uint *)(int)local_80;\n      }" { (expression_statement "local_a4 = (uint *)(int)local_80;" (assignment_expression "local_a4 = (uint *)(int)local_80" identifier = (cast_expression "(uint *)(int)local_80" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })))) (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x18)" * (cast_expression "(uint **)(iVar4 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x1c)" * (cast_expression "(uint **)(iVar4 + 0x1c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (local_a8 != puVar9) goto LAB_0025e9e4;" if (parenthesized_expression "(local_a8 != puVar9)" ( (binary_expression "local_a8 != puVar9" identifier != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) (labeled_statement "LAB_0025eed0:\n      puVar11 = local_a8;" statement_identifier : (expression_statement "puVar11 = local_a8;" (assignment_expression "puVar11 = local_a8" identifier = identifier) ;)) (if_statement "if (local_a4 != puVar12) goto LAB_0025e9e4;" if (parenthesized_expression "(local_a4 != puVar12)" ( (binary_expression "local_a4 != puVar12" identifier != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) }) (else_clause "else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" else (compound_statement "{\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" { (expression_statement "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" identifier = (cast_expression "(uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (binary_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_88 - *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_88 - *(double *)(puVar1 + 0x1410)" identifier - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal) )))) ;) (if_statement "if ((uVar5 & 8) != 0) goto LAB_0025e9ac;" if (parenthesized_expression "((uVar5 & 8) != 0)" ( (binary_expression "(uVar5 & 8) != 0" (parenthesized_expression "(uVar5 & 8)" ( (binary_expression "uVar5 & 8" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0025e9ac;" goto statement_identifier ;)) (labeled_statement "LAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);" statement_identifier : (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x18)" * (cast_expression "(uint **)(iVar4 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;)) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x1c)" * (cast_expression "(uint **)(iVar4 + 0x1c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_a4 = local_a8;" (assignment_expression "local_a4 = local_a8" identifier = identifier) ;) (if_statement "if (local_a8 == puVar9) goto LAB_0025eed0;" if (parenthesized_expression "(local_a8 == puVar9)" ( (binary_expression "local_a8 == puVar9" identifier == identifier) )) (goto_statement "goto LAB_0025eed0;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);" statement_identifier : (expression_statement "puVar11 = *(uint **)(param_1 + 0x264);" (assignment_expression "puVar11 = *(uint **)(param_1 + 0x264)" identifier = (pointer_expression "*(uint **)(param_1 + 0x264)" * (cast_expression "(uint **)(param_1 + 0x264)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x264)" ( (binary_expression "param_1 + 0x264" identifier + number_literal) ))))) ;)) (expression_statement "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;" (assignment_expression "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" identifier = (binary_expression "(uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" (call_expression "(uint)((int)local_a8 + (1 - (int)puVar9))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_a8 + (1 - (int)puVar9))" ( (binary_expression "(int)local_a8 + (1 - (int)puVar9)" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(1 - (int)puVar9)" ( (binary_expression "1 - (int)puVar9" number_literal - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (expression_statement "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;" (assignment_expression "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" identifier = (binary_expression "(uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" (call_expression "(uint)((int)local_a4 + (1 - (int)puVar12))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_a4 + (1 - (int)puVar12))" ( (binary_expression "(int)local_a4 + (1 - (int)puVar12)" (cast_expression "(int)local_a4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(1 - (int)puVar12)" ( (binary_expression "1 - (int)puVar12" number_literal - (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (expression_statement "puVar9 = &local_98;" (assignment_expression "puVar9 = &local_98" identifier = (pointer_expression "&local_98" & identifier)) ;) (expression_statement "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" identifier = (call_expression "(*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" (parenthesized_expression "(*(code *)PTR_BorderImage_003a90c4)" ( (pointer_expression "*(code *)PTR_BorderImage_003a90c4" * (cast_expression "(code *)PTR_BorderImage_003a90c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar9,puVar11,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x18);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar6 + 0x18)" * (cast_expression "(uint **)(iVar6 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) }))) (if_statement "if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" if (parenthesized_expression "(((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       ))" ( (binary_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" (parenthesized_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3))" ( (binary_expression "(param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)" (parenthesized_expression "(param_2 != puVar11)" ( (binary_expression "param_2 != puVar11" identifier != identifier) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != param_3)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != param_3" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != identifier) ))) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" ( (comma_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x250)" * (cast_expression "(undefined4 *)(iVar4 + 0x250)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x250)" ( (binary_expression "iVar4 + 0x250" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0x1c,param_4)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);" (assignment_expression "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" identifier = (cast_expression "(uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar4 + 0x1c) >> 1)" ( (binary_expression "*(uint *)(iVar4 + 0x1c) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x1c)" * (cast_expression "(uint *)(iVar4 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);" (assignment_expression "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1)" identifier = (cast_expression "(uint *)(*(uint *)(iVar4 + 0x18) >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar4 + 0x18) >> 1)" ( (binary_expression "*(uint *)(iVar4 + 0x18) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x18)" * (cast_expression "(uint *)(iVar4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar9,puVar11,3,param_4)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar15 = PTR_LAB_003a88e0;" (assignment_expression "puVar15 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (if_statement "if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" if (parenthesized_expression "(0 < *(int *)(iVar4 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar4 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" { (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "local_c0 = (uint *)0x0;" (assignment_expression "local_c0 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));" do (compound_statement "{\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      }" { (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (uint *)((int)puVar9 >> 1);" (assignment_expression "puVar12 = (uint *)((int)puVar9 >> 1)" identifier = (cast_expression "(uint *)((int)puVar9 >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 >> 1)" ( (binary_expression "(int)puVar9 >> 1" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" if (parenthesized_expression "(0 < *(int *)(iVar4 + 0x18) << 1)" ( (binary_expression "0 < *(int *)(iVar4 + 0x18) << 1" number_literal < (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) << number_literal)) )) (compound_statement "{\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" { (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 8)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar21))" ( (call_expression "NAN(fVar21)" identifier (argument_list "(fVar21)" ( identifier ))) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar21)" ( (binary_expression "0.0 < fVar21" number_literal < identifier) )) (compound_statement "{\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" { (if_statement "if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }" if (parenthesized_expression "((double)fVar21 / dVar24 < dVar26)" ( (binary_expression "(double)fVar21 / dVar24 < dVar26" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }" { (expression_statement "dVar23 = (double)fVar21 / dVar24 + dVar19;" (assignment_expression "dVar23 = (double)fVar21 / dVar24 + dVar19" identifier = (binary_expression "(double)fVar21 / dVar24 + dVar19" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }" if (parenthesized_expression "(dVar22 <= dVar23)" ( (binary_expression "dVar22 <= dVar23" identifier <= identifier) )) (compound_statement "{\n                    dVar23 = dVar23 - dVar22;\n                  }" { (expression_statement "dVar23 = dVar23 - dVar22;" (assignment_expression "dVar23 = dVar23 - dVar22" identifier = (binary_expression "dVar23 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar23 & 0xff;" (assignment_expression "uVar10 = (int)dVar23 & 0xff" identifier = (binary_expression "(int)dVar23 & 0xff" (cast_expression "(int)dVar23" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                  uVar10 = 0xff;\n                }" else (compound_statement "{\n                  uVar10 = 0xff;\n                }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) }))) })) }))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar18 < *(int *)(iVar4 + 0x18) << 1)" ( (binary_expression "iVar18 < *(int *)(iVar4 + 0x18) << 1" identifier < (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) << number_literal)) )) ;) })) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" if (parenthesized_expression "(0 < iVar18)" ( (binary_expression "0 < iVar18" number_literal < identifier) )) (compound_statement "{\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar15 + 0x1400)" * (cast_expression "(double *)(puVar15 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1400)" ( (binary_expression "puVar15 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x14)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar21))" ( (call_expression "NAN(fVar21)" identifier (argument_list "(fVar21)" ( identifier ))) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar21)" ( (binary_expression "0.0 < fVar21" number_literal < identifier) )) (compound_statement "{\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" if (parenthesized_expression "((double)fVar21 / dVar25 < dVar23)" ( (binary_expression "(double)fVar21 / dVar25 < dVar23" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" { (expression_statement "dVar20 = (double)fVar21 / dVar25 + dVar27;" (assignment_expression "dVar20 = (double)fVar21 / dVar25 + dVar27" identifier = (binary_expression "(double)fVar21 / dVar25 + dVar27" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }" if (parenthesized_expression "(dVar22 <= dVar20)" ( (binary_expression "dVar22 <= dVar20" identifier <= identifier) )) (compound_statement "{\n                    dVar20 = dVar20 - dVar22;\n                  }" { (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" identifier = (binary_expression "dVar20 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" identifier = (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) })) })) }))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) ;) })) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,puVar12,iVar18,1,param_4)" ( identifier , number_literal , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" ( (binary_expression "0 < *(int *)(iVar6 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar15 + 0x1400)" * (cast_expression "(double *)(puVar15 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1400)" ( (binary_expression "puVar15 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x20)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" if (parenthesized_expression "(fVar21 <= 0.0)" ( (binary_expression "fVar21 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" else (compound_statement "{\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" { (expression_statement "dVar20 = (double)fVar21 / dVar25;" (assignment_expression "dVar20 = (double)fVar21 / dVar25" identifier = (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }" if (parenthesized_expression "(dVar20 < dVar23)" ( (binary_expression "dVar20 < dVar23" identifier < identifier) )) (compound_statement "{\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }" { (expression_statement "dVar20 = dVar20 + dVar27;" (assignment_expression "dVar20 = dVar20 + dVar27" identifier = (binary_expression "dVar20 + dVar27" identifier + identifier)) ;) (if_statement "if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }" if (parenthesized_expression "(dVar22 <= dVar20)" ( (binary_expression "dVar22 <= dVar20" identifier <= identifier) )) (compound_statement "{\n                  dVar20 = dVar20 - dVar22;\n                }" { (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" identifier = (binary_expression "dVar20 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" identifier = (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                uVar10 = 0xff;\n              }" else (compound_statement "{\n                uVar10 = 0xff;\n              }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar18 < *(int *)(iVar6 + 0x18))" ( (binary_expression "iVar18 < *(int *)(iVar6 + 0x18)" identifier < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "puVar11 = local_c0;" (assignment_expression "puVar11 = local_c0" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x15c" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar9 = (uint *)((int)puVar9 + 2);" (assignment_expression "puVar9 = (uint *)((int)puVar9 + 2)" identifier = (cast_expression "(uint *)((int)puVar9 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + 2)" ( (binary_expression "(int)puVar9 + 2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);" (assignment_expression "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" identifier = (cast_expression "(uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" ( (binary_expression "(uint)(uVar5 + 2 < uVar5) + (int)local_c0" (call_expression "(uint)(uVar5 + 2 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 + 2 < uVar5)" ( (binary_expression "uVar5 + 2 < uVar5" (binary_expression "uVar5 + 2" identifier + number_literal) < identifier) ))) + (cast_expression "(int)local_c0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar5 = uVar5 + 2;" (assignment_expression "uVar5 = uVar5 + 2" identifier = (binary_expression "uVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)puVar9 < *(int *)(iVar4 + 0x1c))" ( (binary_expression "(int)puVar9 < *(int *)(iVar4 + 0x1c)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar7 = 0x800;" (assignment_expression "iVar7 = 0x800" identifier = number_literal) ;) (do_statement "do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);" do (compound_statement "{\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    }" { (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) }))) (if_statement "if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }" if (parenthesized_expression "(local_5c == *(int *)puVar3)" ( (binary_expression "local_5c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) })) (expression_statement "iVar4 = local_5c;" (assignment_expression "iVar4 = local_5c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar15 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c" identifier = (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xd78" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , identifier ))) ;) (labeled_statement "LAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149988) + -0x3784" (pointer_expression "*(int *)(puVar15 + 0x149988)" * (cast_expression "(int *)(puVar15 + 0x149988)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149988)" ( (binary_expression "puVar15 + 0x149988" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "iVar6 + -0x5a8c" identifier + number_literal) ))) ;)) (labeled_statement "LAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xdd0" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;)) (labeled_statement "LAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a6a8);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a6a8)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) ;)) (expression_statement "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xda0" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar14 = *(int *)(pcVar16 + 0x1494a0);" (assignment_expression "iVar14 = *(int *)(pcVar16 + 0x1494a0)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" * (cast_expression "(int *)(pcVar16 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x1494a0)" ( (binary_expression "pcVar16 + 0x1494a0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(pcVar16 + 0x14950c);" (assignment_expression "iVar13 = *(int *)(pcVar16 + 0x14950c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14950c)" * (cast_expression "(int *)(pcVar16 + 0x14950c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14950c)" ( (binary_expression "pcVar16 + 0x14950c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar14 + 0x48d0;" (assignment_expression "iVar4 = iVar14 + 0x48d0" identifier = (binary_expression "iVar14 + 0x48d0" identifier + number_literal)) ;) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" * (cast_expression "(code **)(pcVar16 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x14a19c)" ( (binary_expression "pcVar16 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar4,iVar4,iVar13 + -0x5b08)" ( identifier , identifier , (binary_expression "iVar13 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "iVar18 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar18 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar7 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar6 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "pcVar17 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar17 = *(code **)(pcVar16 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" * (cast_expression "(code **)(pcVar16 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x149a7c)" ( (binary_expression "pcVar16 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar18 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;" (assignment_expression "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar6 + -0x17d8" identifier + number_literal)) ;) (expression_statement "(*pcVar17)(iVar4);" (call_expression "(*pcVar17)(iVar4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" * (cast_expression "(code **)(pcVar16 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x14a19c)" ( (binary_expression "pcVar16 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" ( (binary_expression "iVar14 + 0x48d0" identifier + number_literal) , (binary_expression "*(int *)(pcVar16 + 0x1494a0) + 0x48c8" (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" * (cast_expression "(int *)(pcVar16 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x1494a0)" ( (binary_expression "pcVar16 + 0x1494a0" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar13 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar18 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "pcVar16 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar16 = *(code **)(pcVar16 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" * (cast_expression "(code **)(pcVar16 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x149a7c)" ( (binary_expression "pcVar16 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "(*pcVar16)(iVar4);" (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })) (if_statement "if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;" if (parenthesized_expression "(*(int *)(iVar4 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(iVar4 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(iVar4 + 0x3214)" * (cast_expression "(int *)(iVar4 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3214)" ( (binary_expression "iVar4 + 0x3214" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0025f41c;" goto statement_identifier ;)) (if_statement "if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;" if (parenthesized_expression "(puVar9 == (uint *)0x0)" ( (binary_expression "puVar9 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0025f3f8;" goto statement_identifier ;)) (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) ))))) ;) (if_statement "if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;" if (parenthesized_expression "(puVar9[0xcdb] != 0xabacadab)" ( (binary_expression "puVar9[0xcdb] != 0xabacadab" (subscript_expression "puVar9[0xcdb]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_0025f3d8;" goto statement_identifier ;)) (if_statement "if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" if (parenthesized_expression "(puVar9[0xcd4] != 0)" ( (binary_expression "puVar9[0xcd4] != 0" (subscript_expression "puVar9[0xcd4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);" (call_expression "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a280))" ( (pointer_expression "**(code **)(puVar15 + 0x14a280)" * (pointer_expression "*(code **)(puVar15 + 0x14a280)" * (cast_expression "(code **)(puVar15 + 0x14a280)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a280)" ( (binary_expression "puVar15 + 0x14a280" identifier + number_literal) ))))) )) (argument_list "(0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" ( number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a9c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x149984) + -0x62ac" (pointer_expression "*(int *)(puVar15 + 0x149984)" * (cast_expression "(int *)(puVar15 + 0x149984)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149984)" ( (binary_expression "puVar15 + 0x149984" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar9 + 0xd0" identifier + number_literal) ))) ;) })) (if_statement "if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(puVar9[6] < puVar9[7])" ( (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" identifier [ number_literal ]) < (subscript_expression "puVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }" { (expression_statement "puVar28 = puVar11;" (assignment_expression "puVar28 = puVar11" identifier = identifier) ;) (expression_statement "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);" (assignment_expression "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" identifier = (cast_expression "(uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x14a86c))(puVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a86c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a86c)" * (pointer_expression "*(code **)(puVar15 + 0x14a86c)" * (cast_expression "(code **)(puVar15 + 0x14a86c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a86c)" ( (binary_expression "puVar15 + 0x14a86c" identifier + number_literal) ))))) )) (argument_list "(puVar9)" ( identifier ))))) ;) (if_statement "if (puVar12 == (uint *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar12 == (uint *)0x0)" ( (binary_expression "puVar12 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "(**(code **)(puVar15 + 0x14a0b0))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a0b0))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a0b0))" ( (pointer_expression "**(code **)(puVar15 + 0x14a0b0)" * (pointer_expression "*(code **)(puVar15 + 0x14a0b0)" * (cast_expression "(code **)(puVar15 + 0x14a0b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a0b0)" ( (binary_expression "puVar15 + 0x14a0b0" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);" (assignment_expression "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" identifier = (call_expression "(**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" (parenthesized_expression "(**(code **)(puVar15 + 0x14a334))" ( (pointer_expression "**(code **)(puVar15 + 0x14a334)" * (pointer_expression "*(code **)(puVar15 + 0x14a334)" * (cast_expression "(code **)(puVar15 + 0x14a334)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a334)" ( (binary_expression "puVar15 + 0x14a334" identifier + number_literal) ))))) )) (argument_list "(puVar9[0xcd2])" ( (subscript_expression "puVar9[0xcd2]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar12[0xcd2] = uVar5;" (assignment_expression "puVar12[0xcd2] = uVar5" (subscript_expression "puVar12[0xcd2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" identifier = (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" * (cast_expression "(code **)(puVar15 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a2ec)" ( (binary_expression "puVar15 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,puVar12,4,puVar11,puVar28)" ( identifier , identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (puVar9 == puVar12) {\n        return 0;\n      }" if (parenthesized_expression "(puVar9 == puVar12)" ( (binary_expression "puVar9 == puVar12" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0025f04c;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" identifier = (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" * (cast_expression "(code **)(puVar15 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a2ec)" ( (binary_expression "puVar15 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,puVar9,4,puVar11)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" if (parenthesized_expression "(puVar12[1] - 3 < 0x1f)" ( (binary_expression "puVar12[1] - 3 < 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" identifier [ number_literal ]) - number_literal) < number_literal) )) (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a220)" * (cast_expression "(code **)(puVar15 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a220)" ( (binary_expression "puVar15 + 0x14a220" identifier + number_literal) ))))) ;) (if_statement "if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;" if (parenthesized_expression "(-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" ( (binary_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f" (parenthesized_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f))" ( (binary_expression "0x403c0001U >> (puVar12[1] - 3 & 0x1f)" number_literal >> (parenthesized_expression "(puVar12[1] - 3 & 0x1f)" ( (binary_expression "puVar12[1] - 3 & 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" identifier [ number_literal ]) - number_literal) & number_literal) ))) )) << number_literal) )))) )) (goto_statement "goto LAB_0025f0b0;" goto statement_identifier ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" else (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a220)" * (cast_expression "(code **)(puVar15 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a220)" ( (binary_expression "puVar15 + 0x14a220" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);" statement_identifier : (expression_statement "(*pcVar16)(puVar12,0x17,puVar11);" (call_expression "(*pcVar16)(puVar12,0x17,puVar11)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(puVar12,0x17,puVar11)" ( identifier , number_literal , identifier ))) ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }))) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0xff)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0xe)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,5);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,5)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,5)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,10);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,10)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x24;" (assignment_expression "iVar4 = 0x24" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x798;" (assignment_expression "iVar4 = 0x798" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x5fa;" (assignment_expression "iVar4 = 0x5fa" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);" (call_expression "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14aa34))" ( (pointer_expression "**(code **)(puVar15 + 0x14aa34)" * (pointer_expression "*(code **)(puVar15 + 0x14aa34)" * (cast_expression "(code **)(puVar15 + 0x14aa34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14aa34)" ( (binary_expression "puVar15 + 0x14aa34" identifier + number_literal) ))))) )) (argument_list "(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" ( identifier , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5b10" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,6);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,6)" ( identifier , number_literal ))) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (if_statement "if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" if (parenthesized_expression "(puVar9[6] < puVar9[7])" ( (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" identifier [ number_literal ]) < (subscript_expression "puVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" else (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = 0x11fd;" (assignment_expression "iVar4 = 0x11fd" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "FUN_0025e878(puVar12,0xc0,0x80,puVar11);" (call_expression "FUN_0025e878(puVar12,0xc0,0x80,puVar11)" identifier (argument_list "(puVar12,0xc0,0x80,puVar11)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0025e878(puVar12,0x180,0x100,puVar11);" (call_expression "FUN_0025e878(puVar12,0x180,0x100,puVar11)" identifier (argument_list "(puVar12,0x180,0x100,puVar11)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);" (assignment_expression "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11)" identifier = (call_expression "FUN_0025e878(puVar12,0x300,0x200,puVar11)" identifier (argument_list "(puVar12,0x300,0x200,puVar11)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x14a728))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a728))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a728))" ( (pointer_expression "**(code **)(puVar15 + 0x14a728)" * (pointer_expression "*(code **)(puVar15 + 0x14a728)" * (cast_expression "(code **)(puVar15 + 0x14a728)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a728)" ( (binary_expression "puVar15 + 0x14a728" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;) (if_statement "if (puVar9 == puVar12) {\n    return uVar8;\n  }" if (parenthesized_expression "(puVar9 == puVar12)" ( (binary_expression "puVar9 == puVar12" identifier == identifier) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) })) (labeled_statement "LAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x149fec))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x149fec))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x149fec))" ( (pointer_expression "**(code **)(puVar15 + 0x149fec)" * (pointer_expression "*(code **)(puVar15 + 0x149fec)" * (cast_expression "(code **)(puVar15 + 0x149fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x149fec)" ( (binary_expression "puVar15 + 0x149fec" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;)) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType\nWritePCDTile(Image *image,char *page_geometry,size_t tile_columns,size_t tile_rows,\n            ExceptionInfo *exception)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  ExceptionInfo *pEVar9;\n  MagickBooleanType MVar10;\n  Image *image_00;\n  BlobInfo *pBVar11;\n  char *pcVar12;\n  Image *pIVar13;\n  uint uVar14;\n  ExceptionInfo *tile_rows_00;\n  size_t sVar15;\n  ExceptionInfo *pEVar16;\n  int iVar17;\n  undefined *puVar18;\n  code *pcVar19;\n  code *pcVar20;\n  int iVar21;\n  double dVar22;\n  float fVar24;\n  double dVar23;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  double dVar28;\n  double dVar29;\n  double dVar30;\n  ExceptionInfo *in_stack_fffffef0;\n  ExceptionInfo *local_c0;\n  RectangleInfo geometry;\n  RectangleInfo border_info;\n  GeometryInfo geometry_info;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(image,&geometry);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);\n  if ((geometry.width & 1) != 0) {\n    geometry.width = geometry.width - 1;\n  }\n  if ((geometry.height & 1) != 0) {\n    geometry.height = geometry.height - 1;\n  }\n  pIVar13 = (Image *)geometry.width;\n  tile_rows_00 = (ExceptionInfo *)geometry.height;\n  iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar5 == 0) {\nLAB_0025ee40:\n    MVar10 = MagickFalse;\n  }\n  else {\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }\n  if (iVar4 == *(int *)puVar3) {\n    return MVar10;\n  }\n  puVar18 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);\nLAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);\n    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\n    iVar21 = *(int *)(pcVar19 + 0x1494a0);\n    iVar17 = *(int *)(pcVar19 + 0x14950c);\n    iVar4 = iVar21 + 0x48d0;\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);\n    iVar8 = *(int *)(pcVar19 + 0x14956c);\n    iVar7 = *(int *)(pcVar19 + 0x14956c);\n    iVar5 = *(int *)(pcVar19 + 0x14956c);\n    pcVar20 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;\n    (*pcVar20)(iVar4);\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar19 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar19)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (pIVar13 == (Image *)0x0) goto LAB_0025f3f8;\n  iVar5 = *(int *)(puVar18 + 0x1499ec);\n  if (pIVar13->signature != 0xabacadab) goto LAB_0025f3d8;\n  if (pIVar13->debug != MagickFalse) {\n    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);\n    (**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);\n  }\n  if (pIVar13->columns < pIVar13->rows) {\n    in_stack_fffffef0 = tile_rows_00;\n    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);\n    if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }\n    (**(code **)(puVar18 + 0x14a0b0))(image_00);\n    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);\n    image_00->blob = pBVar11;\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);\n    if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }\n  uVar6 = image_00->colorspace - GRAYColorspace;\n  if (uVar6 < 0x1f) {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar18 + 0x14a07c))(image_00,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  if (pIVar13->columns < pIVar13->rows) {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }\n  else {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);\n  WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);\n  MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);\n  (**(code **)(puVar18 + 0x14a728))(image_00);\n  if (pIVar13 == image_00) {\n    return MVar10;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar18 + 0x149fec))(image_00);\n  return MVar10;\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType\nWritePCDTile(Image *image,char *page_geometry,size_t tile_columns,size_t tile_rows,\n            ExceptionInfo *exception)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  ExceptionInfo *pEVar9;\n  MagickBooleanType MVar10;\n  Image *image_00;\n  BlobInfo *pBVar11;\n  char *pcVar12;\n  Image *pIVar13;\n  uint uVar14;\n  ExceptionInfo *tile_rows_00;\n  size_t sVar15;\n  ExceptionInfo *pEVar16;\n  int iVar17;\n  undefined *puVar18;\n  code *pcVar19;\n  code *pcVar20;\n  int iVar21;\n  double dVar22;\n  float fVar24;\n  double dVar23;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  double dVar28;\n  double dVar29;\n  double dVar30;\n  ExceptionInfo *in_stack_fffffef0;\n  ExceptionInfo *local_c0;\n  RectangleInfo geometry;\n  RectangleInfo border_info;\n  GeometryInfo geometry_info;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(image,&geometry);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);\n  if ((geometry.width & 1) != 0) {\n    geometry.width = geometry.width - 1;\n  }\n  if ((geometry.height & 1) != 0) {\n    geometry.height = geometry.height - 1;\n  }\n  pIVar13 = (Image *)geometry.width;\n  tile_rows_00 = (ExceptionInfo *)geometry.height;\n  iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar5 == 0) {\nLAB_0025ee40:\n    MVar10 = MagickFalse;\n  }\n  else {\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }\n  if (iVar4 == *(int *)puVar3) {\n    return MVar10;\n  }\n  puVar18 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);\nLAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);\n    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\n    iVar21 = *(int *)(pcVar19 + 0x1494a0);\n    iVar17 = *(int *)(pcVar19 + 0x14950c);\n    iVar4 = iVar21 + 0x48d0;\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);\n    iVar8 = *(int *)(pcVar19 + 0x14956c);\n    iVar7 = *(int *)(pcVar19 + 0x14956c);\n    iVar5 = *(int *)(pcVar19 + 0x14956c);\n    pcVar20 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;\n    (*pcVar20)(iVar4);\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar19 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar19)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (pIVar13 == (Image *)0x0) goto LAB_0025f3f8;\n  iVar5 = *(int *)(puVar18 + 0x1499ec);\n  if (pIVar13->signature != 0xabacadab) goto LAB_0025f3d8;\n  if (pIVar13->debug != MagickFalse) {\n    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);\n    (**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);\n  }\n  if (pIVar13->columns < pIVar13->rows) {\n    in_stack_fffffef0 = tile_rows_00;\n    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);\n    if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }\n    (**(code **)(puVar18 + 0x14a0b0))(image_00);\n    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);\n    image_00->blob = pBVar11;\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);\n    if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }\n  uVar6 = image_00->colorspace - GRAYColorspace;\n  if (uVar6 < 0x1f) {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar18 + 0x14a07c))(image_00,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  if (pIVar13->columns < pIVar13->rows) {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }\n  else {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);\n  WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);\n  MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);\n  (**(code **)(puVar18 + 0x14a728))(image_00);\n  if (pIVar13 == image_00) {\n    return MVar10;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar18 + 0x149fec))(image_00);\n  return MVar10;\n}" type_identifier (function_declarator "WritePCDTile(Image *image,char *page_geometry,size_t tile_columns,size_t tile_rows,\n            ExceptionInfo *exception)" identifier (parameter_list "(Image *image,char *page_geometry,size_t tile_columns,size_t tile_rows,\n            ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "char *page_geometry" primitive_type (pointer_declarator "*page_geometry" * identifier)) , (parameter_declaration "size_t tile_columns" primitive_type identifier) , (parameter_declaration "size_t tile_rows" primitive_type identifier) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  ExceptionInfo *pEVar9;\n  MagickBooleanType MVar10;\n  Image *image_00;\n  BlobInfo *pBVar11;\n  char *pcVar12;\n  Image *pIVar13;\n  uint uVar14;\n  ExceptionInfo *tile_rows_00;\n  size_t sVar15;\n  ExceptionInfo *pEVar16;\n  int iVar17;\n  undefined *puVar18;\n  code *pcVar19;\n  code *pcVar20;\n  int iVar21;\n  double dVar22;\n  float fVar24;\n  double dVar23;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  double dVar28;\n  double dVar29;\n  double dVar30;\n  ExceptionInfo *in_stack_fffffef0;\n  ExceptionInfo *local_c0;\n  RectangleInfo geometry;\n  RectangleInfo border_info;\n  GeometryInfo geometry_info;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(image,&geometry);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);\n  if ((geometry.width & 1) != 0) {\n    geometry.width = geometry.width - 1;\n  }\n  if ((geometry.height & 1) != 0) {\n    geometry.height = geometry.height - 1;\n  }\n  pIVar13 = (Image *)geometry.width;\n  tile_rows_00 = (ExceptionInfo *)geometry.height;\n  iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar5 == 0) {\nLAB_0025ee40:\n    MVar10 = MagickFalse;\n  }\n  else {\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }\n  if (iVar4 == *(int *)puVar3) {\n    return MVar10;\n  }\n  puVar18 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);\nLAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);\n    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\n    iVar21 = *(int *)(pcVar19 + 0x1494a0);\n    iVar17 = *(int *)(pcVar19 + 0x14950c);\n    iVar4 = iVar21 + 0x48d0;\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);\n    iVar8 = *(int *)(pcVar19 + 0x14956c);\n    iVar7 = *(int *)(pcVar19 + 0x14956c);\n    iVar5 = *(int *)(pcVar19 + 0x14956c);\n    pcVar20 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;\n    (*pcVar20)(iVar4);\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar19 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar19)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (pIVar13 == (Image *)0x0) goto LAB_0025f3f8;\n  iVar5 = *(int *)(puVar18 + 0x1499ec);\n  if (pIVar13->signature != 0xabacadab) goto LAB_0025f3d8;\n  if (pIVar13->debug != MagickFalse) {\n    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);\n    (**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);\n  }\n  if (pIVar13->columns < pIVar13->rows) {\n    in_stack_fffffef0 = tile_rows_00;\n    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);\n    if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }\n    (**(code **)(puVar18 + 0x14a0b0))(image_00);\n    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);\n    image_00->blob = pBVar11;\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);\n    if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }\n  uVar6 = image_00->colorspace - GRAYColorspace;\n  if (uVar6 < 0x1f) {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar18 + 0x14a07c))(image_00,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  if (pIVar13->columns < pIVar13->rows) {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }\n  else {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);\n  WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);\n  WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);\n  MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);\n  (**(code **)(puVar18 + 0x14a728))(image_00);\n  if (pIVar13 == image_00) {\n    return MVar10;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar18 + 0x149fec))(image_00);\n  return MVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ExceptionInfo *pEVar9;" type_identifier (pointer_declarator "*pEVar9" * identifier) ;) (declaration "MagickBooleanType MVar10;" type_identifier identifier ;) (declaration "Image *image_00;" type_identifier (pointer_declarator "*image_00" * identifier) ;) (declaration "BlobInfo *pBVar11;" type_identifier (pointer_declarator "*pBVar11" * identifier) ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "Image *pIVar13;" type_identifier (pointer_declarator "*pIVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "ExceptionInfo *tile_rows_00;" type_identifier (pointer_declarator "*tile_rows_00" * identifier) ;) (declaration "size_t sVar15;" primitive_type identifier ;) (declaration "ExceptionInfo *pEVar16;" type_identifier (pointer_declarator "*pEVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "code *pcVar19;" type_identifier (pointer_declarator "*pcVar19" * identifier) ;) (declaration "code *pcVar20;" type_identifier (pointer_declarator "*pcVar20" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "float fVar24;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "double dVar25;" primitive_type identifier ;) (declaration "double dVar26;" primitive_type identifier ;) (declaration "double dVar27;" primitive_type identifier ;) (declaration "double dVar28;" primitive_type identifier ;) (declaration "double dVar29;" primitive_type identifier ;) (declaration "double dVar30;" primitive_type identifier ;) (declaration "ExceptionInfo *in_stack_fffffef0;" type_identifier (pointer_declarator "*in_stack_fffffef0" * identifier) ;) (declaration "ExceptionInfo *local_c0;" type_identifier (pointer_declarator "*local_c0" * identifier) ;) (declaration "RectangleInfo geometry;" type_identifier identifier ;) (declaration "RectangleInfo border_info;" type_identifier identifier ;) (declaration "GeometryInfo geometry_info;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar18 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_SetGeometry_003a9624)(image,&geometry);" (call_expression "(*(code *)PTR_SetGeometry_003a9624)(image,&geometry)" (parenthesized_expression "(*(code *)PTR_SetGeometry_003a9624)" ( (pointer_expression "*(code *)PTR_SetGeometry_003a9624" * (cast_expression "(code *)PTR_SetGeometry_003a9624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,&geometry)" ( identifier , (pointer_expression "&geometry" & identifier) ))) ;) (expression_statement "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);" (call_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height)" (parenthesized_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)" ( (pointer_expression "*(code *)PTR_ParseMetaGeometry_003a907c" * (cast_expression "(code *)PTR_ParseMetaGeometry_003a907c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar18 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height)" ( (binary_expression "puVar18 + -0x5b1c" identifier + number_literal) , (pointer_expression "&geometry.x" & (field_expression "geometry.x" identifier . field_identifier)) , (pointer_expression "&geometry.y" & (field_expression "geometry.y" identifier . field_identifier)) , (pointer_expression "&geometry" & identifier) , (pointer_expression "&geometry.height" & (field_expression "geometry.height" identifier . field_identifier)) ))) ;) (if_statement "if ((geometry.width & 1) != 0) {\n    geometry.width = geometry.width - 1;\n  }" if (parenthesized_expression "((geometry.width & 1) != 0)" ( (binary_expression "(geometry.width & 1) != 0" (parenthesized_expression "(geometry.width & 1)" ( (binary_expression "geometry.width & 1" (field_expression "geometry.width" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    geometry.width = geometry.width - 1;\n  }" { (expression_statement "geometry.width = geometry.width - 1;" (assignment_expression "geometry.width = geometry.width - 1" (field_expression "geometry.width" identifier . field_identifier) = (binary_expression "geometry.width - 1" (field_expression "geometry.width" identifier . field_identifier) - number_literal)) ;) })) (if_statement "if ((geometry.height & 1) != 0) {\n    geometry.height = geometry.height - 1;\n  }" if (parenthesized_expression "((geometry.height & 1) != 0)" ( (binary_expression "(geometry.height & 1) != 0" (parenthesized_expression "(geometry.height & 1)" ( (binary_expression "geometry.height & 1" (field_expression "geometry.height" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    geometry.height = geometry.height - 1;\n  }" { (expression_statement "geometry.height = geometry.height - 1;" (assignment_expression "geometry.height = geometry.height - 1" (field_expression "geometry.height" identifier . field_identifier) = (binary_expression "geometry.height - 1" (field_expression "geometry.height" identifier . field_identifier) - number_literal)) ;) })) (expression_statement "pIVar13 = (Image *)geometry.width;" (assignment_expression "pIVar13 = (Image *)geometry.width" identifier = (cast_expression "(Image *)geometry.width" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "geometry.width" identifier . field_identifier))) ;) (expression_statement "tile_rows_00 = (ExceptionInfo *)geometry.height;" (assignment_expression "tile_rows_00 = (ExceptionInfo *)geometry.height" identifier = (cast_expression "(ExceptionInfo *)geometry.height" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "geometry.height" identifier . field_identifier))) ;) (expression_statement "iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);" (assignment_expression "iVar5 = (*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,geometry.width,geometry.height,3,tile_rows)" ( identifier , (field_expression "geometry.width" identifier . field_identifier) , (field_expression "geometry.height" identifier . field_identifier) , number_literal , identifier )))) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\nLAB_0025ee40:\n    MVar10 = MagickFalse;\n  }\n  else {\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0025ee40:\n    MVar10 = MagickFalse;\n  }" { (labeled_statement "LAB_0025ee40:\n    MVar10 = MagickFalse;" statement_identifier : (expression_statement "MVar10 = MagickFalse;" (assignment_expression "MVar10 = MagickFalse" identifier = identifier) ;)) }) (else_clause "else {\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }" else (compound_statement "{\n    uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);\n    if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }\n    if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);\n    tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);\n    pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);\n    iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar18 = PTR_LAB_003a88e0;\n    if (iVar7 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }\n    iVar8 = 0x800;\n    do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar7);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n    MVar10 = MagickTrue;\n  }" { (expression_statement "uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info);" (assignment_expression "uVar6 = (*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info)" identifier = (call_expression "(*(code *)PTR_ParseGeometry_003a9454)(puVar18 + -0x5b1c,&geometry_info)" (parenthesized_expression "(*(code *)PTR_ParseGeometry_003a9454)" ( (pointer_expression "*(code *)PTR_ParseGeometry_003a9454" * (cast_expression "(code *)PTR_ParseGeometry_003a9454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar18 + -0x5b1c,&geometry_info)" ( (binary_expression "puVar18 + -0x5b1c" identifier + number_literal) , (pointer_expression "&geometry_info" & identifier) )))) ;) (if_statement "if (geometry_info.rho < *(double *)(puVar1 + 0x1410)) {\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }\n    else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }" if (parenthesized_expression "(geometry_info.rho < *(double *)(puVar1 + 0x1410))" ( (binary_expression "geometry_info.rho < *(double *)(puVar1 + 0x1410)" (field_expression "geometry_info.rho" identifier . field_identifier) < (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n      geometry.width = (size_t)geometry_info.rho;\n      if ((uVar6 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      if (geometry.width != uVar6) goto LAB_0025e9e4;\nLAB_0025eed0:\n      pcVar12 = (char *)geometry.width;\n      if (geometry.height != sVar15) goto LAB_0025e9e4;\n    }" { (expression_statement "geometry.width = (size_t)geometry_info.rho;" (assignment_expression "geometry.width = (size_t)geometry_info.rho" (field_expression "geometry.width" identifier . field_identifier) = (cast_expression "(size_t)geometry_info.rho" ( (type_descriptor "size_t" primitive_type) ) (field_expression "geometry_info.rho" identifier . field_identifier))) ;) (if_statement "if ((uVar6 & 8) == 0) goto LAB_0025eebc;" if (parenthesized_expression "((uVar6 & 8) == 0)" ( (binary_expression "(uVar6 & 8) == 0" (parenthesized_expression "(uVar6 & 8)" ( (binary_expression "uVar6 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0025eebc;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }" statement_identifier : (if_statement "if (*(double *)(puVar1 + 0x1410) <= geometry_info.sigma) {\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }\n      else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }" if (parenthesized_expression "(*(double *)(puVar1 + 0x1410) <= geometry_info.sigma)" ( (binary_expression "*(double *)(puVar1 + 0x1410) <= geometry_info.sigma" (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) )))) <= (field_expression "geometry_info.sigma" identifier . field_identifier)) )) (compound_statement "{\n        geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      }" { (expression_statement "geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000;" (assignment_expression "geometry.height = (int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000" (field_expression "geometry.height" identifier . field_identifier) = (binary_expression "(int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(geometry_info.sigma - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(geometry_info.sigma - *(double *)(puVar1 + 0x1410))" ( (binary_expression "geometry_info.sigma - *(double *)(puVar1 + 0x1410)" (field_expression "geometry_info.sigma" identifier . field_identifier) - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) }) (else_clause "else {\n        geometry.height = (size_t)geometry_info.sigma;\n      }" else (compound_statement "{\n        geometry.height = (size_t)geometry_info.sigma;\n      }" { (expression_statement "geometry.height = (size_t)geometry_info.sigma;" (assignment_expression "geometry.height = (size_t)geometry_info.sigma" (field_expression "geometry.height" identifier . field_identifier) = (cast_expression "(size_t)geometry_info.sigma" ( (type_descriptor "size_t" primitive_type) ) (field_expression "geometry_info.sigma" identifier . field_identifier))) ;) })))) (expression_statement "uVar6 = *(uint *)(iVar5 + 0x18);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x18)" * (cast_expression "(uint *)(iVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "sVar15 = *(size_t *)(iVar5 + 0x1c);" (assignment_expression "sVar15 = *(size_t *)(iVar5 + 0x1c)" identifier = (pointer_expression "*(size_t *)(iVar5 + 0x1c)" * (cast_expression "(size_t *)(iVar5 + 0x1c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (geometry.width != uVar6) goto LAB_0025e9e4;" if (parenthesized_expression "(geometry.width != uVar6)" ( (binary_expression "geometry.width != uVar6" (field_expression "geometry.width" identifier . field_identifier) != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) (labeled_statement "LAB_0025eed0:\n      pcVar12 = (char *)geometry.width;" statement_identifier : (expression_statement "pcVar12 = (char *)geometry.width;" (assignment_expression "pcVar12 = (char *)geometry.width" identifier = (cast_expression "(char *)geometry.width" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "geometry.width" identifier . field_identifier))) ;)) (if_statement "if (geometry.height != sVar15) goto LAB_0025e9e4;" if (parenthesized_expression "(geometry.height != sVar15)" ( (binary_expression "geometry.height != sVar15" (field_expression "geometry.height" identifier . field_identifier) != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) }) (else_clause "else {\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }" else (compound_statement "{\n      geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;\n      if ((uVar6 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);\n      sVar15 = *(size_t *)(iVar5 + 0x1c);\n      geometry.height = geometry.width;\n      if (geometry.width == uVar6) goto LAB_0025eed0;\nLAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;\n      border_info.width = (geometry.width + 1) - uVar6 >> 1;\n      border_info.height = (geometry.height - sVar15) + 1 >> 1;\n      pIVar13 = (Image *)&border_info;\n      iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);\n      if (iVar7 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      pcVar12 = *(char **)(iVar7 + 0x18);\n      iVar5 = iVar7;\n    }" { (expression_statement "geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000;" (assignment_expression "geometry.width = (int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000" (field_expression "geometry.width" identifier . field_identifier) = (binary_expression "(int)(geometry_info.rho - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(geometry_info.rho - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(geometry_info.rho - *(double *)(puVar1 + 0x1410))" ( (binary_expression "geometry_info.rho - *(double *)(puVar1 + 0x1410)" (field_expression "geometry_info.rho" identifier . field_identifier) - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal)) ;) (if_statement "if ((uVar6 & 8) != 0) goto LAB_0025e9ac;" if (parenthesized_expression "((uVar6 & 8) != 0)" ( (binary_expression "(uVar6 & 8) != 0" (parenthesized_expression "(uVar6 & 8)" ( (binary_expression "uVar6 & 8" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0025e9ac;" goto statement_identifier ;)) (labeled_statement "LAB_0025eebc:\n      uVar6 = *(uint *)(iVar5 + 0x18);" statement_identifier : (expression_statement "uVar6 = *(uint *)(iVar5 + 0x18);" (assignment_expression "uVar6 = *(uint *)(iVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x18)" * (cast_expression "(uint *)(iVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) ;)) (expression_statement "sVar15 = *(size_t *)(iVar5 + 0x1c);" (assignment_expression "sVar15 = *(size_t *)(iVar5 + 0x1c)" identifier = (pointer_expression "*(size_t *)(iVar5 + 0x1c)" * (cast_expression "(size_t *)(iVar5 + 0x1c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "geometry.height = geometry.width;" (assignment_expression "geometry.height = geometry.width" (field_expression "geometry.height" identifier . field_identifier) = (field_expression "geometry.width" identifier . field_identifier)) ;) (if_statement "if (geometry.width == uVar6) goto LAB_0025eed0;" if (parenthesized_expression "(geometry.width == uVar6)" ( (binary_expression "geometry.width == uVar6" (field_expression "geometry.width" identifier . field_identifier) == identifier) )) (goto_statement "goto LAB_0025eed0;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9e4:\n      tile_rows_00 = (ExceptionInfo *)image->compose;" statement_identifier : (expression_statement "tile_rows_00 = (ExceptionInfo *)image->compose;" (assignment_expression "tile_rows_00 = (ExceptionInfo *)image->compose" identifier = (cast_expression "(ExceptionInfo *)image->compose" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->compose" identifier -> field_identifier))) ;)) (expression_statement "border_info.width = (geometry.width + 1) - uVar6 >> 1;" (assignment_expression "border_info.width = (geometry.width + 1) - uVar6 >> 1" (field_expression "border_info.width" identifier . field_identifier) = (binary_expression "(geometry.width + 1) - uVar6 >> 1" (binary_expression "(geometry.width + 1) - uVar6" (parenthesized_expression "(geometry.width + 1)" ( (binary_expression "geometry.width + 1" (field_expression "geometry.width" identifier . field_identifier) + number_literal) )) - identifier) >> number_literal)) ;) (expression_statement "border_info.height = (geometry.height - sVar15) + 1 >> 1;" (assignment_expression "border_info.height = (geometry.height - sVar15) + 1 >> 1" (field_expression "border_info.height" identifier . field_identifier) = (binary_expression "(geometry.height - sVar15) + 1 >> 1" (binary_expression "(geometry.height - sVar15) + 1" (parenthesized_expression "(geometry.height - sVar15)" ( (binary_expression "geometry.height - sVar15" (field_expression "geometry.height" identifier . field_identifier) - identifier) )) + number_literal) >> number_literal)) ;) (expression_statement "pIVar13 = (Image *)&border_info;" (assignment_expression "pIVar13 = (Image *)&border_info" identifier = (cast_expression "(Image *)&border_info" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&border_info" & identifier))) ;) (expression_statement "iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows);" (assignment_expression "iVar7 = (*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows)" identifier = (call_expression "(*(code *)PTR_BorderImage_003a90c4)(iVar5,pIVar13,tile_rows_00,tile_rows)" (parenthesized_expression "(*(code *)PTR_BorderImage_003a90c4)" ( (pointer_expression "*(code *)PTR_BorderImage_003a90c4" * (cast_expression "(code *)PTR_BorderImage_003a90c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,pIVar13,tile_rows_00,tile_rows)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "pcVar12 = *(char **)(iVar7 + 0x18);" (assignment_expression "pcVar12 = *(char **)(iVar7 + 0x18)" identifier = (pointer_expression "*(char **)(iVar7 + 0x18)" * (cast_expression "(char **)(iVar7 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) }))) (if_statement "if (((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }" if (parenthesized_expression "(((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0))" ( (binary_expression "((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)) &&\n       (iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)" (parenthesized_expression "((page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns))" ( (binary_expression "(page_geometry != pcVar12) || (*(size_t *)(iVar5 + 0x1c) != tile_columns)" (parenthesized_expression "(page_geometry != pcVar12)" ( (binary_expression "page_geometry != pcVar12" identifier != identifier) )) || (parenthesized_expression "(*(size_t *)(iVar5 + 0x1c) != tile_columns)" ( (binary_expression "*(size_t *)(iVar5 + 0x1c) != tile_columns" (pointer_expression "*(size_t *)(iVar5 + 0x1c)" * (cast_expression "(size_t *)(iVar5 + 0x1c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) != identifier) ))) )) && (parenthesized_expression "(iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0)" ( (comma_expression "iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          ), iVar7 != 0" (assignment_expression "iVar7 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          )" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          )" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,page_geometry,tile_columns,*(undefined4 *)(iVar5 + 0x250),tile_rows\n                          )" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar5 + 0x250)" * (cast_expression "(undefined4 *)(iVar5 + 0x250)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x250)" ( (binary_expression "iVar5 + 0x250" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar5);\n      iVar5 = iVar7;\n    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar5,0x1c,tile_rows)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0x1c,tile_rows)" ( identifier , number_literal , identifier ))) ;) (expression_statement "tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1);" (assignment_expression "tile_rows_00 = (ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1)" identifier = (cast_expression "(ExceptionInfo *)(*(uint *)(iVar5 + 0x1c) >> 1)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar5 + 0x1c) >> 1)" ( (binary_expression "*(uint *)(iVar5 + 0x1c) >> 1" (pointer_expression "*(uint *)(iVar5 + 0x1c)" * (cast_expression "(uint *)(iVar5 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1);" (assignment_expression "pIVar13 = (Image *)(*(uint *)(iVar5 + 0x18) >> 1)" identifier = (cast_expression "(Image *)(*(uint *)(iVar5 + 0x18) >> 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar5 + 0x18) >> 1)" ( (binary_expression "*(uint *)(iVar5 + 0x18) >> 1" (pointer_expression "*(uint *)(iVar5 + 0x18)" * (cast_expression "(uint *)(iVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows);" (assignment_expression "iVar7 = (*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(iVar5,pIVar13,tile_rows_00,3,tile_rows)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,pIVar13,tile_rows_00,3,tile_rows)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar18 = PTR_LAB_003a88e0;" (assignment_expression "puVar18 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (if_statement "if (0 < *(int *)(iVar5 + 0x1c)) {\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }" if (parenthesized_expression "(0 < *(int *)(iVar5 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar5 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar5 + 0x1c)" * (cast_expression "(int *)(iVar5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n      pEVar16 = (ExceptionInfo *)0x0;\n      dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (ExceptionInfo *)0x0;\n      dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar6 = 0;\n      do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));\n    }" { (expression_statement "pEVar16 = (ExceptionInfo *)0x0;" (assignment_expression "pEVar16 = (ExceptionInfo *)0x0" identifier = (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar22 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "local_c0 = (ExceptionInfo *)0x0;" (assignment_expression "local_c0 = (ExceptionInfo *)0x0" identifier = (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar29 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      } while ((int)pEVar16 < *(int *)(iVar5 + 0x1c));" do (compound_statement "{\n        tile_rows_00 = pEVar16;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);\n        if (iVar8 == 0) break;\n        pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);\n        if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }\n        tile_rows_00 = pEVar9;\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);\n        if (iVar8 == 0) break;\n        iVar21 = *(int *)(iVar7 + 0x18);\n        if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }\n        iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);\n        tile_rows_00 = pEVar9;\n        if (iVar8 == 0) break;\n        if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }\n        tile_rows_00 = local_c0;\n        iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));\n        if (iVar8 == 0) break;\n        pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);\n        local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));\n        uVar6 = uVar6 + 2;\n      }" { (expression_statement "tile_rows_00 = pEVar16;" (assignment_expression "tile_rows_00 = pEVar16" identifier = identifier) ;) (expression_statement "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows);" (assignment_expression "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0,pEVar16,*(undefined4 *)(iVar5 + 0x18),2,tile_rows)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar5 + 0x18)" * (cast_expression "(undefined4 *)(iVar5 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1);" (assignment_expression "pEVar9 = (ExceptionInfo *)((int)pEVar16 >> 1)" identifier = (cast_expression "(ExceptionInfo *)((int)pEVar16 >> 1)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pEVar16 >> 1)" ( (binary_expression "(int)pEVar16 >> 1" (cast_expression "(int)pEVar16" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (0 < *(int *)(iVar5 + 0x18) << 1) {\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }" if (parenthesized_expression "(0 < *(int *)(iVar5 + 0x18) << 1)" ( (binary_expression "0 < *(int *)(iVar5 + 0x18) << 1" number_literal < (binary_expression "*(int *)(iVar5 + 0x18) << 1" (pointer_expression "*(int *)(iVar5 + 0x18)" * (cast_expression "(int *)(iVar5 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) )))) << number_literal)) )) (compound_statement "{\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          iVar21 = 0;\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);\n        }" { (expression_statement "dVar25 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar25 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar5 + 0x18) << 1);" do (compound_statement "{\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          }" { (expression_statement "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4);" (assignment_expression "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4)" identifier = (pointer_expression "*(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4)" * (cast_expression "(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4)" ( (binary_expression "iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 8)" * (cast_expression "(int *)(*(int *)(iVar5 + 0x2d0) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar5 + 0x2d0) + 8)" ( (binary_expression "*(int *)(iVar5 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar5 + 0x2d0)" * (cast_expression "(int *)(iVar5 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2d0)" ( (binary_expression "iVar5 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar24))" ( (call_expression "NAN(fVar24)" identifier (argument_list "(fVar24)" ( identifier ))) )) (compound_statement "{\n              uVar14 = 0;\n            }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }\n            }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar24) {\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar24)" ( (binary_expression "0.0 < fVar24" number_literal < identifier) )) (compound_statement "{\n                if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }\n              }" { (if_statement "if ((double)fVar24 / dVar27 < dVar29) {\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }\n                else {\n                  uVar14 = 0xff;\n                }" if (parenthesized_expression "((double)fVar24 / dVar27 < dVar29)" ( (binary_expression "(double)fVar24 / dVar27 < dVar29" (binary_expression "(double)fVar24 / dVar27" (cast_expression "(double)fVar24" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar26 = (double)fVar24 / dVar27 + dVar22;\n                  if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }\n                  uVar14 = (int)dVar26 & 0xff;\n                }" { (expression_statement "dVar26 = (double)fVar24 / dVar27 + dVar22;" (assignment_expression "dVar26 = (double)fVar24 / dVar27 + dVar22" identifier = (binary_expression "(double)fVar24 / dVar27 + dVar22" (binary_expression "(double)fVar24 / dVar27" (cast_expression "(double)fVar24" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar25 <= dVar26) {\n                    dVar26 = dVar26 - dVar25;\n                  }" if (parenthesized_expression "(dVar25 <= dVar26)" ( (binary_expression "dVar25 <= dVar26" identifier <= identifier) )) (compound_statement "{\n                    dVar26 = dVar26 - dVar25;\n                  }" { (expression_statement "dVar26 = dVar26 - dVar25;" (assignment_expression "dVar26 = dVar26 - dVar25" identifier = (binary_expression "dVar26 - dVar25" identifier - identifier)) ;) })) (expression_statement "uVar14 = (int)dVar26 & 0xff;" (assignment_expression "uVar14 = (int)dVar26 & 0xff" identifier = (binary_expression "(int)dVar26 & 0xff" (cast_expression "(int)dVar26" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                  uVar14 = 0xff;\n                }" else (compound_statement "{\n                  uVar14 = 0xff;\n                }" { (expression_statement "uVar14 = 0xff;" (assignment_expression "uVar14 = 0xff" identifier = number_literal) ;) }))) })) }))) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,uVar14)" ( identifier , identifier ))) ;) (expression_statement "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;" (assignment_expression "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier = (binary_expression "iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar5 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar5 + 0x2c0)" * (cast_expression "(int *)(iVar5 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2c0)" ( (binary_expression "iVar5 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar21 < *(int *)(iVar5 + 0x18) << 1)" ( (binary_expression "iVar21 < *(int *)(iVar5 + 0x18) << 1" identifier < (binary_expression "*(int *)(iVar5 + 0x18) << 1" (pointer_expression "*(int *)(iVar5 + 0x18)" * (cast_expression "(int *)(iVar5 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) )))) << number_literal)) )) ;) })) (expression_statement "tile_rows_00 = pEVar9;" (assignment_expression "tile_rows_00 = pEVar9" identifier = identifier) ;) (expression_statement "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows);" (assignment_expression "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,0,pEVar9,*(undefined4 *)(iVar7 + 0x18),1,tile_rows)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar7 + 0x18)" * (cast_expression "(undefined4 *)(iVar7 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar21 = *(int *)(iVar7 + 0x18);" (assignment_expression "iVar21 = *(int *)(iVar7 + 0x18)" identifier = (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar21) {\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }" if (parenthesized_expression "(0 < iVar21)" ( (binary_expression "0 < iVar21" number_literal < identifier) )) (compound_statement "{\n          iVar17 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);\n        }" { (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) (expression_statement "dVar25 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar25 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar28 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar28 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar26 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar26 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar30 = *(double *)(puVar18 + 0x1400);" (assignment_expression "dVar30 = *(double *)(puVar18 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar18 + 0x1400)" * (cast_expression "(double *)(puVar18 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1400)" ( (binary_expression "puVar18 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar17 < iVar21);" do (compound_statement "{\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }\n            iVar17 = iVar17 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar21 = *(int *)(iVar7 + 0x18);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          }" { (expression_statement "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4);" (assignment_expression "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4)" identifier = (pointer_expression "*(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4)" * (cast_expression "(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4)" ( (binary_expression "iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar5 + 0x2d0) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar5 + 0x2d0) + 0x14)" ( (binary_expression "*(int *)(iVar5 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar5 + 0x2d0)" * (cast_expression "(int *)(iVar5 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2d0)" ( (binary_expression "iVar5 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar24)) {\n              uVar14 = 0;\n            }\n            else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar24))" ( (call_expression "NAN(fVar24)" identifier (argument_list "(fVar24)" ( identifier ))) )) (compound_statement "{\n              uVar14 = 0;\n            }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar14 = 0;\n              if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }\n            }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar24) {\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar24)" ( (binary_expression "0.0 < fVar24" number_literal < identifier) )) (compound_statement "{\n                uVar14 = 0xff;\n                if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }\n              }" { (expression_statement "uVar14 = 0xff;" (assignment_expression "uVar14 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar24 / dVar28 < dVar26) {\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }" if (parenthesized_expression "((double)fVar24 / dVar28 < dVar26)" ( (binary_expression "(double)fVar24 / dVar28 < dVar26" (binary_expression "(double)fVar24 / dVar28" (cast_expression "(double)fVar24" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar23 = (double)fVar24 / dVar28 + dVar30;\n                  if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }\n                  uVar14 = (int)dVar23 & 0xff;\n                }" { (expression_statement "dVar23 = (double)fVar24 / dVar28 + dVar30;" (assignment_expression "dVar23 = (double)fVar24 / dVar28 + dVar30" identifier = (binary_expression "(double)fVar24 / dVar28 + dVar30" (binary_expression "(double)fVar24 / dVar28" (cast_expression "(double)fVar24" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar25 <= dVar23) {\n                    dVar23 = dVar23 - dVar25;\n                  }" if (parenthesized_expression "(dVar25 <= dVar23)" ( (binary_expression "dVar25 <= dVar23" identifier <= identifier) )) (compound_statement "{\n                    dVar23 = dVar23 - dVar25;\n                  }" { (expression_statement "dVar23 = dVar23 - dVar25;" (assignment_expression "dVar23 = dVar23 - dVar25" identifier = (binary_expression "dVar23 - dVar25" identifier - identifier)) ;) })) (expression_statement "uVar14 = (int)dVar23 & 0xff;" (assignment_expression "uVar14 = (int)dVar23 & 0xff" identifier = (binary_expression "(int)dVar23 & 0xff" (cast_expression "(int)dVar23" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) })) })) }))) (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,uVar14)" ( identifier , identifier ))) ;) (expression_statement "iVar21 = *(int *)(iVar7 + 0x18);" (assignment_expression "iVar21 = *(int *)(iVar7 + 0x18)" identifier = (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;" (assignment_expression "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier = (binary_expression "iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar5 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar5 + 0x2c0)" * (cast_expression "(int *)(iVar5 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2c0)" ( (binary_expression "iVar5 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar17 < iVar21)" ( (binary_expression "iVar17 < iVar21" identifier < identifier) )) ;) })) (expression_statement "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows);" (assignment_expression "iVar8 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)(iVar7,0,pEVar9,iVar21,1,tile_rows)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,0,pEVar9,iVar21,1,tile_rows)" ( identifier , number_literal , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "tile_rows_00 = pEVar9;" (assignment_expression "tile_rows_00 = pEVar9" identifier = identifier) ;) (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < *(int *)(iVar7 + 0x18)) {\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }" if (parenthesized_expression "(0 < *(int *)(iVar7 + 0x18))" ( (binary_expression "0 < *(int *)(iVar7 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          iVar21 = 0;\n          dVar25 = *(double *)(puVar1 + 0x1410);\n          dVar28 = *(double *)(puVar2 + -0x5af0);\n          dVar26 = *(double *)(puVar2 + -0x5ae8);\n          dVar30 = *(double *)(puVar18 + 0x1400);\n          do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));\n        }" { (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "dVar25 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar25 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar28 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar28 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar26 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar26 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar30 = *(double *)(puVar18 + 0x1400);" (assignment_expression "dVar30 = *(double *)(puVar18 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar18 + 0x1400)" * (cast_expression "(double *)(puVar18 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1400)" ( (binary_expression "puVar18 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          } while (iVar21 < *(int *)(iVar7 + 0x18));" do (compound_statement "{\n            fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);\n            if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }\n            iVar21 = iVar21 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);\n            iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;\n          }" { (expression_statement "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4);" (assignment_expression "fVar24 = *(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4)" identifier = (pointer_expression "*(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4)" * (cast_expression "(float *)(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4)" ( (binary_expression "iVar8 + *(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar5 + 0x2d0) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar5 + 0x2d0) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar5 + 0x2d0) + 0x20)" ( (binary_expression "*(int *)(iVar5 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar5 + 0x2d0)" * (cast_expression "(int *)(iVar5 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2d0)" ( (binary_expression "iVar5 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (fVar24 <= 0.0) {\n              uVar14 = 0;\n            }\n            else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }" if (parenthesized_expression "(fVar24 <= 0.0)" ( (binary_expression "fVar24 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n              uVar14 = 0;\n            }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }" else (compound_statement "{\n              dVar23 = (double)fVar24 / dVar28;\n              if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }\n            }" { (expression_statement "dVar23 = (double)fVar24 / dVar28;" (assignment_expression "dVar23 = (double)fVar24 / dVar28" identifier = (binary_expression "(double)fVar24 / dVar28" (cast_expression "(double)fVar24" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar23 < dVar26) {\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }\n              else {\n                uVar14 = 0xff;\n              }" if (parenthesized_expression "(dVar23 < dVar26)" ( (binary_expression "dVar23 < dVar26" identifier < identifier) )) (compound_statement "{\n                dVar23 = dVar23 + dVar30;\n                if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }\n                uVar14 = (int)dVar23 & 0xff;\n              }" { (expression_statement "dVar23 = dVar23 + dVar30;" (assignment_expression "dVar23 = dVar23 + dVar30" identifier = (binary_expression "dVar23 + dVar30" identifier + identifier)) ;) (if_statement "if (dVar25 <= dVar23) {\n                  dVar23 = dVar23 - dVar25;\n                }" if (parenthesized_expression "(dVar25 <= dVar23)" ( (binary_expression "dVar25 <= dVar23" identifier <= identifier) )) (compound_statement "{\n                  dVar23 = dVar23 - dVar25;\n                }" { (expression_statement "dVar23 = dVar23 - dVar25;" (assignment_expression "dVar23 = dVar23 - dVar25" identifier = (binary_expression "dVar23 - dVar25" identifier - identifier)) ;) })) (expression_statement "uVar14 = (int)dVar23 & 0xff;" (assignment_expression "uVar14 = (int)dVar23 & 0xff" identifier = (binary_expression "(int)dVar23 & 0xff" (cast_expression "(int)dVar23" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                uVar14 = 0xff;\n              }" else (compound_statement "{\n                uVar14 = 0xff;\n              }" { (expression_statement "uVar14 = 0xff;" (assignment_expression "uVar14 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(image,uVar14)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,uVar14)" ( identifier , identifier ))) ;) (expression_statement "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4;" (assignment_expression "iVar8 = iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier = (binary_expression "iVar8 + *(int *)(iVar5 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar5 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar5 + 0x2c0)" * (cast_expression "(int *)(iVar5 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2c0)" ( (binary_expression "iVar5 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar21 < *(int *)(iVar7 + 0x18))" ( (binary_expression "iVar21 < *(int *)(iVar7 + 0x18)" identifier < (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "tile_rows_00 = local_c0;" (assignment_expression "tile_rows_00 = local_c0" identifier = identifier) ;) (expression_statement "iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c));" (assignment_expression "iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar6,0,\n                           *(undefined4 *)(iVar5 + 0x1c))" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x15c" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar5 + 0x1c)" * (cast_expression "(undefined4 *)(iVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp);" (assignment_expression "pEVar16 = (ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp)" identifier = (cast_expression "(ExceptionInfo *)((int)&pEVar16->severity + AtopCompositeOp)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar16->severity + AtopCompositeOp)" ( (binary_expression "(int)&pEVar16->severity + AtopCompositeOp" (cast_expression "(int)&pEVar16->severity" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar16->severity" & (field_expression "pEVar16->severity" identifier -> field_identifier))) + identifier) )))) ;) (expression_statement "local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6));" (assignment_expression "local_c0 = (ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6))" identifier = (cast_expression "(ExceptionInfo *)((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6))" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6))" ( (binary_expression "(int)&local_c0->severity + (uint)(uVar6 + 2 < uVar6)" (cast_expression "(int)&local_c0->severity" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_c0->severity" & (field_expression "local_c0->severity" identifier -> field_identifier))) + (call_expression "(uint)(uVar6 + 2 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 + 2 < uVar6)" ( (binary_expression "uVar6 + 2 < uVar6" (binary_expression "uVar6 + 2" identifier + number_literal) < identifier) )))) )))) ;) (expression_statement "uVar6 = uVar6 + 2;" (assignment_expression "uVar6 = uVar6 + 2" identifier = (binary_expression "uVar6 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)pEVar16 < *(int *)(iVar5 + 0x1c))" ( (binary_expression "(int)pEVar16 < *(int *)(iVar5 + 0x1c)" (cast_expression "(int)pEVar16" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)(iVar5 + 0x1c)" * (cast_expression "(int *)(iVar5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar8 = 0x800;" (assignment_expression "iVar8 = 0x800" identifier = number_literal) ;) (do_statement "do {\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    } while (iVar8 != 0);" do (compound_statement "{\n      pIVar13 = (Image *)0x0;\n      iVar8 = iVar8 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(image);\n    }" { (expression_statement "pIVar13 = (Image *)0x0;" (assignment_expression "pIVar13 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(image);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(image)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "MVar10 = MagickTrue;" (assignment_expression "MVar10 = MagickTrue" identifier = identifier) ;) }))) (if_statement "if (iVar4 == *(int *)puVar3) {\n    return MVar10;\n  }" if (parenthesized_expression "(iVar4 == *(int *)puVar3)" ( (binary_expression "iVar4 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return MVar10;\n  }" { (return_statement "return MVar10;" return identifier ;) })) (expression_statement "puVar18 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar18 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar4 == 0) {\n    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);\nLAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);\n    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\n    iVar21 = *(int *)(pcVar19 + 0x1494a0);\n    iVar17 = *(int *)(pcVar19 + 0x14950c);\n    iVar4 = iVar21 + 0x48d0;\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);\n    iVar8 = *(int *)(pcVar19 + 0x14956c);\n    iVar7 = *(int *)(pcVar19 + 0x14956c);\n    iVar5 = *(int *)(pcVar19 + 0x14956c);\n    pcVar20 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;\n    (*pcVar20)(iVar4);\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar19 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar19)(iVar4);\n    return 0x810;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);\nLAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);\n    (*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);\n    iVar21 = *(int *)(pcVar19 + 0x1494a0);\n    iVar17 = *(int *)(pcVar19 + 0x14950c);\n    iVar4 = iVar21 + 0x48d0;\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);\n    iVar8 = *(int *)(pcVar19 + 0x14956c);\n    iVar7 = *(int *)(pcVar19 + 0x14956c);\n    iVar5 = *(int *)(pcVar19 + 0x14956c);\n    pcVar20 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;\n    (*pcVar20)(iVar4);\n    iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar19 = *(code **)(pcVar19 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar19)(iVar4);\n    return 0x810;\n  }" { (expression_statement "iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c;" (assignment_expression "iVar5 = *(int *)(puVar18 + 0x1499ec) + -0x5a8c" identifier = (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5);" (call_expression "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar18 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar18 + 0x14a6a8)" * (cast_expression "(code **)(puVar18 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a6a8)" ( (binary_expression "puVar18 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar18 + 0x149980) + 0xd78,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x469,\n               iVar5)" ( (binary_expression "*(int *)(puVar18 + 0x149980) + 0xd78" (pointer_expression "*(int *)(puVar18 + 0x149980)" * (cast_expression "(int *)(puVar18 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x149980)" ( (binary_expression "puVar18 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , identifier ))) ;) (labeled_statement "LAB_0025f3d8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c);" (call_expression "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar18 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar18 + 0x14a6a8)" * (cast_expression "(code **)(puVar18 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a6a8)" ( (binary_expression "puVar18 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar18 + 0x149988) + -0x3784,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar5 + -0x5a8c)" ( (binary_expression "*(int *)(puVar18 + 0x149988) + -0x3784" (pointer_expression "*(int *)(puVar18 + 0x149988)" * (cast_expression "(int *)(puVar18 + 0x149988)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x149988)" ( (binary_expression "puVar18 + 0x149988" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "iVar5 + -0x5a8c" identifier + number_literal) ))) ;)) (labeled_statement "LAB_0025f3f8:\n    (**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);" (call_expression "(**(code **)(puVar18 + 0x14a6a8))\n              (*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar18 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar18 + 0x14a6a8)" * (cast_expression "(code **)(puVar18 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a6a8)" ( (binary_expression "puVar18 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar18 + 0x149980) + 0xdd0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar18 + 0x149980) + 0xdd0" (pointer_expression "*(int *)(puVar18 + 0x149980)" * (cast_expression "(int *)(puVar18 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x149980)" ( (binary_expression "puVar18 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;)) (labeled_statement "LAB_0025f41c:\n    pcVar19 = *(code **)(puVar18 + 0x14a6a8);" statement_identifier : (expression_statement "pcVar19 = *(code **)(puVar18 + 0x14a6a8);" (assignment_expression "pcVar19 = *(code **)(puVar18 + 0x14a6a8)" identifier = (pointer_expression "*(code **)(puVar18 + 0x14a6a8)" * (cast_expression "(code **)(puVar18 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a6a8)" ( (binary_expression "puVar18 + 0x14a6a8" identifier + number_literal) ))))) ;)) (expression_statement "(*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c);" (call_expression "(*pcVar19)(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "(*(int *)(puVar18 + 0x149980) + 0xda0,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar18 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar18 + 0x149980) + 0xda0" (pointer_expression "*(int *)(puVar18 + 0x149980)" * (cast_expression "(int *)(puVar18 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x149980)" ( (binary_expression "puVar18 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar21 = *(int *)(pcVar19 + 0x1494a0);" (assignment_expression "iVar21 = *(int *)(pcVar19 + 0x1494a0)" identifier = (pointer_expression "*(int *)(pcVar19 + 0x1494a0)" * (cast_expression "(int *)(pcVar19 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x1494a0)" ( (binary_expression "pcVar19 + 0x1494a0" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = *(int *)(pcVar19 + 0x14950c);" (assignment_expression "iVar17 = *(int *)(pcVar19 + 0x14950c)" identifier = (pointer_expression "*(int *)(pcVar19 + 0x14950c)" * (cast_expression "(int *)(pcVar19 + 0x14950c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x14950c)" ( (binary_expression "pcVar19 + 0x14950c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar21 + 0x48d0;" (assignment_expression "iVar4 = iVar21 + 0x48d0" identifier = (binary_expression "iVar21 + 0x48d0" identifier + number_literal)) ;) (expression_statement "iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar19 + 0x14a19c))(iVar4,iVar4,iVar17 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar19 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar19 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar19 + 0x14a19c)" * (cast_expression "(code **)(pcVar19 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x14a19c)" ( (binary_expression "pcVar19 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar4,iVar4,iVar17 + -0x5b08)" ( identifier , identifier , (binary_expression "iVar17 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "iVar8 = *(int *)(pcVar19 + 0x14956c);" (assignment_expression "iVar8 = *(int *)(pcVar19 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar19 + 0x14956c)" * (cast_expression "(int *)(pcVar19 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x14956c)" ( (binary_expression "pcVar19 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(pcVar19 + 0x14956c);" (assignment_expression "iVar7 = *(int *)(pcVar19 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar19 + 0x14956c)" * (cast_expression "(int *)(pcVar19 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x14956c)" ( (binary_expression "pcVar19 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar19 + 0x14956c);" (assignment_expression "iVar5 = *(int *)(pcVar19 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar19 + 0x14956c)" * (cast_expression "(int *)(pcVar19 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x14956c)" ( (binary_expression "pcVar19 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "pcVar20 = *(code **)(pcVar19 + 0x149a7c);" (assignment_expression "pcVar20 = *(code **)(pcVar19 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar19 + 0x149a7c)" * (cast_expression "(code **)(pcVar19 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x149a7c)" ( (binary_expression "pcVar19 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar8 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar8 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x24) = iVar5 + -0x17d8;" (assignment_expression "*(int *)(iVar4 + 0x24) = iVar5 + -0x17d8" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar5 + -0x17d8" identifier + number_literal)) ;) (expression_statement "(*pcVar20)(iVar4);" (call_expression "(*pcVar20)(iVar4)" (parenthesized_expression "(*pcVar20)" ( (pointer_expression "*pcVar20" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar19 + 0x14a19c))\n                      (iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar19 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar19 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar19 + 0x14a19c)" * (cast_expression "(code **)(pcVar19 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x14a19c)" ( (binary_expression "pcVar19 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar21 + 0x48d0,*(int *)(pcVar19 + 0x1494a0) + 0x48c8,iVar17 + -0x5b08)" ( (binary_expression "iVar21 + 0x48d0" identifier + number_literal) , (binary_expression "*(int *)(pcVar19 + 0x1494a0) + 0x48c8" (pointer_expression "*(int *)(pcVar19 + 0x1494a0)" * (cast_expression "(int *)(pcVar19 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar19 + 0x1494a0)" ( (binary_expression "pcVar19 + 0x1494a0" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar17 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar8 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar8 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar8 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "pcVar19 = *(code **)(pcVar19 + 0x149a7c);" (assignment_expression "pcVar19 = *(code **)(pcVar19 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar19 + 0x149a7c)" * (cast_expression "(code **)(pcVar19 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x149a7c)" ( (binary_expression "pcVar19 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "(*pcVar19)(iVar4);" (call_expression "(*pcVar19)(iVar4)" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })) (if_statement "if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;" if (parenthesized_expression "(*(int *)(iVar4 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(iVar4 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(iVar4 + 0x3214)" * (cast_expression "(int *)(iVar4 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3214)" ( (binary_expression "iVar4 + 0x3214" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0025f41c;" goto statement_identifier ;)) (if_statement "if (pIVar13 == (Image *)0x0) goto LAB_0025f3f8;" if (parenthesized_expression "(pIVar13 == (Image *)0x0)" ( (binary_expression "pIVar13 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0025f3f8;" goto statement_identifier ;)) (expression_statement "iVar5 = *(int *)(puVar18 + 0x1499ec);" (assignment_expression "iVar5 = *(int *)(puVar18 + 0x1499ec)" identifier = (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) ))))) ;) (if_statement "if (pIVar13->signature != 0xabacadab) goto LAB_0025f3d8;" if (parenthesized_expression "(pIVar13->signature != 0xabacadab)" ( (binary_expression "pIVar13->signature != 0xabacadab" (field_expression "pIVar13->signature" identifier -> field_identifier) != number_literal) )) (goto_statement "goto LAB_0025f3d8;" goto statement_identifier ;)) (if_statement "if (pIVar13->debug != MagickFalse) {\n    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);\n    (**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);\n  }" if (parenthesized_expression "(pIVar13->debug != MagickFalse)" ( (binary_expression "pIVar13->debug != MagickFalse" (field_expression "pIVar13->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);\n    (**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);\n  }" { (expression_statement "in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac);" (assignment_expression "in_stack_fffffef0 = (ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac)" identifier = (cast_expression "(ExceptionInfo *)(*(int *)(puVar18 + 0x149984) - 0x62ac)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x149984) - 0x62ac)" ( (binary_expression "*(int *)(puVar18 + 0x149984) - 0x62ac" (pointer_expression "*(int *)(puVar18 + 0x149984)" * (cast_expression "(int *)(puVar18 + 0x149984)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x149984)" ( (binary_expression "puVar18 + 0x149984" identifier + number_literal) )))) - number_literal) )))) ;) (expression_statement "(**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename);" (call_expression "(**(code **)(puVar18 + 0x14a280))\n              (0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a280))" ( (pointer_expression "**(code **)(puVar18 + 0x14a280)" * (pointer_expression "*(code **)(puVar18 + 0x14a280)" * (cast_expression "(code **)(puVar18 + 0x14a280)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a280)" ( (binary_expression "puVar18 + 0x14a280" identifier + number_literal) ))))) )) (argument_list "(0x8000,*(int *)(puVar18 + 0x1499ec) + -0x5bc0,*(int *)(puVar18 + 0x1499ec) + -0x5a9c,\n               0x46e,in_stack_fffffef0,pIVar13->filename)" ( number_literal , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5a9c" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , identifier , (field_expression "pIVar13->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (pIVar13->columns < pIVar13->rows) {\n    in_stack_fffffef0 = tile_rows_00;\n    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);\n    if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }\n    (**(code **)(puVar18 + 0x14a0b0))(image_00);\n    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);\n    image_00->blob = pBVar11;\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);\n    if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }" if (parenthesized_expression "(pIVar13->columns < pIVar13->rows)" ( (binary_expression "pIVar13->columns < pIVar13->rows" (field_expression "pIVar13->columns" identifier -> field_identifier) < (field_expression "pIVar13->rows" identifier -> field_identifier)) )) (compound_statement "{\n    in_stack_fffffef0 = tile_rows_00;\n    image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);\n    if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }\n    (**(code **)(puVar18 + 0x14a0b0))(image_00);\n    pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);\n    image_00->blob = pBVar11;\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);\n    if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }\n  }" { (expression_statement "in_stack_fffffef0 = tile_rows_00;" (assignment_expression "in_stack_fffffef0 = tile_rows_00" identifier = identifier) ;) (expression_statement "image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13);" (assignment_expression "image_00 = (Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13)" identifier = (cast_expression "(Image *)(**(code **)(puVar18 + 0x14a86c))(pIVar13)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar18 + 0x14a86c))(pIVar13)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a86c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a86c)" * (pointer_expression "*(code **)(puVar18 + 0x14a86c)" * (cast_expression "(code **)(puVar18 + 0x14a86c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a86c)" ( (binary_expression "puVar18 + 0x14a86c" identifier + number_literal) ))))) )) (argument_list "(pIVar13)" ( identifier ))))) ;) (if_statement "if (image_00 == (Image *)0x0) {\n      return MagickFalse;\n    }" if (parenthesized_expression "(image_00 == (Image *)0x0)" ( (binary_expression "image_00 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return MagickFalse;\n    }" { (return_statement "return MagickFalse;" return identifier ;) })) (expression_statement "(**(code **)(puVar18 + 0x14a0b0))(image_00);" (call_expression "(**(code **)(puVar18 + 0x14a0b0))(image_00)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a0b0))" ( (pointer_expression "**(code **)(puVar18 + 0x14a0b0)" * (pointer_expression "*(code **)(puVar18 + 0x14a0b0)" * (cast_expression "(code **)(puVar18 + 0x14a0b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a0b0)" ( (binary_expression "puVar18 + 0x14a0b0" identifier + number_literal) ))))) )) (argument_list "(image_00)" ( identifier ))) ;) (expression_statement "pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob);" (assignment_expression "pBVar11 = (BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob)" identifier = (cast_expression "(BlobInfo *)(**(code **)(puVar18 + 0x14a334))(pIVar13->blob)" ( (type_descriptor "BlobInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar18 + 0x14a334))(pIVar13->blob)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a334))" ( (pointer_expression "**(code **)(puVar18 + 0x14a334)" * (pointer_expression "*(code **)(puVar18 + 0x14a334)" * (cast_expression "(code **)(puVar18 + 0x14a334)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a334)" ( (binary_expression "puVar18 + 0x14a334" identifier + number_literal) ))))) )) (argument_list "(pIVar13->blob)" ( (field_expression "pIVar13->blob" identifier -> field_identifier) ))))) ;) (expression_statement "image_00->blob = pBVar11;" (assignment_expression "image_00->blob = pBVar11" (field_expression "image_00->blob" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00);" (assignment_expression "iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00)" identifier = (call_expression "(**(code **)(puVar18 + 0x14a2ec))(iVar4,image_00,4,tile_rows_00)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar18 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar18 + 0x14a2ec)" * (cast_expression "(code **)(puVar18 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a2ec)" ( (binary_expression "puVar18 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,image_00,4,tile_rows_00)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      MVar10 = MagickFalse;\n      if (pIVar13 == image_00) {\n        return MagickFalse;\n      }\n      goto LAB_0025f04c;\n    }" { (expression_statement "MVar10 = MagickFalse;" (assignment_expression "MVar10 = MagickFalse" identifier = identifier) ;) (if_statement "if (pIVar13 == image_00) {\n        return MagickFalse;\n      }" if (parenthesized_expression "(pIVar13 == image_00)" ( (binary_expression "pIVar13 == image_00" identifier == identifier) )) (compound_statement "{\n        return MagickFalse;\n      }" { (return_statement "return MagickFalse;" return identifier ;) })) (goto_statement "goto LAB_0025f04c;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }" else (compound_statement "{\n    iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);\n    image_00 = pIVar13;\n    if (iVar4 == 0) {\n      return MagickFalse;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00);" (assignment_expression "iVar4 = (**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00)" identifier = (call_expression "(**(code **)(puVar18 + 0x14a2ec))(iVar4,pIVar13,4,tile_rows_00)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar18 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar18 + 0x14a2ec)" * (cast_expression "(code **)(puVar18 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a2ec)" ( (binary_expression "puVar18 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,pIVar13,4,tile_rows_00)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "image_00 = pIVar13;" (assignment_expression "image_00 = pIVar13" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      return MagickFalse;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return MagickFalse;\n    }" { (return_statement "return MagickFalse;" return identifier ;) })) }))) (expression_statement "uVar6 = image_00->colorspace - GRAYColorspace;" (assignment_expression "uVar6 = image_00->colorspace - GRAYColorspace" identifier = (binary_expression "image_00->colorspace - GRAYColorspace" (field_expression "image_00->colorspace" identifier -> field_identifier) - identifier)) ;) (if_statement "if (uVar6 < 0x1f) {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }" if (parenthesized_expression "(uVar6 < 0x1f)" ( (binary_expression "uVar6 < 0x1f" identifier < number_literal) )) (compound_statement "{\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar19 = *(code **)(puVar18 + 0x14a220);" (assignment_expression "pcVar19 = *(code **)(puVar18 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar18 + 0x14a220)" * (cast_expression "(code **)(puVar18 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a220)" ( (binary_expression "puVar18 + 0x14a220" identifier + number_literal) ))))) ;) (if_statement "if (-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;" if (parenthesized_expression "(-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x403c0001U >> (uVar6 & 0x1f)) << 0x1f)" ( (binary_expression "(0x403c0001U >> (uVar6 & 0x1f)) << 0x1f" (parenthesized_expression "(0x403c0001U >> (uVar6 & 0x1f))" ( (binary_expression "0x403c0001U >> (uVar6 & 0x1f)" number_literal >> (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) ))) )) << number_literal) )))) )) (goto_statement "goto LAB_0025f0b0;" goto statement_identifier ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }" else (compound_statement "{\n    pcVar19 = *(code **)(puVar18 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar19 = *(code **)(puVar18 + 0x14a220);" (assignment_expression "pcVar19 = *(code **)(puVar18 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar18 + 0x14a220)" * (cast_expression "(code **)(puVar18 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a220)" ( (binary_expression "puVar18 + 0x14a220" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0025f0b0:\n    (*pcVar19)(image_00,0x17,tile_rows_00);" statement_identifier : (expression_statement "(*pcVar19)(image_00,0x17,tile_rows_00);" (call_expression "(*pcVar19)(image_00,0x17,tile_rows_00)" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "(image_00,0x17,tile_rows_00)" ( identifier , number_literal , identifier ))) ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }))) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xff);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0xff);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0xff)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0xff)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0xe);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0xe);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0xe)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0xe)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,1);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,1)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,5);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,5);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,5);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,5)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,5)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,10);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,10);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,10);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,10)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,10)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x24;" (assignment_expression "iVar4 = 0x24" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,1);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,1)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x798;" (assignment_expression "iVar4 = 0x798" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x5fa;" (assignment_expression "iVar4 = 0x5fa" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10);" (call_expression "(**(code **)(puVar18 + 0x14aa34))(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10)" (parenthesized_expression "(**(code **)(puVar18 + 0x14aa34))" ( (pointer_expression "**(code **)(puVar18 + 0x14aa34)" * (pointer_expression "*(code **)(puVar18 + 0x14aa34)" * (cast_expression "(code **)(puVar18 + 0x14aa34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14aa34)" ( (binary_expression "puVar18 + 0x14aa34" identifier + number_literal) ))))) )) (argument_list "(image_00,7,*(int *)(puVar18 + 0x1499ec) + -0x5b10)" ( identifier , number_literal , (binary_expression "*(int *)(puVar18 + 0x1499ec) + -0x5b10" (pointer_expression "*(int *)(puVar18 + 0x1499ec)" * (cast_expression "(int *)(puVar18 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x1499ec)" ( (binary_expression "puVar18 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,6);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,6)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,6)" ( identifier , number_literal ))) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (if_statement "if (pIVar13->columns < pIVar13->rows) {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }\n  else {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" if (parenthesized_expression "(pIVar13->columns < pIVar13->rows)" ( (binary_expression "pIVar13->columns < pIVar13->rows" (field_expression "pIVar13->columns" identifier -> field_identifier) < (field_expression "pIVar13->rows" identifier -> field_identifier)) )) (compound_statement "{\n    (**(code **)(puVar18 + 0x14a07c))(image_00,1);\n  }" { (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,1);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,1)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,1)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" else (compound_statement "{\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = 0x11fd;" (assignment_expression "iVar4 = 0x11fd" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar18 + 0x14a07c))(image_00,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar18 + 0x14a07c))(image_00,0);" (call_expression "(**(code **)(puVar18 + 0x14a07c))(image_00,0)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar18 + 0x14a07c)" * (pointer_expression "*(code **)(puVar18 + 0x14a07c)" * (cast_expression "(code **)(puVar18 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a07c)" ( (binary_expression "puVar18 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(image_00,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);" (call_expression "WritePCDTile(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0)" identifier (argument_list "(image_00,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0)" ( identifier , (cast_expression "(char *)0xc0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (cast_expression "(size_t)tile_rows_00" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);" (call_expression "WritePCDTile(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0)" identifier (argument_list "(image_00,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0)" ( identifier , (cast_expression "(char *)0x180" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (cast_expression "(size_t)tile_rows_00" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);" (assignment_expression "MVar10 = WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0)" identifier = (call_expression "WritePCDTile(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0)" identifier (argument_list "(image_00,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0)" ( identifier , (cast_expression "(char *)0x300" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (cast_expression "(size_t)tile_rows_00" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier )))) ;) (expression_statement "(**(code **)(puVar18 + 0x14a728))(image_00);" (call_expression "(**(code **)(puVar18 + 0x14a728))(image_00)" (parenthesized_expression "(**(code **)(puVar18 + 0x14a728))" ( (pointer_expression "**(code **)(puVar18 + 0x14a728)" * (pointer_expression "*(code **)(puVar18 + 0x14a728)" * (cast_expression "(code **)(puVar18 + 0x14a728)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x14a728)" ( (binary_expression "puVar18 + 0x14a728" identifier + number_literal) ))))) )) (argument_list "(image_00)" ( identifier ))) ;) (if_statement "if (pIVar13 == image_00) {\n    return MVar10;\n  }" if (parenthesized_expression "(pIVar13 == image_00)" ( (binary_expression "pIVar13 == image_00" identifier == identifier) )) (compound_statement "{\n    return MVar10;\n  }" { (return_statement "return MVar10;" return identifier ;) })) (labeled_statement "LAB_0025f04c:\n  (**(code **)(puVar18 + 0x149fec))(image_00);" statement_identifier : (expression_statement "(**(code **)(puVar18 + 0x149fec))(image_00);" (call_expression "(**(code **)(puVar18 + 0x149fec))(image_00)" (parenthesized_expression "(**(code **)(puVar18 + 0x149fec))" ( (pointer_expression "**(code **)(puVar18 + 0x149fec)" * (pointer_expression "*(code **)(puVar18 + 0x149fec)" * (cast_expression "(code **)(puVar18 + 0x149fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x149fec)" ( (binary_expression "puVar18 + 0x149fec" identifier + number_literal) ))))) )) (argument_list "(image_00)" ( identifier ))) ;)) (return_statement "return MVar10;" return identifier ;) })))
(translation_unit "undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}\n\n" (function_definition "undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" type_identifier (function_declarator "FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,uint *param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type 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 "int iVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "float fVar21;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (declaration "double dVar25;" primitive_type identifier ;) (declaration "double dVar26;" primitive_type identifier ;) (declaration "double dVar27;" primitive_type identifier ;) (declaration "uint *puVar28;" type_identifier (pointer_declarator "*puVar28" * identifier) ;) (declaration "uint *local_c0;" type_identifier (pointer_declarator "*local_c0" * identifier) ;) (declaration "uint *local_a8;" type_identifier (pointer_declarator "*local_a8" * identifier) ;) (declaration "uint *local_a4;" type_identifier (pointer_declarator "*local_a4" * identifier) ;) (declaration "undefined1 auStack_a0 [4];" type_identifier (array_declarator "auStack_a0 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [4];" type_identifier (array_declarator "auStack_9c [4]" identifier [ number_literal ]) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "uint local_94;" type_identifier identifier ;) (declaration "double local_88;" primitive_type identifier ;) (declaration "double local_80;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "local_5c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_5c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);" (call_expression "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8)" (parenthesized_expression "(*(code *)PTR_SetGeometry_003a9624)" ( (pointer_expression "*(code *)PTR_SetGeometry_003a9624" * (cast_expression "(code *)PTR_SetGeometry_003a9624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,&local_a8)" ( identifier , (pointer_expression "&local_a8" & identifier) ))) ;) (expression_statement "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);" (call_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" (parenthesized_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)" ( (pointer_expression "*(code *)PTR_ParseMetaGeometry_003a907c" * (cast_expression "(code *)PTR_ParseMetaGeometry_003a907c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" ( (binary_expression "puVar15 + -0x5b1c" identifier + number_literal) , identifier , identifier , (pointer_expression "&local_a8" & identifier) , (pointer_expression "&local_a4" & identifier) ))) ;) (if_statement "if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" if (parenthesized_expression "(((uint)local_a8 & 1) != 0)" ( (binary_expression "((uint)local_a8 & 1) != 0" (parenthesized_expression "((uint)local_a8 & 1)" ( (binary_expression "(uint)local_a8 & 1" (cast_expression "(uint)local_a8" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" { (expression_statement "local_a8 = (uint *)((int)local_a8 - 1);" (assignment_expression "local_a8 = (uint *)((int)local_a8 - 1)" identifier = (cast_expression "(uint *)((int)local_a8 - 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a8 - 1)" ( (binary_expression "(int)local_a8 - 1" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })) (if_statement "if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" if (parenthesized_expression "(((uint)local_a4 & 1) != 0)" ( (binary_expression "((uint)local_a4 & 1) != 0" (parenthesized_expression "((uint)local_a4 & 1)" ( (binary_expression "(uint)local_a4 & 1" (cast_expression "(uint)local_a4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" { (expression_statement "local_a4 = (uint *)((int)local_a4 - 1);" (assignment_expression "local_a4 = (uint *)((int)local_a4 - 1)" identifier = (cast_expression "(uint *)((int)local_a4 - 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a4 - 1)" ( (binary_expression "(int)local_a4 - 1" (cast_expression "(int)local_a4" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })) (expression_statement "puVar9 = local_a8;" (assignment_expression "puVar9 = local_a8" identifier = identifier) ;) (expression_statement "puVar11 = local_a4;" (assignment_expression "puVar11 = local_a4" identifier = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);" (assignment_expression "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,local_a8,local_a4,3,param_4)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0025ee40:\n    uVar8 = 0;\n  }" { (labeled_statement "LAB_0025ee40:\n    uVar8 = 0;" statement_identifier : (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" else (compound_statement "{\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" { (expression_statement "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);" (assignment_expression "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" identifier = (call_expression "(*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" (parenthesized_expression "(*(code *)PTR_ParseGeometry_003a9454)" ( (pointer_expression "*(code *)PTR_ParseGeometry_003a9454" * (cast_expression "(code *)PTR_ParseGeometry_003a9454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15 + -0x5b1c,&local_88)" ( (binary_expression "puVar15 + -0x5b1c" identifier + number_literal) , (pointer_expression "&local_88" & identifier) )))) ;) (if_statement "if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" if (parenthesized_expression "(local_88 < *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_88 < *(double *)(puVar1 + 0x1410)" identifier < (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) )) (compound_statement "{\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }" { (expression_statement "local_a8 = (uint *)(int)local_88;" (assignment_expression "local_a8 = (uint *)(int)local_88" identifier = (cast_expression "(uint *)(int)local_88" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((uVar5 & 8) == 0) goto LAB_0025eebc;" if (parenthesized_expression "((uVar5 & 8) == 0)" ( (binary_expression "(uVar5 & 8) == 0" (parenthesized_expression "(uVar5 & 8)" ( (binary_expression "uVar5 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0025eebc;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" statement_identifier : (if_statement "if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" if (parenthesized_expression "(*(double *)(puVar1 + 0x1410) <= local_80)" ( (binary_expression "*(double *)(puVar1 + 0x1410) <= local_80" (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }" { (expression_statement "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" identifier = (cast_expression "(uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (binary_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_80 - *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_80 - *(double *)(puVar1 + 0x1410)" identifier - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal) )))) ;) }) (else_clause "else {\n        local_a4 = (uint *)(int)local_80;\n      }" else (compound_statement "{\n        local_a4 = (uint *)(int)local_80;\n      }" { (expression_statement "local_a4 = (uint *)(int)local_80;" (assignment_expression "local_a4 = (uint *)(int)local_80" identifier = (cast_expression "(uint *)(int)local_80" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })))) (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x18)" * (cast_expression "(uint **)(iVar4 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x1c)" * (cast_expression "(uint **)(iVar4 + 0x1c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (local_a8 != puVar9) goto LAB_0025e9e4;" if (parenthesized_expression "(local_a8 != puVar9)" ( (binary_expression "local_a8 != puVar9" identifier != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) (labeled_statement "LAB_0025eed0:\n      puVar11 = local_a8;" statement_identifier : (expression_statement "puVar11 = local_a8;" (assignment_expression "puVar11 = local_a8" identifier = identifier) ;)) (if_statement "if (local_a4 != puVar12) goto LAB_0025e9e4;" if (parenthesized_expression "(local_a4 != puVar12)" ( (binary_expression "local_a4 != puVar12" identifier != identifier) )) (goto_statement "goto LAB_0025e9e4;" goto statement_identifier ;)) }) (else_clause "else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" else (compound_statement "{\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" { (expression_statement "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" identifier = (cast_expression "(uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" ( (binary_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_88 - *(double *)(puVar1 + 0x1410))" ( (binary_expression "local_88 - *(double *)(puVar1 + 0x1410)" identifier - (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ))) | number_literal) )))) ;) (if_statement "if ((uVar5 & 8) != 0) goto LAB_0025e9ac;" if (parenthesized_expression "((uVar5 & 8) != 0)" ( (binary_expression "(uVar5 & 8) != 0" (parenthesized_expression "(uVar5 & 8)" ( (binary_expression "uVar5 & 8" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0025e9ac;" goto statement_identifier ;)) (labeled_statement "LAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);" statement_identifier : (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x18)" * (cast_expression "(uint **)(iVar4 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;)) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" identifier = (pointer_expression "*(uint **)(iVar4 + 0x1c)" * (cast_expression "(uint **)(iVar4 + 0x1c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_a4 = local_a8;" (assignment_expression "local_a4 = local_a8" identifier = identifier) ;) (if_statement "if (local_a8 == puVar9) goto LAB_0025eed0;" if (parenthesized_expression "(local_a8 == puVar9)" ( (binary_expression "local_a8 == puVar9" identifier == identifier) )) (goto_statement "goto LAB_0025eed0;" goto statement_identifier ;)) (labeled_statement "LAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);" statement_identifier : (expression_statement "puVar11 = *(uint **)(param_1 + 0x264);" (assignment_expression "puVar11 = *(uint **)(param_1 + 0x264)" identifier = (pointer_expression "*(uint **)(param_1 + 0x264)" * (cast_expression "(uint **)(param_1 + 0x264)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x264)" ( (binary_expression "param_1 + 0x264" identifier + number_literal) ))))) ;)) (expression_statement "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;" (assignment_expression "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" identifier = (binary_expression "(uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" (call_expression "(uint)((int)local_a8 + (1 - (int)puVar9))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_a8 + (1 - (int)puVar9))" ( (binary_expression "(int)local_a8 + (1 - (int)puVar9)" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(1 - (int)puVar9)" ( (binary_expression "1 - (int)puVar9" number_literal - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (expression_statement "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;" (assignment_expression "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" identifier = (binary_expression "(uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" (call_expression "(uint)((int)local_a4 + (1 - (int)puVar12))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_a4 + (1 - (int)puVar12))" ( (binary_expression "(int)local_a4 + (1 - (int)puVar12)" (cast_expression "(int)local_a4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(1 - (int)puVar12)" ( (binary_expression "1 - (int)puVar12" number_literal - (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (expression_statement "puVar9 = &local_98;" (assignment_expression "puVar9 = &local_98" identifier = (pointer_expression "&local_98" & identifier)) ;) (expression_statement "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" identifier = (call_expression "(*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" (parenthesized_expression "(*(code *)PTR_BorderImage_003a90c4)" ( (pointer_expression "*(code *)PTR_BorderImage_003a90c4" * (cast_expression "(code *)PTR_BorderImage_003a90c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar9,puVar11,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x18);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x18)" identifier = (pointer_expression "*(uint **)(iVar6 + 0x18)" * (cast_expression "(uint **)(iVar6 + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) }))) (if_statement "if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" if (parenthesized_expression "(((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       ))" ( (binary_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" (parenthesized_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3))" ( (binary_expression "(param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)" (parenthesized_expression "(param_2 != puVar11)" ( (binary_expression "param_2 != puVar11" identifier != identifier) )) || (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != param_3)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != param_3" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != identifier) ))) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" ( (comma_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x250)" * (cast_expression "(undefined4 *)(iVar4 + 0x250)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x250)" ( (binary_expression "iVar4 + 0x250" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0x1c,param_4)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);" (assignment_expression "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" identifier = (cast_expression "(uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar4 + 0x1c) >> 1)" ( (binary_expression "*(uint *)(iVar4 + 0x1c) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x1c)" * (cast_expression "(uint *)(iVar4 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);" (assignment_expression "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1)" identifier = (cast_expression "(uint *)(*(uint *)(iVar4 + 0x18) >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(iVar4 + 0x18) >> 1)" ( (binary_expression "*(uint *)(iVar4 + 0x18) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x18)" * (cast_expression "(uint *)(iVar4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" ( (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" * (cast_expression "(code *)PTR_ResizeImage_003a95ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar9,puVar11,3,param_4)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar15 = PTR_LAB_003a88e0;" (assignment_expression "puVar15 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0025ee40;" goto statement_identifier ;)) (if_statement "if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" if (parenthesized_expression "(0 < *(int *)(iVar4 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar4 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" { (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "local_c0 = (uint *)0x0;" (assignment_expression "local_c0 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));" do (compound_statement "{\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      }" { (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (uint *)((int)puVar9 >> 1);" (assignment_expression "puVar12 = (uint *)((int)puVar9 >> 1)" identifier = (cast_expression "(uint *)((int)puVar9 >> 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 >> 1)" ( (binary_expression "(int)puVar9 >> 1" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" if (parenthesized_expression "(0 < *(int *)(iVar4 + 0x18) << 1)" ( (binary_expression "0 < *(int *)(iVar4 + 0x18) << 1" number_literal < (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) << number_literal)) )) (compound_statement "{\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" { (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 8)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar21))" ( (call_expression "NAN(fVar21)" identifier (argument_list "(fVar21)" ( identifier ))) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar21)" ( (binary_expression "0.0 < fVar21" number_literal < identifier) )) (compound_statement "{\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" { (if_statement "if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }" if (parenthesized_expression "((double)fVar21 / dVar24 < dVar26)" ( (binary_expression "(double)fVar21 / dVar24 < dVar26" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }" { (expression_statement "dVar23 = (double)fVar21 / dVar24 + dVar19;" (assignment_expression "dVar23 = (double)fVar21 / dVar24 + dVar19" identifier = (binary_expression "(double)fVar21 / dVar24 + dVar19" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }" if (parenthesized_expression "(dVar22 <= dVar23)" ( (binary_expression "dVar22 <= dVar23" identifier <= identifier) )) (compound_statement "{\n                    dVar23 = dVar23 - dVar22;\n                  }" { (expression_statement "dVar23 = dVar23 - dVar22;" (assignment_expression "dVar23 = dVar23 - dVar22" identifier = (binary_expression "dVar23 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar23 & 0xff;" (assignment_expression "uVar10 = (int)dVar23 & 0xff" identifier = (binary_expression "(int)dVar23 & 0xff" (cast_expression "(int)dVar23" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                  uVar10 = 0xff;\n                }" else (compound_statement "{\n                  uVar10 = 0xff;\n                }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) }))) })) }))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar18 < *(int *)(iVar4 + 0x18) << 1)" ( (binary_expression "iVar18 < *(int *)(iVar4 + 0x18) << 1" identifier < (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) << number_literal)) )) ;) })) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" if (parenthesized_expression "(0 < iVar18)" ( (binary_expression "0 < iVar18" number_literal < identifier) )) (compound_statement "{\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar15 + 0x1400)" * (cast_expression "(double *)(puVar15 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1400)" ( (binary_expression "puVar15 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x14)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" if (parenthesized_expression "(NAN(fVar21))" ( (call_expression "NAN(fVar21)" identifier (argument_list "(fVar21)" ( identifier ))) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" else (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" if (parenthesized_expression "(0.0 < fVar21)" ( (binary_expression "0.0 < fVar21" number_literal < identifier) )) (compound_statement "{\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" if (parenthesized_expression "((double)fVar21 / dVar25 < dVar23)" ( (binary_expression "(double)fVar21 / dVar25 < dVar23" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" { (expression_statement "dVar20 = (double)fVar21 / dVar25 + dVar27;" (assignment_expression "dVar20 = (double)fVar21 / dVar25 + dVar27" identifier = (binary_expression "(double)fVar21 / dVar25 + dVar27" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }" if (parenthesized_expression "(dVar22 <= dVar20)" ( (binary_expression "dVar22 <= dVar20" identifier <= identifier) )) (compound_statement "{\n                    dVar20 = dVar20 - dVar22;\n                  }" { (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" identifier = (binary_expression "dVar20 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" identifier = (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) })) })) }))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) ;) })) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" ( (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" * (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,puVar12,iVar18,1,param_4)" ( identifier , number_literal , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" if (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" ( (binary_expression "0 < *(int *)(iVar6 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" identifier = (pointer_expression "*(double *)(puVar1 + 0x1410)" * (cast_expression "(double *)(puVar1 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1410)" ( (binary_expression "puVar1 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5af0)" * (cast_expression "(double *)(puVar2 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5af0)" ( (binary_expression "puVar2 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar2 + -0x5ae8)" * (cast_expression "(double *)(puVar2 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5ae8)" ( (binary_expression "puVar2 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar15 + 0x1400)" * (cast_expression "(double *)(puVar15 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1400)" ( (binary_expression "puVar15 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));" do (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" { (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" identifier = (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" * (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" ( (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x20)" ( (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar4 + 0x2d0)" * (cast_expression "(int *)(iVar4 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2d0)" ( (binary_expression "iVar4 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" if (parenthesized_expression "(fVar21 <= 0.0)" ( (binary_expression "fVar21 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n              uVar10 = 0;\n            }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" else (compound_statement "{\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" { (expression_statement "dVar20 = (double)fVar21 / dVar25;" (assignment_expression "dVar20 = (double)fVar21 / dVar25" identifier = (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }" if (parenthesized_expression "(dVar20 < dVar23)" ( (binary_expression "dVar20 < dVar23" identifier < identifier) )) (compound_statement "{\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }" { (expression_statement "dVar20 = dVar20 + dVar27;" (assignment_expression "dVar20 = dVar20 + dVar27" identifier = (binary_expression "dVar20 + dVar27" identifier + identifier)) ;) (if_statement "if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }" if (parenthesized_expression "(dVar22 <= dVar20)" ( (binary_expression "dVar22 <= dVar20" identifier <= identifier) )) (compound_statement "{\n                  dVar20 = dVar20 - dVar22;\n                }" { (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" identifier = (binary_expression "dVar20 - dVar22" identifier - identifier)) ;) })) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" identifier = (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" ( (type_descriptor "int" primitive_type) ) identifier) & number_literal)) ;) }) (else_clause "else {\n                uVar10 = 0xff;\n              }" else (compound_statement "{\n                uVar10 = 0xff;\n              }" { (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" * (cast_expression "(int *)(iVar4 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c0)" ( (binary_expression "iVar4 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar18 < *(int *)(iVar6 + 0x18))" ( (binary_expression "iVar18 < *(int *)(iVar6 + 0x18)" identifier < (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "puVar11 = local_c0;" (assignment_expression "puVar11 = local_c0" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x15c" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar9 = (uint *)((int)puVar9 + 2);" (assignment_expression "puVar9 = (uint *)((int)puVar9 + 2)" identifier = (cast_expression "(uint *)((int)puVar9 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + 2)" ( (binary_expression "(int)puVar9 + 2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);" (assignment_expression "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" identifier = (cast_expression "(uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" ( (binary_expression "(uint)(uVar5 + 2 < uVar5) + (int)local_c0" (call_expression "(uint)(uVar5 + 2 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 + 2 < uVar5)" ( (binary_expression "uVar5 + 2 < uVar5" (binary_expression "uVar5 + 2" identifier + number_literal) < identifier) ))) + (cast_expression "(int)local_c0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar5 = uVar5 + 2;" (assignment_expression "uVar5 = uVar5 + 2" identifier = (binary_expression "uVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)puVar9 < *(int *)(iVar4 + 0x1c))" ( (binary_expression "(int)puVar9 < *(int *)(iVar4 + 0x1c)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar7 = 0x800;" (assignment_expression "iVar7 = 0x800" identifier = number_literal) ;) (do_statement "do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);" do (compound_statement "{\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    }" { (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" ( (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" * (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) }))) (if_statement "if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }" if (parenthesized_expression "(local_5c == *(int *)puVar3)" ( (binary_expression "local_5c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) })) (expression_statement "iVar4 = local_5c;" (assignment_expression "iVar4 = local_5c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar15 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c" identifier = (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xd78" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , identifier ))) ;) (labeled_statement "LAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149988) + -0x3784" (pointer_expression "*(int *)(puVar15 + 0x149988)" * (cast_expression "(int *)(puVar15 + 0x149988)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149988)" ( (binary_expression "puVar15 + 0x149988" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "iVar6 + -0x5a8c" identifier + number_literal) ))) ;)) (labeled_statement "LAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" ( (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" * (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xdd0" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;)) (labeled_statement "LAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a6a8);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a6a8)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" * (cast_expression "(code **)(puVar15 + 0x14a6a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a6a8)" ( (binary_expression "puVar15 + 0x14a6a8" identifier + number_literal) ))))) ;)) (expression_statement "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" ( (binary_expression "*(int *)(puVar15 + 0x149980) + 0xda0" (pointer_expression "*(int *)(puVar15 + 0x149980)" * (cast_expression "(int *)(puVar15 + 0x149980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149980)" ( (binary_expression "puVar15 + 0x149980" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar14 = *(int *)(pcVar16 + 0x1494a0);" (assignment_expression "iVar14 = *(int *)(pcVar16 + 0x1494a0)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" * (cast_expression "(int *)(pcVar16 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x1494a0)" ( (binary_expression "pcVar16 + 0x1494a0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(pcVar16 + 0x14950c);" (assignment_expression "iVar13 = *(int *)(pcVar16 + 0x14950c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14950c)" * (cast_expression "(int *)(pcVar16 + 0x14950c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14950c)" ( (binary_expression "pcVar16 + 0x14950c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar14 + 0x48d0;" (assignment_expression "iVar4 = iVar14 + 0x48d0" identifier = (binary_expression "iVar14 + 0x48d0" identifier + number_literal)) ;) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" * (cast_expression "(code **)(pcVar16 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x14a19c)" ( (binary_expression "pcVar16 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar4,iVar4,iVar13 + -0x5b08)" ( identifier , identifier , (binary_expression "iVar13 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "iVar18 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar18 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar7 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar6 = *(int *)(pcVar16 + 0x14956c)" identifier = (pointer_expression "*(int *)(pcVar16 + 0x14956c)" * (cast_expression "(int *)(pcVar16 + 0x14956c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x14956c)" ( (binary_expression "pcVar16 + 0x14956c" identifier + number_literal) ))))) ;) (expression_statement "pcVar17 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar17 = *(code **)(pcVar16 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" * (cast_expression "(code **)(pcVar16 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x149a7c)" ( (binary_expression "pcVar16 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar18 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;" (assignment_expression "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar6 + -0x17d8" identifier + number_literal)) ;) (expression_statement "(*pcVar17)(iVar4);" (call_expression "(*pcVar17)(iVar4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" identifier = (call_expression "(**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" ( (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" * (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" * (cast_expression "(code **)(pcVar16 + 0x14a19c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x14a19c)" ( (binary_expression "pcVar16 + 0x14a19c" identifier + number_literal) ))))) )) (argument_list "(iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" ( (binary_expression "iVar14 + 0x48d0" identifier + number_literal) , (binary_expression "*(int *)(pcVar16 + 0x1494a0) + 0x48c8" (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" * (cast_expression "(int *)(pcVar16 + 0x1494a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0x1494a0)" ( (binary_expression "pcVar16 + 0x1494a0" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar13 + -0x5b08" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar18 + -0x2e90" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar7 + -0x10a0" identifier + number_literal)) ;) (expression_statement "pcVar16 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar16 = *(code **)(pcVar16 + 0x149a7c)" identifier = (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" * (cast_expression "(code **)(pcVar16 + 0x149a7c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x149a7c)" ( (binary_expression "pcVar16 + 0x149a7c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" * (cast_expression "(uint *)(iVar4 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) ^ number_literal) | number_literal)) ;) (expression_statement "(*pcVar16)(iVar4);" (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })) (if_statement "if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;" if (parenthesized_expression "(*(int *)(iVar4 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(iVar4 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(iVar4 + 0x3214)" * (cast_expression "(int *)(iVar4 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3214)" ( (binary_expression "iVar4 + 0x3214" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0025f41c;" goto statement_identifier ;)) (if_statement "if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;" if (parenthesized_expression "(puVar9 == (uint *)0x0)" ( (binary_expression "puVar9 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0025f3f8;" goto statement_identifier ;)) (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) ))))) ;) (if_statement "if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;" if (parenthesized_expression "(puVar9[0xcdb] != 0xabacadab)" ( (binary_expression "puVar9[0xcdb] != 0xabacadab" (subscript_expression "puVar9[0xcdb]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_0025f3d8;" goto statement_identifier ;)) (if_statement "if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" if (parenthesized_expression "(puVar9[0xcd4] != 0)" ( (binary_expression "puVar9[0xcd4] != 0" (subscript_expression "puVar9[0xcd4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);" (call_expression "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a280))" ( (pointer_expression "**(code **)(puVar15 + 0x14a280)" * (pointer_expression "*(code **)(puVar15 + 0x14a280)" * (cast_expression "(code **)(puVar15 + 0x14a280)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a280)" ( (binary_expression "puVar15 + 0x14a280" identifier + number_literal) ))))) )) (argument_list "(0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" ( number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a9c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar15 + 0x149984) + -0x62ac" (pointer_expression "*(int *)(puVar15 + 0x149984)" * (cast_expression "(int *)(puVar15 + 0x149984)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x149984)" ( (binary_expression "puVar15 + 0x149984" identifier + number_literal) )))) + number_literal) , (binary_expression "puVar9 + 0xd0" identifier + number_literal) ))) ;) })) (if_statement "if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(puVar9[6] < puVar9[7])" ( (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" identifier [ number_literal ]) < (subscript_expression "puVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }" { (expression_statement "puVar28 = puVar11;" (assignment_expression "puVar28 = puVar11" identifier = identifier) ;) (expression_statement "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);" (assignment_expression "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" identifier = (cast_expression "(uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x14a86c))(puVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a86c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a86c)" * (pointer_expression "*(code **)(puVar15 + 0x14a86c)" * (cast_expression "(code **)(puVar15 + 0x14a86c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a86c)" ( (binary_expression "puVar15 + 0x14a86c" identifier + number_literal) ))))) )) (argument_list "(puVar9)" ( identifier ))))) ;) (if_statement "if (puVar12 == (uint *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar12 == (uint *)0x0)" ( (binary_expression "puVar12 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "(**(code **)(puVar15 + 0x14a0b0))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a0b0))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a0b0))" ( (pointer_expression "**(code **)(puVar15 + 0x14a0b0)" * (pointer_expression "*(code **)(puVar15 + 0x14a0b0)" * (cast_expression "(code **)(puVar15 + 0x14a0b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a0b0)" ( (binary_expression "puVar15 + 0x14a0b0" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);" (assignment_expression "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" identifier = (call_expression "(**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" (parenthesized_expression "(**(code **)(puVar15 + 0x14a334))" ( (pointer_expression "**(code **)(puVar15 + 0x14a334)" * (pointer_expression "*(code **)(puVar15 + 0x14a334)" * (cast_expression "(code **)(puVar15 + 0x14a334)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a334)" ( (binary_expression "puVar15 + 0x14a334" identifier + number_literal) ))))) )) (argument_list "(puVar9[0xcd2])" ( (subscript_expression "puVar9[0xcd2]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar12[0xcd2] = uVar5;" (assignment_expression "puVar12[0xcd2] = uVar5" (subscript_expression "puVar12[0xcd2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" identifier = (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" * (cast_expression "(code **)(puVar15 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a2ec)" ( (binary_expression "puVar15 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,puVar12,4,puVar11,puVar28)" ( identifier , identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (puVar9 == puVar12) {\n        return 0;\n      }" if (parenthesized_expression "(puVar9 == puVar12)" ( (binary_expression "puVar9 == puVar12" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0025f04c;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" identifier = (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" ( (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" * (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" * (cast_expression "(code **)(puVar15 + 0x14a2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a2ec)" ( (binary_expression "puVar15 + 0x14a2ec" identifier + number_literal) ))))) )) (argument_list "(iVar4,puVar9,4,puVar11)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" if (parenthesized_expression "(puVar12[1] - 3 < 0x1f)" ( (binary_expression "puVar12[1] - 3 < 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" identifier [ number_literal ]) - number_literal) < number_literal) )) (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a220)" * (cast_expression "(code **)(puVar15 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a220)" ( (binary_expression "puVar15 + 0x14a220" identifier + number_literal) ))))) ;) (if_statement "if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;" if (parenthesized_expression "(-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" ( (binary_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f" (parenthesized_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f))" ( (binary_expression "0x403c0001U >> (puVar12[1] - 3 & 0x1f)" number_literal >> (parenthesized_expression "(puVar12[1] - 3 & 0x1f)" ( (binary_expression "puVar12[1] - 3 & 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" identifier [ number_literal ]) - number_literal) & number_literal) ))) )) << number_literal) )))) )) (goto_statement "goto LAB_0025f0b0;" goto statement_identifier ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" else (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x14a220)" * (cast_expression "(code **)(puVar15 + 0x14a220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a220)" ( (binary_expression "puVar15 + 0x14a220" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);" statement_identifier : (expression_statement "(*pcVar16)(puVar12,0x17,puVar11);" (call_expression "(*pcVar16)(puVar12,0x17,puVar11)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(puVar12,0x17,puVar11)" ( identifier , number_literal , identifier ))) ;)) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" identifier = number_literal) ;) }))) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0xff)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0xe)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,5);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,5)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,5)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,10);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,10)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x24;" (assignment_expression "iVar4 = 0x24" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x798;" (assignment_expression "iVar4 = 0x798" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = 0x5fa;" (assignment_expression "iVar4 = 0x5fa" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);" (call_expression "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14aa34))" ( (pointer_expression "**(code **)(puVar15 + 0x14aa34)" * (pointer_expression "*(code **)(puVar15 + 0x14aa34)" * (cast_expression "(code **)(puVar15 + 0x14aa34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14aa34)" ( (binary_expression "puVar15 + 0x14aa34" identifier + number_literal) ))))) )) (argument_list "(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" ( identifier , number_literal , (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5b10" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" * (cast_expression "(int *)(puVar15 + 0x1499ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1499ec)" ( (binary_expression "puVar15 + 0x1499ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,6);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,6)" ( identifier , number_literal ))) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (if_statement "if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" if (parenthesized_expression "(puVar9[6] < puVar9[7])" ( (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" identifier [ number_literal ]) < (subscript_expression "puVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,1)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" else (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = 0x11fd;" (assignment_expression "iVar4 = 0x11fd" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" do (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" { (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" ( (pointer_expression "**(code **)(puVar15 + 0x14a07c)" * (pointer_expression "*(code **)(puVar15 + 0x14a07c)" * (cast_expression "(code **)(puVar15 + 0x14a07c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a07c)" ( (binary_expression "puVar15 + 0x14a07c" identifier + number_literal) ))))) )) (argument_list "(puVar12,0)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "FUN_0025e878(puVar12,0xc0,0x80,puVar11);" (call_expression "FUN_0025e878(puVar12,0xc0,0x80,puVar11)" identifier (argument_list "(puVar12,0xc0,0x80,puVar11)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0025e878(puVar12,0x180,0x100,puVar11);" (call_expression "FUN_0025e878(puVar12,0x180,0x100,puVar11)" identifier (argument_list "(puVar12,0x180,0x100,puVar11)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);" (assignment_expression "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11)" identifier = (call_expression "FUN_0025e878(puVar12,0x300,0x200,puVar11)" identifier (argument_list "(puVar12,0x300,0x200,puVar11)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x14a728))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a728))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a728))" ( (pointer_expression "**(code **)(puVar15 + 0x14a728)" * (pointer_expression "*(code **)(puVar15 + 0x14a728)" * (cast_expression "(code **)(puVar15 + 0x14a728)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14a728)" ( (binary_expression "puVar15 + 0x14a728" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;) (if_statement "if (puVar9 == puVar12) {\n    return uVar8;\n  }" if (parenthesized_expression "(puVar9 == puVar12)" ( (binary_expression "puVar9 == puVar12" identifier == identifier) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) })) (labeled_statement "LAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x149fec))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x149fec))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x149fec))" ( (pointer_expression "**(code **)(puVar15 + 0x149fec)" * (pointer_expression "*(code **)(puVar15 + 0x149fec)" * (cast_expression "(code **)(puVar15 + 0x149fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x149fec)" ( (binary_expression "puVar15 + 0x149fec" identifier + number_literal) ))))) )) (argument_list "(puVar12)" ( identifier ))) ;)) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) | LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) 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 = (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 IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) | LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (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 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (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 IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (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 ( IDENT ))) ;) (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 ( IDENT , LIT , IDENT ))) ;) (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT)) )) (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 = 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 + (binary_expression (pointer_expression * (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) )))) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + 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 + (binary_expression (pointer_expression * (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) )))) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) })) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 + (binary_expression (pointer_expression * (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) )))) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , (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) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) ))) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (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 ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 == LIT) )) (compound_statement { (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 * (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 , IDENT ))) ;) (labeled_statement statement_identifier : (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 IDENT + LIT) ))) ;)) (labeled_statement statement_identifier : (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) ))) ;)) (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 ( IDENT , 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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (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 ( (binary_expression IDENT + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT) | LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 ( LIT , (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) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return 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 ( IDENT ))) ;) (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 ( IDENT , IDENT , LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (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 ( IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) < 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) & LIT) ))) )) << LIT) )))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (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) ))))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_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 ( IDENT , LIT , (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT ))) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (subscript_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 ( IDENT , LIT ))) ;) }) (else_clause else (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 ( IDENT , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (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 ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (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 ( IDENT ))) ;)) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" (type_identifier "undefined4") (function_declarator "FUN_0025e878(int param_1,uint *param_2,int param_3,undefined4 param_4)" (identifier "FUN_0025e878") (parameter_list "(int param_1,uint *param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  code *pcVar17;\n  int iVar18;\n  double dVar19;\n  float fVar21;\n  double dVar20;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  uint *puVar28;\n  uint *local_c0;\n  uint *local_a8;\n  uint *local_a4;\n  undefined1 auStack_a0 [4];\n  undefined1 auStack_9c [4];\n  uint local_98;\n  uint local_94;\n  double local_88;\n  double local_80;\n  int local_5c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  local_5c = *(int *)PTR___stack_chk_guard_003a9230;\n  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);\n  (*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);\n  if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }\n  if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }\n  puVar9 = local_a8;\n  puVar11 = local_a4;\n  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);\n  puVar1 = PTR_LAB_003a88e0;\n  if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }\n  if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }\n  iVar4 = local_5c;\n  puVar15 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }\n  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;\n  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;\n  iVar6 = *(int *)(puVar15 + 0x1499ec);\n  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;\n  if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }\n  if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }\n  if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);\n  iVar4 = 8;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);\n  iVar4 = 0x24;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 4;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);\n  iVar4 = 0x798;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  iVar4 = 0x5fa;\n  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);\n  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }\n  iVar4 = 0x11fd;\n  do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);\n  FUN_0025e878(puVar12,0xc0,0x80,puVar11);\n  FUN_0025e878(puVar12,0x180,0x100,puVar11);\n  uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);\n  (**(code **)(puVar15 + 0x14a728))(puVar12);\n  if (puVar9 == puVar12) {\n    return uVar8;\n  }\nLAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);\n  return uVar8;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint *puVar11;" (type_identifier "uint") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "uint *puVar12;" (type_identifier "uint") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "code *pcVar17;" (type_identifier "code") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "float fVar21;" (primitive_type "float") (identifier "fVar21") (; ";")) (declaration "double dVar20;" (primitive_type "double") (identifier "dVar20") (; ";")) (declaration "double dVar22;" (primitive_type "double") (identifier "dVar22") (; ";")) (declaration "double dVar23;" (primitive_type "double") (identifier "dVar23") (; ";")) (declaration "double dVar24;" (primitive_type "double") (identifier "dVar24") (; ";")) (declaration "double dVar25;" (primitive_type "double") (identifier "dVar25") (; ";")) (declaration "double dVar26;" (primitive_type "double") (identifier "dVar26") (; ";")) (declaration "double dVar27;" (primitive_type "double") (identifier "dVar27") (; ";")) (declaration "uint *puVar28;" (type_identifier "uint") (pointer_declarator "*puVar28" (* "*") (identifier "puVar28")) (; ";")) (declaration "uint *local_c0;" (type_identifier "uint") (pointer_declarator "*local_c0" (* "*") (identifier "local_c0")) (; ";")) (declaration "uint *local_a8;" (type_identifier "uint") (pointer_declarator "*local_a8" (* "*") (identifier "local_a8")) (; ";")) (declaration "uint *local_a4;" (type_identifier "uint") (pointer_declarator "*local_a4" (* "*") (identifier "local_a4")) (; ";")) (declaration "undefined1 auStack_a0 [4];" (type_identifier "undefined1") (array_declarator "auStack_a0 [4]" (identifier "auStack_a0") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 auStack_9c [4];" (type_identifier "undefined1") (array_declarator "auStack_9c [4]" (identifier "auStack_9c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_98;" (type_identifier "uint") (identifier "local_98") (; ";")) (declaration "uint local_94;" (type_identifier "uint") (identifier "local_94") (; ";")) (declaration "double local_88;" (primitive_type "double") (identifier "local_88") (; ";")) (declaration "double local_80;" (primitive_type "double") (identifier "local_80") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" (identifier "puVar15") (= "=") (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c")) (; ";")) (expression_statement "local_5c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_5c = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_5c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_003a9230" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_003a9230")))) (; ";")) (expression_statement "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);" (call_expression "(*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8)" (parenthesized_expression "(*(code *)PTR_SetGeometry_003a9624)" (( "(") (pointer_expression "*(code *)PTR_SetGeometry_003a9624" (* "*") (cast_expression "(code *)PTR_SetGeometry_003a9624" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetGeometry_003a9624"))) () ")")) (argument_list "(param_1,&local_a8)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_a8" (& "&") (identifier "local_a8")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);" (call_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)\n            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" (parenthesized_expression "(*(code *)PTR_ParseMetaGeometry_003a907c)" (( "(") (pointer_expression "*(code *)PTR_ParseMetaGeometry_003a907c" (* "*") (cast_expression "(code *)PTR_ParseMetaGeometry_003a907c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ParseMetaGeometry_003a907c"))) () ")")) (argument_list "(puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4)" (( "(") (binary_expression "puVar15 + -0x5b1c" (identifier "puVar15") (+ "+") (number_literal "-0x5b1c")) (, ",") (identifier "auStack_a0") (, ",") (identifier "auStack_9c") (, ",") (pointer_expression "&local_a8" (& "&") (identifier "local_a8")) (, ",") (pointer_expression "&local_a4" (& "&") (identifier "local_a4")) () ")"))) (; ";")) (if_statement "if (((uint)local_a8 & 1) != 0) {\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" (if "if") (parenthesized_expression "(((uint)local_a8 & 1) != 0)" (( "(") (binary_expression "((uint)local_a8 & 1) != 0" (parenthesized_expression "((uint)local_a8 & 1)" (( "(") (binary_expression "(uint)local_a8 & 1" (cast_expression "(uint)local_a8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_a8")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_a8 = (uint *)((int)local_a8 - 1);\n  }" ({ "{") (expression_statement "local_a8 = (uint *)((int)local_a8 - 1);" (assignment_expression "local_a8 = (uint *)((int)local_a8 - 1)" (identifier "local_a8") (= "=") (cast_expression "(uint *)((int)local_a8 - 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_a8 - 1)" (( "(") (binary_expression "(int)local_a8 - 1" (cast_expression "(int)local_a8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a8")) (- "-") (number_literal "1")) () ")")))) (; ";")) (} "}"))) (if_statement "if (((uint)local_a4 & 1) != 0) {\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" (if "if") (parenthesized_expression "(((uint)local_a4 & 1) != 0)" (( "(") (binary_expression "((uint)local_a4 & 1) != 0" (parenthesized_expression "((uint)local_a4 & 1)" (( "(") (binary_expression "(uint)local_a4 & 1" (cast_expression "(uint)local_a4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_a4")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_a4 = (uint *)((int)local_a4 - 1);\n  }" ({ "{") (expression_statement "local_a4 = (uint *)((int)local_a4 - 1);" (assignment_expression "local_a4 = (uint *)((int)local_a4 - 1)" (identifier "local_a4") (= "=") (cast_expression "(uint *)((int)local_a4 - 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_a4 - 1)" (( "(") (binary_expression "(int)local_a4 - 1" (cast_expression "(int)local_a4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a4")) (- "-") (number_literal "1")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar9 = local_a8;" (assignment_expression "puVar9 = local_a8" (identifier "puVar9") (= "=") (identifier "local_a8")) (; ";")) (expression_statement "puVar11 = local_a4;" (assignment_expression "puVar11 = local_a4" (identifier "puVar11") (= "=") (identifier "local_a4")) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);" (assignment_expression "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" (( "(") (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" (* "*") (cast_expression "(code *)PTR_ResizeImage_003a95ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResizeImage_003a95ec"))) () ")")) (argument_list "(param_1,local_a8,local_a4,3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "local_a8") (, ",") (identifier "local_a4") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (iVar4 == 0) {\nLAB_0025ee40:\n    uVar8 = 0;\n  }\n  else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0025ee40:\n    uVar8 = 0;\n  }" ({ "{") (labeled_statement "LAB_0025ee40:\n    uVar8 = 0;" (statement_identifier "LAB_0025ee40") (: ":") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" (else "else") (compound_statement "{\n    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);\n    if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }\n    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }\n    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);\n    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);\n    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);\n    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);\n    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    puVar15 = PTR_LAB_003a88e0;\n    if (iVar6 == 0) goto LAB_0025ee40;\n    if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }\n    iVar7 = 0x800;\n    do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);\n    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n    uVar8 = 1;\n  }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);" (assignment_expression "uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88)" (parenthesized_expression "(*(code *)PTR_ParseGeometry_003a9454)" (( "(") (pointer_expression "*(code *)PTR_ParseGeometry_003a9454" (* "*") (cast_expression "(code *)PTR_ParseGeometry_003a9454" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ParseGeometry_003a9454"))) () ")")) (argument_list "(puVar15 + -0x5b1c,&local_88)" (( "(") (binary_expression "puVar15 + -0x5b1c" (identifier "puVar15") (+ "+") (number_literal "-0x5b1c")) (, ",") (pointer_expression "&local_88" (& "&") (identifier "local_88")) () ")")))) (; ";")) (if_statement "if (local_88 < *(double *)(puVar1 + 0x1410)) {\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }\n    else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" (if "if") (parenthesized_expression "(local_88 < *(double *)(puVar1 + 0x1410))" (( "(") (binary_expression "local_88 < *(double *)(puVar1 + 0x1410)" (identifier "local_88") (< "<") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) () ")")) (compound_statement "{\n      local_a8 = (uint *)(int)local_88;\n      if ((uVar5 & 8) == 0) goto LAB_0025eebc;\nLAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      if (local_a8 != puVar9) goto LAB_0025e9e4;\nLAB_0025eed0:\n      puVar11 = local_a8;\n      if (local_a4 != puVar12) goto LAB_0025e9e4;\n    }" ({ "{") (expression_statement "local_a8 = (uint *)(int)local_88;" (assignment_expression "local_a8 = (uint *)(int)local_88" (identifier "local_a8") (= "=") (cast_expression "(uint *)(int)local_88" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)local_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_88")))) (; ";")) (if_statement "if ((uVar5 & 8) == 0) goto LAB_0025eebc;" (if "if") (parenthesized_expression "((uVar5 & 8) == 0)" (( "(") (binary_expression "(uVar5 & 8) == 0" (parenthesized_expression "(uVar5 & 8)" (( "(") (binary_expression "uVar5 & 8" (identifier "uVar5") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0025eebc;" (goto "goto") (statement_identifier "LAB_0025eebc") (; ";"))) (labeled_statement "LAB_0025e9ac:\n      if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" (statement_identifier "LAB_0025e9ac") (: ":") (if_statement "if (*(double *)(puVar1 + 0x1410) <= local_80) {\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }\n      else {\n        local_a4 = (uint *)(int)local_80;\n      }" (if "if") (parenthesized_expression "(*(double *)(puVar1 + 0x1410) <= local_80)" (( "(") (binary_expression "*(double *)(puVar1 + 0x1410) <= local_80" (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")")))) (<= "<=") (identifier "local_80")) () ")")) (compound_statement "{\n        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      }" ({ "{") (expression_statement "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (identifier "local_a4") (= "=") (cast_expression "(uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (( "(") (binary_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_80 - *(double *)(puVar1 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_80 - *(double *)(puVar1 + 0x1410))" (( "(") (binary_expression "local_80 - *(double *)(puVar1 + 0x1410)" (identifier "local_80") (- "-") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (| "|") (number_literal "0x80000000")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        local_a4 = (uint *)(int)local_80;\n      }" (else "else") (compound_statement "{\n        local_a4 = (uint *)(int)local_80;\n      }" ({ "{") (expression_statement "local_a4 = (uint *)(int)local_80;" (assignment_expression "local_a4 = (uint *)(int)local_80" (identifier "local_a4") (= "=") (cast_expression "(uint *)(int)local_80" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)local_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_80")))) (; ";")) (} "}"))))) (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" (identifier "puVar9") (= "=") (pointer_expression "*(uint **)(iVar4 + 0x18)" (* "*") (cast_expression "(uint **)(iVar4 + 0x18)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" (identifier "puVar12") (= "=") (pointer_expression "*(uint **)(iVar4 + 0x1c)" (* "*") (cast_expression "(uint **)(iVar4 + 0x1c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (local_a8 != puVar9) goto LAB_0025e9e4;" (if "if") (parenthesized_expression "(local_a8 != puVar9)" (( "(") (binary_expression "local_a8 != puVar9" (identifier "local_a8") (!= "!=") (identifier "puVar9")) () ")")) (goto_statement "goto LAB_0025e9e4;" (goto "goto") (statement_identifier "LAB_0025e9e4") (; ";"))) (labeled_statement "LAB_0025eed0:\n      puVar11 = local_a8;" (statement_identifier "LAB_0025eed0") (: ":") (expression_statement "puVar11 = local_a8;" (assignment_expression "puVar11 = local_a8" (identifier "puVar11") (= "=") (identifier "local_a8")) (; ";"))) (if_statement "if (local_a4 != puVar12) goto LAB_0025e9e4;" (if "if") (parenthesized_expression "(local_a4 != puVar12)" (( "(") (binary_expression "local_a4 != puVar12" (identifier "local_a4") (!= "!=") (identifier "puVar12")) () ")")) (goto_statement "goto LAB_0025e9e4;" (goto "goto") (statement_identifier "LAB_0025e9e4") (; ";"))) (} "}")) (else_clause "else {\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" (else "else") (compound_statement "{\n      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);\n      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;\nLAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);\n      puVar12 = *(uint **)(iVar4 + 0x1c);\n      local_a4 = local_a8;\n      if (local_a8 == puVar9) goto LAB_0025eed0;\nLAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);\n      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;\n      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;\n      puVar9 = &local_98;\n      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);\n      if (iVar6 == 0) goto LAB_0025ee40;\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      puVar11 = *(uint **)(iVar6 + 0x18);\n      iVar4 = iVar6;\n    }" ({ "{") (expression_statement "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);" (assignment_expression "local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (identifier "local_a8") (= "=") (cast_expression "(uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000)" (( "(") (binary_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000" (cast_expression "(int)(local_88 - *(double *)(puVar1 + 0x1410))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_88 - *(double *)(puVar1 + 0x1410))" (( "(") (binary_expression "local_88 - *(double *)(puVar1 + 0x1410)" (identifier "local_88") (- "-") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) () ")"))) (| "|") (number_literal "0x80000000")) () ")")))) (; ";")) (if_statement "if ((uVar5 & 8) != 0) goto LAB_0025e9ac;" (if "if") (parenthesized_expression "((uVar5 & 8) != 0)" (( "(") (binary_expression "(uVar5 & 8) != 0" (parenthesized_expression "(uVar5 & 8)" (( "(") (binary_expression "uVar5 & 8" (identifier "uVar5") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0025e9ac;" (goto "goto") (statement_identifier "LAB_0025e9ac") (; ";"))) (labeled_statement "LAB_0025eebc:\n      puVar9 = *(uint **)(iVar4 + 0x18);" (statement_identifier "LAB_0025eebc") (: ":") (expression_statement "puVar9 = *(uint **)(iVar4 + 0x18);" (assignment_expression "puVar9 = *(uint **)(iVar4 + 0x18)" (identifier "puVar9") (= "=") (pointer_expression "*(uint **)(iVar4 + 0x18)" (* "*") (cast_expression "(uint **)(iVar4 + 0x18)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";"))) (expression_statement "puVar12 = *(uint **)(iVar4 + 0x1c);" (assignment_expression "puVar12 = *(uint **)(iVar4 + 0x1c)" (identifier "puVar12") (= "=") (pointer_expression "*(uint **)(iVar4 + 0x1c)" (* "*") (cast_expression "(uint **)(iVar4 + 0x1c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "local_a4 = local_a8;" (assignment_expression "local_a4 = local_a8" (identifier "local_a4") (= "=") (identifier "local_a8")) (; ";")) (if_statement "if (local_a8 == puVar9) goto LAB_0025eed0;" (if "if") (parenthesized_expression "(local_a8 == puVar9)" (( "(") (binary_expression "local_a8 == puVar9" (identifier "local_a8") (== "==") (identifier "puVar9")) () ")")) (goto_statement "goto LAB_0025eed0;" (goto "goto") (statement_identifier "LAB_0025eed0") (; ";"))) (labeled_statement "LAB_0025e9e4:\n      puVar11 = *(uint **)(param_1 + 0x264);" (statement_identifier "LAB_0025e9e4") (: ":") (expression_statement "puVar11 = *(uint **)(param_1 + 0x264);" (assignment_expression "puVar11 = *(uint **)(param_1 + 0x264)" (identifier "puVar11") (= "=") (pointer_expression "*(uint **)(param_1 + 0x264)" (* "*") (cast_expression "(uint **)(param_1 + 0x264)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x264)" (( "(") (binary_expression "param_1 + 0x264" (identifier "param_1") (+ "+") (number_literal "0x264")) () ")"))))) (; ";"))) (expression_statement "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;" (assignment_expression "local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" (identifier "local_98") (= "=") (binary_expression "(uint)((int)local_a8 + (1 - (int)puVar9)) >> 1" (call_expression "(uint)((int)local_a8 + (1 - (int)puVar9))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)local_a8 + (1 - (int)puVar9))" (( "(") (binary_expression "(int)local_a8 + (1 - (int)puVar9)" (cast_expression "(int)local_a8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a8")) (+ "+") (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"))) () ")"))) () ")"))) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;" (assignment_expression "local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" (identifier "local_94") (= "=") (binary_expression "(uint)((int)local_a4 + (1 - (int)puVar12)) >> 1" (call_expression "(uint)((int)local_a4 + (1 - (int)puVar12))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)local_a4 + (1 - (int)puVar12))" (( "(") (binary_expression "(int)local_a4 + (1 - (int)puVar12)" (cast_expression "(int)local_a4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a4")) (+ "+") (parenthesized_expression "(1 - (int)puVar12)" (( "(") (binary_expression "1 - (int)puVar12" (number_literal "1") (- "-") (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12"))) () ")"))) () ")"))) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "puVar9 = &local_98;" (assignment_expression "puVar9 = &local_98" (identifier "puVar9") (= "=") (pointer_expression "&local_98" (& "&") (identifier "local_98"))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4)" (parenthesized_expression "(*(code *)PTR_BorderImage_003a90c4)" (( "(") (pointer_expression "*(code *)PTR_BorderImage_003a90c4" (* "*") (cast_expression "(code *)PTR_BorderImage_003a90c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BorderImage_003a90c4"))) () ")")) (argument_list "(iVar4,puVar9,puVar11,param_4)" (( "(") (identifier "iVar4") (, ",") (identifier "puVar9") (, ",") (identifier "puVar11") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0025ee40;" (goto "goto") (statement_identifier "LAB_0025ee40") (; ";"))) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x18);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x18)" (identifier "puVar11") (= "=") (pointer_expression "*(uint **)(iVar6 + 0x18)" (* "*") (cast_expression "(uint **)(iVar6 + 0x18)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" (identifier "iVar4") (= "=") (identifier "iVar6")) (; ";")) (} "}")))) (if_statement "if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )) {\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" (if "if") (parenthesized_expression "(((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       ))" (( "(") (binary_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&\n       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" (parenthesized_expression "((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3))" (( "(") (binary_expression "(param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)" (parenthesized_expression "(param_2 != puVar11)" (( "(") (binary_expression "param_2 != puVar11" (identifier "param_2") (!= "!=") (identifier "puVar11")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != param_3)" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) != param_3" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (identifier "param_3")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0\n       )" (( "(") (comma_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" (( "(") (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" (* "*") (cast_expression "(code *)PTR_ResizeImage_003a95ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResizeImage_003a95ec"))) () ")")) (argument_list "(iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4)" (( "(") (identifier "iVar4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x250)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x250)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x250)" (( "(") (binary_expression "iVar4 + 0x250" (identifier "iVar4") (+ "+") (number_literal "0x250")) () ")")))) (, ",") (identifier "param_4") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n      iVar4 = iVar6;\n    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "iVar4 = iVar6;" (assignment_expression "iVar4 = iVar6" (identifier "iVar4") (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" (( "(") (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" (* "*") (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_TransformImageColorspace_003a9180"))) () ")")) (argument_list "(iVar4,0x1c,param_4)" (( "(") (identifier "iVar4") (, ",") (number_literal "0x1c") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);" (assignment_expression "puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" (identifier "puVar11") (= "=") (cast_expression "(uint *)(*(uint *)(iVar4 + 0x1c) >> 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(uint *)(iVar4 + 0x1c) >> 1)" (( "(") (binary_expression "*(uint *)(iVar4 + 0x1c) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (>> ">>") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);" (assignment_expression "puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1)" (identifier "puVar9") (= "=") (cast_expression "(uint *)(*(uint *)(iVar4 + 0x18) >> 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(uint *)(iVar4 + 0x18) >> 1)" (( "(") (binary_expression "*(uint *)(iVar4 + 0x18) >> 1" (pointer_expression "*(uint *)(iVar4 + 0x18)" (* "*") (cast_expression "(uint *)(iVar4 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (>> ">>") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);" (assignment_expression "iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4)" (parenthesized_expression "(*(code *)PTR_ResizeImage_003a95ec)" (( "(") (pointer_expression "*(code *)PTR_ResizeImage_003a95ec" (* "*") (cast_expression "(code *)PTR_ResizeImage_003a95ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResizeImage_003a95ec"))) () ")")) (argument_list "(iVar4,puVar9,puVar11,3,param_4)" (( "(") (identifier "iVar4") (, ",") (identifier "puVar9") (, ",") (identifier "puVar11") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" (identifier "puVar2") (= "=") (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8")) (; ";")) (expression_statement "puVar15 = PTR_LAB_003a88e0;" (assignment_expression "puVar15 = PTR_LAB_003a88e0" (identifier "puVar15") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_0025ee40;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0025ee40;" (goto "goto") (statement_identifier "LAB_0025ee40") (; ";"))) (if_statement "if (0 < *(int *)(iVar4 + 0x1c)) {\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar4 + 0x1c))" (( "(") (binary_expression "0 < *(int *)(iVar4 + 0x1c)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n      puVar9 = (uint *)0x0;\n      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      local_c0 = (uint *)0x0;\n      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n      uVar5 = 0;\n      do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));\n    }" ({ "{") (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" (identifier "puVar9") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar19") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")"))))) (; ";")) (expression_statement "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (identifier "dVar24") (= "=") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "local_c0 = (uint *)0x0;" (assignment_expression "local_c0 = (uint *)0x0" (identifier "local_c0") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (identifier "dVar26") (= "=") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5ae8")) () ")"))))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));" (do "do") (compound_statement "{\n        puVar11 = puVar9;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);\n        if (iVar7 == 0) break;\n        puVar12 = (uint *)((int)puVar9 >> 1);\n        if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }\n        puVar11 = puVar12;\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);\n        if (iVar7 == 0) break;\n        iVar18 = *(int *)(iVar6 + 0x18);\n        if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }\n        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);\n        puVar11 = puVar12;\n        if (iVar7 == 0) break;\n        if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }\n        puVar11 = local_c0;\n        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));\n        if (iVar7 == 0) break;\n        puVar9 = (uint *)((int)puVar9 + 2);\n        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);\n        uVar5 = uVar5 + 2;\n      }" ({ "{") (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" (identifier "puVar11") (= "=") (identifier "puVar9")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" (( "(") (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" (* "*") (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetVirtualPixels_003a9764"))) () ")")) (argument_list "(iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4)" (( "(") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (identifier "puVar9") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "2") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar12 = (uint *)((int)puVar9 >> 1);" (assignment_expression "puVar12 = (uint *)((int)puVar9 >> 1)" (identifier "puVar12") (= "=") (cast_expression "(uint *)((int)puVar9 >> 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 >> 1)" (( "(") (binary_expression "(int)puVar9 >> 1" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (>> ">>") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (0 < *(int *)(iVar4 + 0x18) << 1) {\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar4 + 0x18) << 1)" (( "(") (binary_expression "0 < *(int *)(iVar4 + 0x18) << 1" (number_literal "0") (< "<") (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (<< "<<") (number_literal "1"))) () ")")) (compound_statement "{\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          iVar18 = 0;\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);\n        }" ({ "{") (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" (identifier "dVar22") (= "=") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) (; ";")) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);" (do "do") (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" ({ "{") (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" (identifier "fVar21") (= "=") (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" (* "*") (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4)" (( "(") (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 8)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 8)" (( "(") (binary_expression "*(int *)(iVar4 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar4 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2d0)" (( "(") (binary_expression "iVar4 + 0x2d0" (identifier "iVar4") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" (if "if") (parenthesized_expression "(NAN(fVar21))" (( "(") (call_expression "NAN(fVar21)" (identifier "NAN") (argument_list "(fVar21)" (( "(") (identifier "fVar21") () ")"))) () ")")) (compound_statement "{\n              uVar10 = 0;\n            }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" (else "else") (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }\n            }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar21) {\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" (if "if") (parenthesized_expression "(0.0 < fVar21)" (( "(") (binary_expression "0.0 < fVar21" (number_literal "0.0") (< "<") (identifier "fVar21")) () ")")) (compound_statement "{\n                if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }\n              }" ({ "{") (if_statement "if ((double)fVar21 / dVar24 < dVar26) {\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }\n                else {\n                  uVar10 = 0xff;\n                }" (if "if") (parenthesized_expression "((double)fVar21 / dVar24 < dVar26)" (( "(") (binary_expression "(double)fVar21 / dVar24 < dVar26" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar21")) (/ "/") (identifier "dVar24")) (< "<") (identifier "dVar26")) () ")")) (compound_statement "{\n                  dVar23 = (double)fVar21 / dVar24 + dVar19;\n                  if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }\n                  uVar10 = (int)dVar23 & 0xff;\n                }" ({ "{") (expression_statement "dVar23 = (double)fVar21 / dVar24 + dVar19;" (assignment_expression "dVar23 = (double)fVar21 / dVar24 + dVar19" (identifier "dVar23") (= "=") (binary_expression "(double)fVar21 / dVar24 + dVar19" (binary_expression "(double)fVar21 / dVar24" (cast_expression "(double)fVar21" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar21")) (/ "/") (identifier "dVar24")) (+ "+") (identifier "dVar19"))) (; ";")) (if_statement "if (dVar22 <= dVar23) {\n                    dVar23 = dVar23 - dVar22;\n                  }" (if "if") (parenthesized_expression "(dVar22 <= dVar23)" (( "(") (binary_expression "dVar22 <= dVar23" (identifier "dVar22") (<= "<=") (identifier "dVar23")) () ")")) (compound_statement "{\n                    dVar23 = dVar23 - dVar22;\n                  }" ({ "{") (expression_statement "dVar23 = dVar23 - dVar22;" (assignment_expression "dVar23 = dVar23 - dVar22" (identifier "dVar23") (= "=") (binary_expression "dVar23 - dVar22" (identifier "dVar23") (- "-") (identifier "dVar22"))) (; ";")) (} "}"))) (expression_statement "uVar10 = (int)dVar23 & 0xff;" (assignment_expression "uVar10 = (int)dVar23 & 0xff" (identifier "uVar10") (= "=") (binary_expression "(int)dVar23 & 0xff" (cast_expression "(int)dVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar23")) (& "&") (number_literal "0xff"))) (; ";")) (} "}")) (else_clause "else {\n                  uVar10 = 0xff;\n                }" (else "else") (compound_statement "{\n                  uVar10 = 0xff;\n                }" ({ "{") (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" (identifier "uVar10") (= "=") (number_literal "0xff")) (; ";")) (} "}")))) (} "}"))) (} "}")))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" (( "(") (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" (* "*") (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlobByte_003a8fdc"))) () ")")) (argument_list "(param_1,uVar10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c0)" (( "(") (binary_expression "iVar4 + 0x2c0" (identifier "iVar4") (+ "+") (number_literal "0x2c0")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar18 < *(int *)(iVar4 + 0x18) << 1)" (( "(") (binary_expression "iVar18 < *(int *)(iVar4 + 0x18) << 1" (identifier "iVar18") (< "<") (binary_expression "*(int *)(iVar4 + 0x18) << 1" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (<< "<<") (number_literal "1"))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" (identifier "puVar11") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" (( "(") (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" (* "*") (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetVirtualPixels_003a9764"))) () ")")) (argument_list "(iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "puVar12") (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar18) {\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" (if "if") (parenthesized_expression "(0 < iVar18)" (( "(") (binary_expression "0 < iVar18" (number_literal "0") (< "<") (identifier "iVar18")) () ")")) (compound_statement "{\n          iVar14 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);\n        }" ({ "{") (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" (identifier "dVar22") (= "=") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) (; ";")) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" (identifier "dVar25") (= "=") (pointer_expression "*(double *)(puVar2 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar2 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5af0)" (( "(") (binary_expression "puVar2 + -0x5af0" (identifier "puVar2") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" (identifier "dVar23") (= "=") (pointer_expression "*(double *)(puVar2 + -0x5ae8)" (* "*") (cast_expression "(double *)(puVar2 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5ae8)" (( "(") (binary_expression "puVar2 + -0x5ae8" (identifier "puVar2") (+ "+") (number_literal "-0x5ae8")) () ")"))))) (; ";")) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" (identifier "dVar27") (= "=") (pointer_expression "*(double *)(puVar15 + 0x1400)" (* "*") (cast_expression "(double *)(puVar15 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1400)" (( "(") (binary_expression "puVar15 + 0x1400" (identifier "puVar15") (+ "+") (number_literal "0x1400")) () ")"))))) (; ";")) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar14 < iVar18);" (do "do") (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);\n            if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }\n            iVar14 = iVar14 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar18 = *(int *)(iVar6 + 0x18);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" ({ "{") (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" (identifier "fVar21") (= "=") (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" (* "*") (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)" (( "(") (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x14)" (( "(") (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar4 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2d0)" (( "(") (binary_expression "iVar4 + 0x2d0" (identifier "iVar4") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (NAN(fVar21)) {\n              uVar10 = 0;\n            }\n            else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" (if "if") (parenthesized_expression "(NAN(fVar21))" (( "(") (call_expression "NAN(fVar21)" (identifier "NAN") (argument_list "(fVar21)" (( "(") (identifier "fVar21") () ")"))) () ")")) (compound_statement "{\n              uVar10 = 0;\n            }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" (else "else") (compound_statement "{\n              uVar10 = 0;\n              if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }\n            }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar21) {\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" (if "if") (parenthesized_expression "(0.0 < fVar21)" (( "(") (binary_expression "0.0 < fVar21" (number_literal "0.0") (< "<") (identifier "fVar21")) () ")")) (compound_statement "{\n                uVar10 = 0xff;\n                if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }\n              }" ({ "{") (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" (identifier "uVar10") (= "=") (number_literal "0xff")) (; ";")) (if_statement "if ((double)fVar21 / dVar25 < dVar23) {\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" (if "if") (parenthesized_expression "((double)fVar21 / dVar25 < dVar23)" (( "(") (binary_expression "(double)fVar21 / dVar25 < dVar23" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar21")) (/ "/") (identifier "dVar25")) (< "<") (identifier "dVar23")) () ")")) (compound_statement "{\n                  dVar20 = (double)fVar21 / dVar25 + dVar27;\n                  if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }\n                  uVar10 = (int)dVar20 & 0xff;\n                }" ({ "{") (expression_statement "dVar20 = (double)fVar21 / dVar25 + dVar27;" (assignment_expression "dVar20 = (double)fVar21 / dVar25 + dVar27" (identifier "dVar20") (= "=") (binary_expression "(double)fVar21 / dVar25 + dVar27" (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar21")) (/ "/") (identifier "dVar25")) (+ "+") (identifier "dVar27"))) (; ";")) (if_statement "if (dVar22 <= dVar20) {\n                    dVar20 = dVar20 - dVar22;\n                  }" (if "if") (parenthesized_expression "(dVar22 <= dVar20)" (( "(") (binary_expression "dVar22 <= dVar20" (identifier "dVar22") (<= "<=") (identifier "dVar20")) () ")")) (compound_statement "{\n                    dVar20 = dVar20 - dVar22;\n                  }" ({ "{") (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" (identifier "dVar20") (= "=") (binary_expression "dVar20 - dVar22" (identifier "dVar20") (- "-") (identifier "dVar22"))) (; ";")) (} "}"))) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" (identifier "uVar10") (= "=") (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar20")) (& "&") (number_literal "0xff"))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" (( "(") (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" (* "*") (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlobByte_003a8fdc"))) () ")")) (argument_list "(param_1,uVar10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "iVar18 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar18 = *(int *)(iVar6 + 0x18)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c0)" (( "(") (binary_expression "iVar4 + 0x2c0" (identifier "iVar4") (+ "+") (number_literal "0x2c0")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar14 < iVar18)" (( "(") (binary_expression "iVar14 < iVar18" (identifier "iVar14") (< "<") (identifier "iVar18")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4)" (parenthesized_expression "(*(code *)PTR_GetVirtualPixels_003a9764)" (( "(") (pointer_expression "*(code *)PTR_GetVirtualPixels_003a9764" (* "*") (cast_expression "(code *)PTR_GetVirtualPixels_003a9764" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetVirtualPixels_003a9764"))) () ")")) (argument_list "(iVar6,0,puVar12,iVar18,1,param_4)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (identifier "puVar12") (, ",") (identifier "iVar18") (, ",") (number_literal "1") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" (identifier "puVar11") (= "=") (identifier "puVar12")) (; ";")) (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (0 < *(int *)(iVar6 + 0x18)) {\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar6 + 0x18))" (( "(") (binary_expression "0 < *(int *)(iVar6 + 0x18)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n          iVar18 = 0;\n          dVar22 = *(double *)(puVar1 + 0x1410);\n          dVar25 = *(double *)(puVar2 + -0x5af0);\n          dVar23 = *(double *)(puVar2 + -0x5ae8);\n          dVar27 = *(double *)(puVar15 + 0x1400);\n          do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));\n        }" ({ "{") (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar22 = *(double *)(puVar1 + 0x1410);" (assignment_expression "dVar22 = *(double *)(puVar1 + 0x1410)" (identifier "dVar22") (= "=") (pointer_expression "*(double *)(puVar1 + 0x1410)" (* "*") (cast_expression "(double *)(puVar1 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1410)" (( "(") (binary_expression "puVar1 + 0x1410" (identifier "puVar1") (+ "+") (number_literal "0x1410")) () ")"))))) (; ";")) (expression_statement "dVar25 = *(double *)(puVar2 + -0x5af0);" (assignment_expression "dVar25 = *(double *)(puVar2 + -0x5af0)" (identifier "dVar25") (= "=") (pointer_expression "*(double *)(puVar2 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar2 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5af0)" (( "(") (binary_expression "puVar2 + -0x5af0" (identifier "puVar2") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "dVar23 = *(double *)(puVar2 + -0x5ae8);" (assignment_expression "dVar23 = *(double *)(puVar2 + -0x5ae8)" (identifier "dVar23") (= "=") (pointer_expression "*(double *)(puVar2 + -0x5ae8)" (* "*") (cast_expression "(double *)(puVar2 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5ae8)" (( "(") (binary_expression "puVar2 + -0x5ae8" (identifier "puVar2") (+ "+") (number_literal "-0x5ae8")) () ")"))))) (; ";")) (expression_statement "dVar27 = *(double *)(puVar15 + 0x1400);" (assignment_expression "dVar27 = *(double *)(puVar15 + 0x1400)" (identifier "dVar27") (= "=") (pointer_expression "*(double *)(puVar15 + 0x1400)" (* "*") (cast_expression "(double *)(puVar15 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1400)" (( "(") (binary_expression "puVar15 + 0x1400" (identifier "puVar15") (+ "+") (number_literal "0x1400")) () ")"))))) (; ";")) (do_statement "do {\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          } while (iVar18 < *(int *)(iVar6 + 0x18));" (do "do") (compound_statement "{\n            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);\n            if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }\n            iVar18 = iVar18 + 1;\n            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);\n            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n          }" ({ "{") (expression_statement "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);" (assignment_expression "fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" (identifier "fVar21") (= "=") (pointer_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" (* "*") (cast_expression "(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)" (( "(") (binary_expression "iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x2d0) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x2d0) + 0x20)" (( "(") (binary_expression "*(int *)(iVar4 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar4 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2d0)" (( "(") (binary_expression "iVar4 + 0x2d0" (identifier "iVar4") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (fVar21 <= 0.0) {\n              uVar10 = 0;\n            }\n            else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" (if "if") (parenthesized_expression "(fVar21 <= 0.0)" (( "(") (binary_expression "fVar21 <= 0.0" (identifier "fVar21") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n              uVar10 = 0;\n            }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" (else "else") (compound_statement "{\n              dVar20 = (double)fVar21 / dVar25;\n              if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }\n            }" ({ "{") (expression_statement "dVar20 = (double)fVar21 / dVar25;" (assignment_expression "dVar20 = (double)fVar21 / dVar25" (identifier "dVar20") (= "=") (binary_expression "(double)fVar21 / dVar25" (cast_expression "(double)fVar21" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar21")) (/ "/") (identifier "dVar25"))) (; ";")) (if_statement "if (dVar20 < dVar23) {\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }\n              else {\n                uVar10 = 0xff;\n              }" (if "if") (parenthesized_expression "(dVar20 < dVar23)" (( "(") (binary_expression "dVar20 < dVar23" (identifier "dVar20") (< "<") (identifier "dVar23")) () ")")) (compound_statement "{\n                dVar20 = dVar20 + dVar27;\n                if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }\n                uVar10 = (int)dVar20 & 0xff;\n              }" ({ "{") (expression_statement "dVar20 = dVar20 + dVar27;" (assignment_expression "dVar20 = dVar20 + dVar27" (identifier "dVar20") (= "=") (binary_expression "dVar20 + dVar27" (identifier "dVar20") (+ "+") (identifier "dVar27"))) (; ";")) (if_statement "if (dVar22 <= dVar20) {\n                  dVar20 = dVar20 - dVar22;\n                }" (if "if") (parenthesized_expression "(dVar22 <= dVar20)" (( "(") (binary_expression "dVar22 <= dVar20" (identifier "dVar22") (<= "<=") (identifier "dVar20")) () ")")) (compound_statement "{\n                  dVar20 = dVar20 - dVar22;\n                }" ({ "{") (expression_statement "dVar20 = dVar20 - dVar22;" (assignment_expression "dVar20 = dVar20 - dVar22" (identifier "dVar20") (= "=") (binary_expression "dVar20 - dVar22" (identifier "dVar20") (- "-") (identifier "dVar22"))) (; ";")) (} "}"))) (expression_statement "uVar10 = (int)dVar20 & 0xff;" (assignment_expression "uVar10 = (int)dVar20 & 0xff" (identifier "uVar10") (= "=") (binary_expression "(int)dVar20 & 0xff" (cast_expression "(int)dVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar20")) (& "&") (number_literal "0xff"))) (; ";")) (} "}")) (else_clause "else {\n                uVar10 = 0xff;\n              }" (else "else") (compound_statement "{\n                uVar10 = 0xff;\n              }" ({ "{") (expression_statement "uVar10 = 0xff;" (assignment_expression "uVar10 = 0xff" (identifier "uVar10") (= "=") (number_literal "0xff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" (( "(") (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" (* "*") (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlobByte_003a8fdc"))) () ")")) (argument_list "(param_1,uVar10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar4 + 0x2c0) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar4 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar4 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar4 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c0)" (( "(") (binary_expression "iVar4 + 0x2c0" (identifier "iVar4") (+ "+") (number_literal "0x2c0")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar18 < *(int *)(iVar6 + 0x18))" (( "(") (binary_expression "iVar18 < *(int *)(iVar6 + 0x18)" (identifier "iVar18") (< "<") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar11 = local_c0;" (assignment_expression "puVar11 = local_c0" (identifier "puVar11") (= "=") (identifier "local_c0")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,\n                           *(undefined4 *)(iVar4 + 0x1c))" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x15c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x15c")) (, ",") (identifier "local_c0") (, ",") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar9 = (uint *)((int)puVar9 + 2);" (assignment_expression "puVar9 = (uint *)((int)puVar9 + 2)" (identifier "puVar9") (= "=") (cast_expression "(uint *)((int)puVar9 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 + 2)" (( "(") (binary_expression "(int)puVar9 + 2" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);" (assignment_expression "local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" (identifier "local_c0") (= "=") (cast_expression "(uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(uVar5 + 2 < uVar5) + (int)local_c0)" (( "(") (binary_expression "(uint)(uVar5 + 2 < uVar5) + (int)local_c0" (call_expression "(uint)(uVar5 + 2 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 + 2 < uVar5)" (( "(") (binary_expression "uVar5 + 2 < uVar5" (binary_expression "uVar5 + 2" (identifier "uVar5") (+ "+") (number_literal "2")) (< "<") (identifier "uVar5")) () ")"))) (+ "+") (cast_expression "(int)local_c0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_c0"))) () ")")))) (; ";")) (expression_statement "uVar5 = uVar5 + 2;" (assignment_expression "uVar5 = uVar5 + 2" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 2" (identifier "uVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)puVar9 < *(int *)(iVar4 + 0x1c))" (( "(") (binary_expression "(int)puVar9 < *(int *)(iVar4 + 0x1c)" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (< "<") (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = 0x800;" (assignment_expression "iVar7 = 0x800" (identifier "iVar7") (= "=") (number_literal "0x800")) (; ";")) (do_statement "do {\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    } while (iVar7 != 0);" (do "do") (compound_statement "{\n      puVar9 = (uint *)0x0;\n      iVar7 = iVar7 + -1;\n      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);\n    }" ({ "{") (expression_statement "puVar9 = (uint *)0x0;" (assignment_expression "puVar9 = (uint *)0x0" (identifier "puVar9") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);" (call_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)(param_1)" (parenthesized_expression "(*(code *)PTR_WriteBlobByte_003a8fdc)" (( "(") (pointer_expression "*(code *)PTR_WriteBlobByte_003a8fdc" (* "*") (cast_expression "(code *)PTR_WriteBlobByte_003a8fdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlobByte_003a8fdc"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar6)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" (identifier "uVar8") (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (local_5c == *(int *)puVar3) {\n    return uVar8;\n  }" (if "if") (parenthesized_expression "(local_5c == *(int *)puVar3)" (( "(") (binary_expression "local_5c == *(int *)puVar3" (identifier "local_5c") (== "==") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return uVar8;\n  }" ({ "{") (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}"))) (expression_statement "iVar4 = local_5c;" (assignment_expression "iVar4 = local_5c" (identifier "iVar4") (= "=") (identifier "local_5c")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar15 = PTR___stack_chk_fail_003a9064" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_003a9064")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar4 == 0) {\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);\nLAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);\nLAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\nLAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);\n    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);\n    iVar14 = *(int *)(pcVar16 + 0x1494a0);\n    iVar13 = *(int *)(pcVar16 + 0x14950c);\n    iVar4 = iVar14 + 0x48d0;\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);\n    iVar18 = *(int *)(pcVar16 + 0x14956c);\n    iVar7 = *(int *)(pcVar16 + 0x14956c);\n    iVar6 = *(int *)(pcVar16 + 0x14956c);\n    pcVar17 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;\n    (*pcVar17)(iVar4);\n    iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);\n    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;\n    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;\n    pcVar16 = *(code **)(pcVar16 + 0x149a7c);\n    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;\n    (*pcVar16)(iVar4);\n    return 0x810;\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c" (identifier "iVar6") (= "=") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5a8c"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a6a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a6a8)" (( "(") (binary_expression "puVar15 + 0x14a6a8" (identifier "puVar15") (+ "+") (number_literal "0x14a6a8")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,\n               iVar6)" (( "(") (binary_expression "*(int *)(puVar15 + 0x149980) + 0xd78" (pointer_expression "*(int *)(puVar15 + 0x149980)" (* "*") (cast_expression "(int *)(puVar15 + 0x149980)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x149980)" (( "(") (binary_expression "puVar15 + 0x149980" (identifier "puVar15") (+ "+") (number_literal "0x149980")) () ")")))) (+ "+") (number_literal "0xd78")) (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5bc0")) (, ",") (number_literal "0x469") (, ",") (identifier "iVar6") () ")"))) (; ";")) (labeled_statement "LAB_0025f3d8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" (statement_identifier "LAB_0025f3d8") (: ":") (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a6a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a6a8)" (( "(") (binary_expression "puVar15 + 0x14a6a8" (identifier "puVar15") (+ "+") (number_literal "0x14a6a8")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,\n               iVar6 + -0x5a8c)" (( "(") (binary_expression "*(int *)(puVar15 + 0x149988) + -0x3784" (pointer_expression "*(int *)(puVar15 + 0x149988)" (* "*") (cast_expression "(int *)(puVar15 + 0x149988)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x149988)" (( "(") (binary_expression "puVar15 + 0x149988" (identifier "puVar15") (+ "+") (number_literal "0x149988")) () ")")))) (+ "+") (number_literal "-0x3784")) (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5bc0")) (, ",") (number_literal "0x46c") (, ",") (binary_expression "iVar6 + -0x5a8c" (identifier "iVar6") (+ "+") (number_literal "-0x5a8c")) () ")"))) (; ";"))) (labeled_statement "LAB_0025f3f8:\n    (**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (statement_identifier "LAB_0025f3f8") (: ":") (expression_statement "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(**(code **)(puVar15 + 0x14a6a8))\n              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a6a8))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a6a8)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a6a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a6a8)" (( "(") (binary_expression "puVar15 + 0x14a6a8" (identifier "puVar15") (+ "+") (number_literal "0x14a6a8")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (( "(") (binary_expression "*(int *)(puVar15 + 0x149980) + 0xdd0" (pointer_expression "*(int *)(puVar15 + 0x149980)" (* "*") (cast_expression "(int *)(puVar15 + 0x149980)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x149980)" (( "(") (binary_expression "puVar15 + 0x149980" (identifier "puVar15") (+ "+") (number_literal "0x149980")) () ")")))) (+ "+") (number_literal "0xdd0")) (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5bc0")) (, ",") (number_literal "0x46b") (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5a8c")) () ")"))) (; ";"))) (labeled_statement "LAB_0025f41c:\n    pcVar16 = *(code **)(puVar15 + 0x14a6a8);" (statement_identifier "LAB_0025f41c") (: ":") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a6a8);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a6a8)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x14a6a8)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a6a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a6a8)" (( "(") (binary_expression "puVar15 + 0x14a6a8" (identifier "puVar15") (+ "+") (number_literal "0x14a6a8")) () ")"))))) (; ";"))) (expression_statement "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);" (call_expression "(*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,\n               *(int *)(puVar15 + 0x1499ec) + -0x5a8c)" (( "(") (binary_expression "*(int *)(puVar15 + 0x149980) + 0xda0" (pointer_expression "*(int *)(puVar15 + 0x149980)" (* "*") (cast_expression "(int *)(puVar15 + 0x149980)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x149980)" (( "(") (binary_expression "puVar15 + 0x149980" (identifier "puVar15") (+ "+") (number_literal "0x149980")) () ")")))) (+ "+") (number_literal "0xda0")) (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5bc0")) (, ",") (number_literal "0x46a") (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a8c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5a8c")) () ")"))) (; ";")) (expression_statement "iVar14 = *(int *)(pcVar16 + 0x1494a0);" (assignment_expression "iVar14 = *(int *)(pcVar16 + 0x1494a0)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" (* "*") (cast_expression "(int *)(pcVar16 + 0x1494a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x1494a0)" (( "(") (binary_expression "pcVar16 + 0x1494a0" (identifier "pcVar16") (+ "+") (number_literal "0x1494a0")) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(pcVar16 + 0x14950c);" (assignment_expression "iVar13 = *(int *)(pcVar16 + 0x14950c)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(pcVar16 + 0x14950c)" (* "*") (cast_expression "(int *)(pcVar16 + 0x14950c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x14950c)" (( "(") (binary_expression "pcVar16 + 0x14950c" (identifier "pcVar16") (+ "+") (number_literal "0x14950c")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar14 + 0x48d0;" (assignment_expression "iVar4 = iVar14 + 0x48d0" (identifier "iVar4") (= "=") (binary_expression "iVar14 + 0x48d0" (identifier "iVar14") (+ "+") (number_literal "0x48d0"))) (; ";")) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" (( "(") (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" (* "*") (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" (* "*") (cast_expression "(code **)(pcVar16 + 0x14a19c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x14a19c)" (( "(") (binary_expression "pcVar16 + 0x14a19c" (identifier "pcVar16") (+ "+") (number_literal "0x14a19c")) () ")"))))) () ")")) (argument_list "(iVar4,iVar4,iVar13 + -0x5b08)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar4") (, ",") (binary_expression "iVar13 + -0x5b08" (identifier "iVar13") (+ "+") (number_literal "-0x5b08")) () ")")))) (; ";")) (expression_statement "iVar18 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar18 = *(int *)(pcVar16 + 0x14956c)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(pcVar16 + 0x14956c)" (* "*") (cast_expression "(int *)(pcVar16 + 0x14956c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x14956c)" (( "(") (binary_expression "pcVar16 + 0x14956c" (identifier "pcVar16") (+ "+") (number_literal "0x14956c")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar7 = *(int *)(pcVar16 + 0x14956c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(pcVar16 + 0x14956c)" (* "*") (cast_expression "(int *)(pcVar16 + 0x14956c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x14956c)" (( "(") (binary_expression "pcVar16 + 0x14956c" (identifier "pcVar16") (+ "+") (number_literal "0x14956c")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(pcVar16 + 0x14956c);" (assignment_expression "iVar6 = *(int *)(pcVar16 + 0x14956c)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(pcVar16 + 0x14956c)" (* "*") (cast_expression "(int *)(pcVar16 + 0x14956c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x14956c)" (( "(") (binary_expression "pcVar16 + 0x14956c" (identifier "pcVar16") (+ "+") (number_literal "0x14956c")) () ")"))))) (; ";")) (expression_statement "pcVar17 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar17 = *(code **)(pcVar16 + 0x149a7c)" (identifier "pcVar17") (= "=") (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" (* "*") (cast_expression "(code **)(pcVar16 + 0x149a7c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x149a7c)" (( "(") (binary_expression "pcVar16 + 0x149a7c" (identifier "pcVar16") (+ "+") (number_literal "0x149a7c")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (^ "^") (number_literal "1")) (| "|") (number_literal "0x200"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar18 + -0x2e90" (identifier "iVar18") (+ "+") (number_literal "-0x2e90"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "iVar7 + -0x10a0" (identifier "iVar7") (+ "+") (number_literal "-0x10a0"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;" (assignment_expression "*(int *)(iVar4 + 0x24) = iVar6 + -0x17d8" (pointer_expression "*(int *)(iVar4 + 0x24)" (* "*") (cast_expression "(int *)(iVar4 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "iVar6 + -0x17d8" (identifier "iVar6") (+ "+") (number_literal "-0x17d8"))) (; ";")) (expression_statement "(*pcVar17)(iVar4);" (call_expression "(*pcVar17)(iVar4)" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);" (assignment_expression "iVar4 = (**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcVar16 + 0x14a19c))\n                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" (parenthesized_expression "(**(code **)(pcVar16 + 0x14a19c))" (( "(") (pointer_expression "**(code **)(pcVar16 + 0x14a19c)" (* "*") (pointer_expression "*(code **)(pcVar16 + 0x14a19c)" (* "*") (cast_expression "(code **)(pcVar16 + 0x14a19c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x14a19c)" (( "(") (binary_expression "pcVar16 + 0x14a19c" (identifier "pcVar16") (+ "+") (number_literal "0x14a19c")) () ")"))))) () ")")) (argument_list "(iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08)" (( "(") (binary_expression "iVar14 + 0x48d0" (identifier "iVar14") (+ "+") (number_literal "0x48d0")) (, ",") (binary_expression "*(int *)(pcVar16 + 0x1494a0) + 0x48c8" (pointer_expression "*(int *)(pcVar16 + 0x1494a0)" (* "*") (cast_expression "(int *)(pcVar16 + 0x1494a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0x1494a0)" (( "(") (binary_expression "pcVar16 + 0x1494a0" (identifier "pcVar16") (+ "+") (number_literal "0x1494a0")) () ")")))) (+ "+") (number_literal "0x48c8")) (, ",") (binary_expression "iVar13 + -0x5b08" (identifier "iVar13") (+ "+") (number_literal "-0x5b08")) () ")")))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar18 + -0x2e90" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar18 + -0x2e90" (identifier "iVar18") (+ "+") (number_literal "-0x2e90"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "iVar7 + -0x10a0" (identifier "iVar7") (+ "+") (number_literal "-0x10a0"))) (; ";")) (expression_statement "pcVar16 = *(code **)(pcVar16 + 0x149a7c);" (assignment_expression "pcVar16 = *(code **)(pcVar16 + 0x149a7c)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(pcVar16 + 0x149a7c)" (* "*") (cast_expression "(code **)(pcVar16 + 0x149a7c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x149a7c)" (( "(") (binary_expression "pcVar16 + 0x149a7c" (identifier "pcVar16") (+ "+") (number_literal "0x149a7c")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (pointer_expression "*(uint *)(iVar4 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1 | 0x200" (binary_expression "*(uint *)(iVar4 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar4 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (^ "^") (number_literal "1")) (| "|") (number_literal "0x200"))) (; ";")) (expression_statement "(*pcVar16)(iVar4);" (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (return_statement "return 0x810;" (return "return") (number_literal "0x810") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x3214) != -0x54535255)" (( "(") (binary_expression "*(int *)(iVar4 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(iVar4 + 0x3214)" (* "*") (cast_expression "(int *)(iVar4 + 0x3214)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3214)" (( "(") (binary_expression "iVar4 + 0x3214" (identifier "iVar4") (+ "+") (number_literal "0x3214")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (goto_statement "goto LAB_0025f41c;" (goto "goto") (statement_identifier "LAB_0025f41c") (; ";"))) (if_statement "if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;" (if "if") (parenthesized_expression "(puVar9 == (uint *)0x0)" (( "(") (binary_expression "puVar9 == (uint *)0x0" (identifier "puVar9") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0025f3f8;" (goto "goto") (statement_identifier "LAB_0025f3f8") (; ";"))) (expression_statement "iVar6 = *(int *)(puVar15 + 0x1499ec);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x1499ec)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")"))))) (; ";")) (if_statement "if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;" (if "if") (parenthesized_expression "(puVar9[0xcdb] != 0xabacadab)" (( "(") (binary_expression "puVar9[0xcdb] != 0xabacadab" (subscript_expression "puVar9[0xcdb]" (identifier "puVar9") ([ "[") (number_literal "0xcdb") (] "]")) (!= "!=") (number_literal "0xabacadab")) () ")")) (goto_statement "goto LAB_0025f3d8;" (goto "goto") (statement_identifier "LAB_0025f3d8") (; ";"))) (if_statement "if (puVar9[0xcd4] != 0) {\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" (if "if") (parenthesized_expression "(puVar9[0xcd4] != 0)" (( "(") (binary_expression "puVar9[0xcd4] != 0" (subscript_expression "puVar9[0xcd4]" (identifier "puVar9") ([ "[") (number_literal "0xcd4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);\n  }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);" (call_expression "(**(code **)(puVar15 + 0x14a280))\n              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a280))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a280)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a280)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a280)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a280)" (( "(") (binary_expression "puVar15 + 0x14a280" (identifier "puVar15") (+ "+") (number_literal "0x14a280")) () ")"))))) () ")")) (argument_list "(0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,\n               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5bc0" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5bc0")) (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5a9c" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5a9c")) (, ",") (number_literal "0x46e") (, ",") (binary_expression "*(int *)(puVar15 + 0x149984) + -0x62ac" (pointer_expression "*(int *)(puVar15 + 0x149984)" (* "*") (cast_expression "(int *)(puVar15 + 0x149984)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x149984)" (( "(") (binary_expression "puVar15 + 0x149984" (identifier "puVar15") (+ "+") (number_literal "0x149984")) () ")")))) (+ "+") (number_literal "-0x62ac")) (, ",") (binary_expression "puVar9 + 0xd0" (identifier "puVar9") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (} "}"))) (if_statement "if (puVar9[6] < puVar9[7]) {\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }\n  else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(puVar9[6] < puVar9[7])" (( "(") (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" (identifier "puVar9") ([ "[") (number_literal "6") (] "]")) (< "<") (subscript_expression "puVar9[7]" (identifier "puVar9") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n    puVar28 = puVar11;\n    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);\n    if (puVar12 == (uint *)0x0) {\n      return 0;\n    }\n    (**(code **)(puVar15 + 0x14a0b0))(puVar12);\n    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);\n    puVar12[0xcd2] = uVar5;\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);\n    if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }\n  }" ({ "{") (expression_statement "puVar28 = puVar11;" (assignment_expression "puVar28 = puVar11" (identifier "puVar28") (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);" (assignment_expression "puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" (identifier "puVar12") (= "=") (cast_expression "(uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar15 + 0x14a86c))(puVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a86c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a86c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a86c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a86c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a86c)" (( "(") (binary_expression "puVar15 + 0x14a86c" (identifier "puVar15") (+ "+") (number_literal "0x14a86c")) () ")"))))) () ")")) (argument_list "(puVar9)" (( "(") (identifier "puVar9") () ")"))))) (; ";")) (if_statement "if (puVar12 == (uint *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(puVar12 == (uint *)0x0)" (( "(") (binary_expression "puVar12 == (uint *)0x0" (identifier "puVar12") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x14a0b0))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a0b0))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a0b0))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a0b0)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a0b0)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a0b0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a0b0)" (( "(") (binary_expression "puVar15 + 0x14a0b0" (identifier "puVar15") (+ "+") (number_literal "0x14a0b0")) () ")"))))) () ")")) (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);" (assignment_expression "uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" (identifier "uVar5") (= "=") (call_expression "(**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2])" (parenthesized_expression "(**(code **)(puVar15 + 0x14a334))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a334)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a334)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a334)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a334)" (( "(") (binary_expression "puVar15 + 0x14a334" (identifier "puVar15") (+ "+") (number_literal "0x14a334")) () ")"))))) () ")")) (argument_list "(puVar9[0xcd2])" (( "(") (subscript_expression "puVar9[0xcd2]" (identifier "puVar9") ([ "[") (number_literal "0xcd2") (] "]")) () ")")))) (; ";")) (expression_statement "puVar12[0xcd2] = uVar5;" (assignment_expression "puVar12[0xcd2] = uVar5" (subscript_expression "puVar12[0xcd2]" (identifier "puVar12") ([ "[") (number_literal "0xcd2") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a2ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a2ec)" (( "(") (binary_expression "puVar15 + 0x14a2ec" (identifier "puVar15") (+ "+") (number_literal "0x14a2ec")) () ")"))))) () ")")) (argument_list "(iVar4,puVar12,4,puVar11,puVar28)" (( "(") (identifier "iVar4") (, ",") (identifier "puVar12") (, ",") (number_literal "4") (, ",") (identifier "puVar11") (, ",") (identifier "puVar28") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = 0;\n      if (puVar9 == puVar12) {\n        return 0;\n      }\n      goto LAB_0025f04c;\n    }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar9 == puVar12) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(puVar9 == puVar12)" (( "(") (binary_expression "puVar9 == puVar12" (identifier "puVar9") (== "==") (identifier "puVar12")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_0025f04c;" (goto "goto") (statement_identifier "LAB_0025f04c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);\n    puVar12 = puVar9;\n    if (iVar4 == 0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);" (assignment_expression "iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a2ec))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a2ec)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a2ec)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a2ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a2ec)" (( "(") (binary_expression "puVar15 + 0x14a2ec" (identifier "puVar15") (+ "+") (number_literal "0x14a2ec")) () ")"))))) () ")")) (argument_list "(iVar4,puVar9,4,puVar11)" (( "(") (identifier "iVar4") (, ",") (identifier "puVar9") (, ",") (number_literal "4") (, ",") (identifier "puVar11") () ")")))) (; ";")) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" (identifier "puVar12") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (if_statement "if (puVar12[1] - 3 < 0x1f) {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" (if "if") (parenthesized_expression "(puVar12[1] - 3 < 0x1f)" (( "(") (binary_expression "puVar12[1] - 3 < 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" (identifier "puVar12") ([ "[") (number_literal "1") (] "]")) (- "-") (number_literal "3")) (< "<") (number_literal "0x1f")) () ")")) (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\n    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;\n    iVar4 = 0x20;\n  }" ({ "{") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x14a220)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a220)" (( "(") (binary_expression "puVar15 + 0x14a220" (identifier "puVar15") (+ "+") (number_literal "0x14a220")) () ")"))))) (; ";")) (if_statement "if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;" (if "if") (parenthesized_expression "(-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f))" (( "(") (binary_expression "-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" (number_literal "-1") (< "<") (cast_expression "(int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)" (( "(") (binary_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f" (parenthesized_expression "(0x403c0001U >> (puVar12[1] - 3 & 0x1f))" (( "(") (binary_expression "0x403c0001U >> (puVar12[1] - 3 & 0x1f)" (number_literal "0x403c0001U") (>> ">>") (parenthesized_expression "(puVar12[1] - 3 & 0x1f)" (( "(") (binary_expression "puVar12[1] - 3 & 0x1f" (binary_expression "puVar12[1] - 3" (subscript_expression "puVar12[1]" (identifier "puVar12") ([ "[") (number_literal "1") (] "]")) (- "-") (number_literal "3")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (<< "<<") (number_literal "0x1f")) () ")")))) () ")")) (goto_statement "goto LAB_0025f0b0;" (goto "goto") (statement_identifier "LAB_0025f0b0") (; ";"))) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" (identifier "iVar4") (= "=") (number_literal "0x20")) (; ";")) (} "}")) (else_clause "else {\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" (else "else") (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x14a220);\nLAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);\n    iVar4 = 0x20;\n  }" ({ "{") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x14a220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x14a220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x14a220)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a220)" (( "(") (binary_expression "puVar15 + 0x14a220" (identifier "puVar15") (+ "+") (number_literal "0x14a220")) () ")"))))) (; ";")) (labeled_statement "LAB_0025f0b0:\n    (*pcVar16)(puVar12,0x17,puVar11);" (statement_identifier "LAB_0025f0b0") (: ":") (expression_statement "(*pcVar16)(puVar12,0x17,puVar11);" (call_expression "(*pcVar16)(puVar12,0x17,puVar11)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(puVar12,0x17,puVar11)" (( "(") (identifier "puVar12") (, ",") (number_literal "0x17") (, ",") (identifier "puVar11") () ")"))) (; ";"))) (expression_statement "iVar4 = 0x20;" (assignment_expression "iVar4 = 0x20" (identifier "iVar4") (= "=") (number_literal "0x20")) (; ";")) (} "}")))) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xff)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0xff)" (( "(") (identifier "puVar12") (, ",") (number_literal "0xff") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0xe)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0xe)" (( "(") (identifier "puVar12") (, ",") (number_literal "0xe") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" (identifier "iVar4") (= "=") (number_literal "8")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,1)" (( "(") (identifier "puVar12") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,5);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,5)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,5)" (( "(") (identifier "puVar12") (, ",") (number_literal "5") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" (identifier "iVar4") (= "=") (number_literal "8")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,10);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,10)" (( "(") (identifier "puVar12") (, ",") (number_literal "10") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 0x24;" (assignment_expression "iVar4 = 0x24" (identifier "iVar4") (= "=") (number_literal "0x24")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,1)" (( "(") (identifier "puVar12") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 0x798;" (assignment_expression "iVar4 = 0x798" (identifier "iVar4") (= "=") (number_literal "0x798")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = 0x5fa;" (assignment_expression "iVar4 = 0x5fa" (identifier "iVar4") (= "=") (number_literal "0x5fa")) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);" (call_expression "(**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" (parenthesized_expression "(**(code **)(puVar15 + 0x14aa34))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14aa34)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14aa34)" (* "*") (cast_expression "(code **)(puVar15 + 0x14aa34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14aa34)" (( "(") (binary_expression "puVar15 + 0x14aa34" (identifier "puVar15") (+ "+") (number_literal "0x14aa34")) () ")"))))) () ")")) (argument_list "(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10)" (( "(") (identifier "puVar12") (, ",") (number_literal "7") (, ",") (binary_expression "*(int *)(puVar15 + 0x1499ec) + -0x5b10" (pointer_expression "*(int *)(puVar15 + 0x1499ec)" (* "*") (cast_expression "(int *)(puVar15 + 0x1499ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1499ec)" (( "(") (binary_expression "puVar15 + 0x1499ec" (identifier "puVar15") (+ "+") (number_literal "0x1499ec")) () ")")))) (+ "+") (number_literal "-0x5b10")) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,6);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,6)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,6)" (( "(") (identifier "puVar12") (, ",") (number_literal "6") () ")"))) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (puVar9[6] < puVar9[7]) {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }\n  else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" (if "if") (parenthesized_expression "(puVar9[6] < puVar9[7])" (( "(") (binary_expression "puVar9[6] < puVar9[7]" (subscript_expression "puVar9[6]" (identifier "puVar9") ([ "[") (number_literal "6") (] "]")) (< "<") (subscript_expression "puVar9[7]" (identifier "puVar9") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);\n  }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,1);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,1)" (( "(") (identifier "puVar12") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" (else "else") (compound_statement "{\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar4 = 0x11fd;" (assignment_expression "iVar4 = 0x11fd" (identifier "iVar4") (= "=") (number_literal "0x11fd")) (; ";")) (do_statement "do {\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    iVar4 = iVar4 + -1;\n    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);\n  }" ({ "{") (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a07c))(puVar12,0);" (call_expression "(**(code **)(puVar15 + 0x14a07c))(puVar12,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a07c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a07c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a07c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a07c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a07c)" (( "(") (binary_expression "puVar15 + 0x14a07c" (identifier "puVar15") (+ "+") (number_literal "0x14a07c")) () ")"))))) () ")")) (argument_list "(puVar12,0)" (( "(") (identifier "puVar12") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "FUN_0025e878(puVar12,0xc0,0x80,puVar11);" (call_expression "FUN_0025e878(puVar12,0xc0,0x80,puVar11)" (identifier "FUN_0025e878") (argument_list "(puVar12,0xc0,0x80,puVar11)" (( "(") (identifier "puVar12") (, ",") (number_literal "0xc0") (, ",") (number_literal "0x80") (, ",") (identifier "puVar11") () ")"))) (; ";")) (expression_statement "FUN_0025e878(puVar12,0x180,0x100,puVar11);" (call_expression "FUN_0025e878(puVar12,0x180,0x100,puVar11)" (identifier "FUN_0025e878") (argument_list "(puVar12,0x180,0x100,puVar11)" (( "(") (identifier "puVar12") (, ",") (number_literal "0x180") (, ",") (number_literal "0x100") (, ",") (identifier "puVar11") () ")"))) (; ";")) (expression_statement "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11);" (assignment_expression "uVar8 = FUN_0025e878(puVar12,0x300,0x200,puVar11)" (identifier "uVar8") (= "=") (call_expression "FUN_0025e878(puVar12,0x300,0x200,puVar11)" (identifier "FUN_0025e878") (argument_list "(puVar12,0x300,0x200,puVar11)" (( "(") (identifier "puVar12") (, ",") (number_literal "0x300") (, ",") (number_literal "0x200") (, ",") (identifier "puVar11") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x14a728))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x14a728))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x14a728))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14a728)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14a728)" (* "*") (cast_expression "(code **)(puVar15 + 0x14a728)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14a728)" (( "(") (binary_expression "puVar15 + 0x14a728" (identifier "puVar15") (+ "+") (number_literal "0x14a728")) () ")"))))) () ")")) (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (if_statement "if (puVar9 == puVar12) {\n    return uVar8;\n  }" (if "if") (parenthesized_expression "(puVar9 == puVar12)" (( "(") (binary_expression "puVar9 == puVar12" (identifier "puVar9") (== "==") (identifier "puVar12")) () ")")) (compound_statement "{\n    return uVar8;\n  }" ({ "{") (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}"))) (labeled_statement "LAB_0025f04c:\n  (**(code **)(puVar15 + 0x149fec))(puVar12);" (statement_identifier "LAB_0025f04c") (: ":") (expression_statement "(**(code **)(puVar15 + 0x149fec))(puVar12);" (call_expression "(**(code **)(puVar15 + 0x149fec))(puVar12)" (parenthesized_expression "(**(code **)(puVar15 + 0x149fec))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x149fec)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x149fec)" (* "*") (cast_expression "(code **)(puVar15 + 0x149fec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x149fec)" (( "(") (binary_expression "puVar15 + 0x149fec" (identifier "puVar15") (+ "+") (number_literal "0x149fec")) () ")"))))) () ")")) (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";"))) (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

type_1
function_1(type_2 *image,char *var_7,size_t var_9,size_t tile_rows,
            type_3 *exception)

{
  type_4 *var_3;
  type_4 *var_21;
  type_4 *puVar3;
  int var_28;
  int var_2;
  type_5 var_4;
  int var_6;
  int var_12;
  type_3 *pEVar9;
  type_1 MVar10;
  type_2 *var_32;
  type_6 *pBVar11;
  char *var_8;
  type_2 *var_30;
  type_5 uVar14;
  type_3 *tile_rows_00;
  size_t var_5;
  type_3 *pEVar16;
  int var_25;
  type_4 *var_1;
  type_7 *var_29;
  type_7 *pcVar20;
  int var_20;
  double var_17;
  float var_14;
  double var_24;
  double var_18;
  double var_19;
  double var_15;
  double var_22;
  double var_16;
  double var_23;
  type_3 *in_stack_fffffef0;
  type_3 *local_c0;
  type_8 geometry;
  type_8 border_info;
  type_9 geometry_info;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  var_1 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  var_28 = *(int *)PTR___stack_chk_guard_003a9230;
  (*(type_7 *)PTR_SetGeometry_003a9624)(image,&geometry);
  (*(type_7 *)PTR_ParseMetaGeometry_003a907c)
            (var_1 + -0x5b1c,&geometry.x,&geometry.y,&geometry,&geometry.height);
  if ((geometry.width & 1) != 0) {
    geometry.width = geometry.width - 1;
  }
  if ((geometry.height & 1) != 0) {
    geometry.height = geometry.height - 1;
  }
  var_30 = (type_2 *)geometry.width;
  tile_rows_00 = (type_3 *)geometry.height;
  var_2 = (*(type_7 *)PTR_ResizeImage_003a95ec)(image,geometry.width,geometry.height,3,tile_rows);
  var_3 = var_10;
  if (var_2 == 0) {
LAB_0025ee40:
    MVar10 = var_31;
  }
  else {
    var_4 = (*(type_7 *)PTR_ParseGeometry_003a9454)(var_1 + -0x5b1c,&geometry_info);
    if (geometry_info.rho < *(double *)(var_3 + 0x1410)) {
      geometry.width = (size_t)geometry_info.rho;
      if ((var_4 & 8) == 0) goto LAB_0025eebc;
LAB_0025e9ac:
      if (*(double *)(var_3 + 0x1410) <= geometry_info.sigma) {
        geometry.height = (int)(geometry_info.sigma - *(double *)(var_3 + 0x1410)) | 0x80000000;
      }
      else {
        geometry.height = (size_t)geometry_info.sigma;
      }
      var_4 = *(type_5 *)(var_2 + 0x18);
      var_5 = *(size_t *)(var_2 + 0x1c);
      if (geometry.width != var_4) goto LAB_0025e9e4;
LAB_0025eed0:
      var_8 = (char *)geometry.width;
      if (geometry.height != var_5) goto LAB_0025e9e4;
    }
    else {
      geometry.width = (int)(geometry_info.rho - *(double *)(var_3 + 0x1410)) | 0x80000000;
      if ((var_4 & 8) != 0) goto LAB_0025e9ac;
LAB_0025eebc:
      var_4 = *(type_5 *)(var_2 + 0x18);
      var_5 = *(size_t *)(var_2 + 0x1c);
      geometry.height = geometry.width;
      if (geometry.width == var_4) goto LAB_0025eed0;
LAB_0025e9e4:
      tile_rows_00 = (type_3 *)image->compose;
      border_info.width = (geometry.width + 1) - var_4 >> 1;
      border_info.height = (geometry.height - var_5) + 1 >> 1;
      var_30 = (type_2 *)&border_info;
      var_6 = (*(type_7 *)PTR_BorderImage_003a90c4)(var_2,var_30,tile_rows_00,tile_rows);
      if (var_6 == 0) goto LAB_0025ee40;
      (*(type_7 *)PTR_DestroyImage_003a8f4c)(var_2);
      var_8 = *(char **)(var_6 + 0x18);
      var_2 = var_6;
    }
    if (((var_7 != var_8) || (*(size_t *)(var_2 + 0x1c) != var_9)) &&
       (var_6 = (*(type_7 *)PTR_ResizeImage_003a95ec)
                          (var_2,var_7,var_9,*(type_10 *)(var_2 + 0x250),tile_rows
                          ), var_6 != 0)) {
      (*(type_7 *)PTR_DestroyImage_003a8f4c)(var_2);
      var_2 = var_6;
    }
    (*(type_7 *)PTR_TransformImageColorspace_003a9180)(var_2,0x1c,tile_rows);
    tile_rows_00 = (type_3 *)(*(type_5 *)(var_2 + 0x1c) >> 1);
    var_30 = (type_2 *)(*(type_5 *)(var_2 + 0x18) >> 1);
    var_6 = (*(type_7 *)PTR_ResizeImage_003a95ec)(var_2,var_30,tile_rows_00,3,tile_rows);
    var_21 = var_11;
    var_1 = var_10;
    if (var_6 == 0) goto LAB_0025ee40;
    if (0 < *(int *)(var_2 + 0x1c)) {
      pEVar16 = (type_3 *)0x0;
      var_17 = *(double *)(var_10 + 0x1400);
      var_15 = *(double *)(var_11 + -0x5af0);
      local_c0 = (type_3 *)0x0;
      var_16 = *(double *)(var_11 + -0x5ae8);
      var_4 = 0;
      do {
        tile_rows_00 = pEVar16;
        var_12 = (*(type_7 *)PTR_GetVirtualPixels_003a9764)
                          (var_2,0,pEVar16,*(type_10 *)(var_2 + 0x18),2,tile_rows);
        if (var_12 == 0) break;
        pEVar9 = (type_3 *)((int)pEVar16 >> 1);
        if (0 < *(int *)(var_2 + 0x18) << 1) {
          var_18 = *(double *)(var_3 + 0x1410);
          var_20 = 0;
          do {
            var_14 = *(float *)(var_12 + *(int *)(*(int *)(var_2 + 0x2d0) + 8) * 4);
            if (var_13(var_14)) {
              uVar14 = 0;
            }
            else {
              uVar14 = 0;
              if (0.0 < var_14) {
                if ((double)var_14 / var_15 < var_16) {
                  var_19 = (double)var_14 / var_15 + var_17;
                  if (var_18 <= var_19) {
                    var_19 = var_19 - var_18;
                  }
                  uVar14 = (int)var_19 & 0xff;
                }
                else {
                  uVar14 = 0xff;
                }
              }
            }
            var_20 = var_20 + 1;
            (*(type_7 *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            var_12 = var_12 + *(int *)(var_2 + 0x2c0) * 4;
          } while (var_20 < *(int *)(var_2 + 0x18) << 1);
        }
        tile_rows_00 = pEVar9;
        var_12 = (*(type_7 *)PTR_GetVirtualPixels_003a9764)
                          (var_6,0,pEVar9,*(type_10 *)(var_6 + 0x18),1,tile_rows);
        if (var_12 == 0) break;
        var_20 = *(int *)(var_6 + 0x18);
        if (0 < var_20) {
          var_25 = 0;
          var_18 = *(double *)(var_3 + 0x1410);
          var_22 = *(double *)(var_21 + -0x5af0);
          var_19 = *(double *)(var_21 + -0x5ae8);
          var_23 = *(double *)(var_1 + 0x1400);
          do {
            var_14 = *(float *)(var_12 + *(int *)(*(int *)(var_2 + 0x2d0) + 0x14) * 4);
            if (var_13(var_14)) {
              uVar14 = 0;
            }
            else {
              uVar14 = 0;
              if (0.0 < var_14) {
                uVar14 = 0xff;
                if ((double)var_14 / var_22 < var_19) {
                  var_24 = (double)var_14 / var_22 + var_23;
                  if (var_18 <= var_24) {
                    var_24 = var_24 - var_18;
                  }
                  uVar14 = (int)var_24 & 0xff;
                }
              }
            }
            var_25 = var_25 + 1;
            (*(type_7 *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            var_20 = *(int *)(var_6 + 0x18);
            var_12 = var_12 + *(int *)(var_2 + 0x2c0) * 4;
          } while (var_25 < var_20);
        }
        var_12 = (*(type_7 *)PTR_GetVirtualPixels_003a9764)(var_6,0,pEVar9,var_20,1,tile_rows);
        tile_rows_00 = pEVar9;
        if (var_12 == 0) break;
        if (0 < *(int *)(var_6 + 0x18)) {
          var_20 = 0;
          var_18 = *(double *)(var_3 + 0x1410);
          var_22 = *(double *)(var_21 + -0x5af0);
          var_19 = *(double *)(var_21 + -0x5ae8);
          var_23 = *(double *)(var_1 + 0x1400);
          do {
            var_14 = *(float *)(var_12 + *(int *)(*(int *)(var_2 + 0x2d0) + 0x20) * 4);
            if (var_14 <= 0.0) {
              uVar14 = 0;
            }
            else {
              var_24 = (double)var_14 / var_22;
              if (var_24 < var_19) {
                var_24 = var_24 + var_23;
                if (var_18 <= var_24) {
                  var_24 = var_24 - var_18;
                }
                uVar14 = (int)var_24 & 0xff;
              }
              else {
                uVar14 = 0xff;
              }
            }
            var_20 = var_20 + 1;
            (*(type_7 *)PTR_WriteBlobByte_003a8fdc)(image,uVar14);
            var_12 = var_12 + *(int *)(var_2 + 0x2c0) * 4;
          } while (var_20 < *(int *)(var_6 + 0x18));
        }
        tile_rows_00 = local_c0;
        var_12 = (*(type_7 *)PTR_SetImageProgress_003a8cb4)
                          (image,var_26 + -0x15c,local_c0,var_4,0,
                           *(type_10 *)(var_2 + 0x1c));
        if (var_12 == 0) break;
        pEVar16 = (type_3 *)((int)&pEVar16->severity + var_27);
        local_c0 = (type_3 *)((int)&local_c0->severity + (type_5)(var_4 + 2 < var_4));
        var_4 = var_4 + 2;
      } while ((int)pEVar16 < *(int *)(var_2 + 0x1c));
    }
    var_12 = 0x800;
    do {
      var_30 = (type_2 *)0x0;
      var_12 = var_12 + -1;
      (*(type_7 *)PTR_WriteBlobByte_003a8fdc)(image);
    } while (var_12 != 0);
    (*(type_7 *)PTR_DestroyImage_003a8f4c)(var_6);
    (*(type_7 *)PTR_DestroyImage_003a8f4c)(var_2);
    MVar10 = MagickTrue;
  }
  if (var_28 == *(int *)puVar3) {
    return MVar10;
  }
  var_1 = PTR___stack_chk_fail_003a9064;
  (*(type_7 *)PTR___stack_chk_fail_003a9064)();
  if (var_28 == 0) {
    var_2 = *(int *)(var_1 + 0x1499ec) + -0x5a8c;
    (**(type_7 **)(var_1 + 0x14a6a8))
              (*(int *)(var_1 + 0x149980) + 0xd78,*(int *)(var_1 + 0x1499ec) + -0x5bc0,0x469,
               var_2);
LAB_0025f3d8:
    (**(type_7 **)(var_1 + 0x14a6a8))
              (*(int *)(var_1 + 0x149988) + -0x3784,*(int *)(var_1 + 0x1499ec) + -0x5bc0,0x46c,
               var_2 + -0x5a8c);
LAB_0025f3f8:
    (**(type_7 **)(var_1 + 0x14a6a8))
              (*(int *)(var_1 + 0x149980) + 0xdd0,*(int *)(var_1 + 0x1499ec) + -0x5bc0,0x46b,
               *(int *)(var_1 + 0x1499ec) + -0x5a8c);
LAB_0025f41c:
    var_29 = *(type_7 **)(var_1 + 0x14a6a8);
    (*var_29)(*(int *)(var_1 + 0x149980) + 0xda0,*(int *)(var_1 + 0x1499ec) + -0x5bc0,0x46a,
               *(int *)(var_1 + 0x1499ec) + -0x5a8c);
    var_20 = *(int *)(var_29 + 0x1494a0);
    var_25 = *(int *)(var_29 + 0x14950c);
    var_28 = var_20 + 0x48d0;
    var_28 = (**(type_7 **)(var_29 + 0x14a19c))(var_28,var_28,var_25 + -0x5b08);
    var_12 = *(int *)(var_29 + 0x14956c);
    var_6 = *(int *)(var_29 + 0x14956c);
    var_2 = *(int *)(var_29 + 0x14956c);
    pcVar20 = *(type_7 **)(var_29 + 0x149a7c);
    *(type_5 *)(var_28 + 0x2c) = *(type_5 *)(var_28 + 0x2c) ^ 1 | 0x200;
    *(int *)(var_28 + 0x18) = var_12 + -0x2e90;
    *(int *)(var_28 + 0x1c) = var_6 + -0x10a0;
    *(int *)(var_28 + 0x24) = var_2 + -0x17d8;
    (*pcVar20)(var_28);
    var_28 = (**(type_7 **)(var_29 + 0x14a19c))
                      (var_20 + 0x48d0,*(int *)(var_29 + 0x1494a0) + 0x48c8,var_25 + -0x5b08);
    *(int *)(var_28 + 0x18) = var_12 + -0x2e90;
    *(int *)(var_28 + 0x1c) = var_6 + -0x10a0;
    var_29 = *(type_7 **)(var_29 + 0x149a7c);
    *(type_5 *)(var_28 + 0x2c) = *(type_5 *)(var_28 + 0x2c) ^ 1 | 0x200;
    (*var_29)(var_28);
    return 0x810;
  }
  if (*(int *)(var_28 + 0x3214) != -0x54535255) goto LAB_0025f41c;
  if (var_30 == (type_2 *)0x0) goto LAB_0025f3f8;
  var_2 = *(int *)(var_1 + 0x1499ec);
  if (var_30->signature != 0xabacadab) goto LAB_0025f3d8;
  if (var_30->debug != var_31) {
    in_stack_fffffef0 = (type_3 *)(*(int *)(var_1 + 0x149984) - 0x62ac);
    (**(type_7 **)(var_1 + 0x14a280))
              (0x8000,*(int *)(var_1 + 0x1499ec) + -0x5bc0,*(int *)(var_1 + 0x1499ec) + -0x5a9c,
               0x46e,in_stack_fffffef0,var_30->filename);
  }
  if (var_30->columns < var_30->rows) {
    in_stack_fffffef0 = tile_rows_00;
    var_32 = (type_2 *)(**(type_7 **)(var_1 + 0x14a86c))(var_30);
    if (var_32 == (type_2 *)0x0) {
      return var_31;
    }
    (**(type_7 **)(var_1 + 0x14a0b0))(var_32);
    pBVar11 = (type_6 *)(**(type_7 **)(var_1 + 0x14a334))(var_30->blob);
    var_32->blob = pBVar11;
    var_28 = (**(type_7 **)(var_1 + 0x14a2ec))(var_28,var_32,4,tile_rows_00);
    if (var_28 == 0) {
      MVar10 = var_31;
      if (var_30 == var_32) {
        return var_31;
      }
      goto LAB_0025f04c;
    }
  }
  else {
    var_28 = (**(type_7 **)(var_1 + 0x14a2ec))(var_28,var_30,4,tile_rows_00);
    var_32 = var_30;
    if (var_28 == 0) {
      return var_31;
    }
  }
  var_4 = var_32->colorspace - var_33;
  if (var_4 < 0x1f) {
    var_29 = *(type_7 **)(var_1 + 0x14a220);
    if (-1 < (int)((0x403c0001U >> (var_4 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;
    var_28 = 0x20;
  }
  else {
    var_29 = *(type_7 **)(var_1 + 0x14a220);
LAB_0025f0b0:
    (*var_29)(var_32,0x17,tile_rows_00);
    var_28 = 0x20;
  }
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0xff);
  } while (var_28 != 0);
  var_28 = 4;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0xe);
  } while (var_28 != 0);
  var_28 = 8;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  var_28 = 4;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,1);
  } while (var_28 != 0);
  var_28 = 4;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,5);
  } while (var_28 != 0);
  var_28 = 8;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  var_28 = 4;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,10);
  } while (var_28 != 0);
  var_28 = 0x24;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  var_28 = 4;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,1);
  } while (var_28 != 0);
  var_28 = 0x798;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  var_28 = 0x5fa;
  (**(type_7 **)(var_1 + 0x14aa34))(var_32,7,*(int *)(var_1 + 0x1499ec) + -0x5b10);
  (**(type_7 **)(var_1 + 0x14a07c))(var_32,6);
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  if (var_30->columns < var_30->rows) {
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,1);
  }
  else {
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  }
  var_28 = 0x11fd;
  do {
    var_28 = var_28 + -1;
    (**(type_7 **)(var_1 + 0x14a07c))(var_32,0);
  } while (var_28 != 0);
  function_1(var_32,(char *)0xc0,0x80,(size_t)tile_rows_00,in_stack_fffffef0);
  function_1(var_32,(char *)0x180,0x100,(size_t)tile_rows_00,in_stack_fffffef0);
  MVar10 = function_1(var_32,(char *)0x300,0x200,(size_t)tile_rows_00,in_stack_fffffef0);
  (**(type_7 **)(var_1 + 0x14a728))(var_32);
  if (var_30 == var_32) {
    return MVar10;
  }
LAB_0025f04c:
  (**(type_7 **)(var_1 + 0x149fec))(var_32);
  return MVar10;
}


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

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

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  uint *puVar9;
  uint uVar10;
  uint *puVar11;
  uint *puVar12;
  int iVar13;
  int iVar14;
  undefined *puVar15;
  code *pcVar16;
  code *pcVar17;
  int iVar18;
  double dVar19;
  float fVar21;
  double dVar20;
  double dVar22;
  double dVar23;
  double dVar24;
  double dVar25;
  double dVar26;
  double dVar27;
  uint *puVar28;
  uint *local_c0;
  uint *local_a8;
  uint *local_a4;
  undefined1 auStack_a0 [4];
  undefined1 auStack_9c [4];
  uint local_98;
  uint local_94;
  double local_88;
  double local_80;
  int local_5c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  local_5c = *(int *)PTR___stack_chk_guard_003a9230;
  (*(code *)PTR_SetGeometry_003a9624)(param_1,&local_a8);
  (*(code *)PTR_ParseMetaGeometry_003a907c)
            (puVar15 + -0x5b1c,auStack_a0,auStack_9c,&local_a8,&local_a4);
  if (((uint)local_a8 & 1) != 0) {
    local_a8 = (uint *)((int)local_a8 - 1);
  }
  if (((uint)local_a4 & 1) != 0) {
    local_a4 = (uint *)((int)local_a4 - 1);
  }
  puVar9 = local_a8;
  puVar11 = local_a4;
  iVar4 = (*(code *)PTR_ResizeImage_003a95ec)(param_1,local_a8,local_a4,3,param_4);
  puVar1 = PTR_LAB_003a88e0;
  if (iVar4 == 0) {
LAB_0025ee40:
    uVar8 = 0;
  }
  else {
    uVar5 = (*(code *)PTR_ParseGeometry_003a9454)(puVar15 + -0x5b1c,&local_88);
    if (local_88 < *(double *)(puVar1 + 0x1410)) {
      local_a8 = (uint *)(int)local_88;
      if ((uVar5 & 8) == 0) goto LAB_0025eebc;
LAB_0025e9ac:
      if (*(double *)(puVar1 + 0x1410) <= local_80) {
        local_a4 = (uint *)((int)(local_80 - *(double *)(puVar1 + 0x1410)) | 0x80000000);
      }
      else {
        local_a4 = (uint *)(int)local_80;
      }
      puVar9 = *(uint **)(iVar4 + 0x18);
      puVar12 = *(uint **)(iVar4 + 0x1c);
      if (local_a8 != puVar9) goto LAB_0025e9e4;
LAB_0025eed0:
      puVar11 = local_a8;
      if (local_a4 != puVar12) goto LAB_0025e9e4;
    }
    else {
      local_a8 = (uint *)((int)(local_88 - *(double *)(puVar1 + 0x1410)) | 0x80000000);
      if ((uVar5 & 8) != 0) goto LAB_0025e9ac;
LAB_0025eebc:
      puVar9 = *(uint **)(iVar4 + 0x18);
      puVar12 = *(uint **)(iVar4 + 0x1c);
      local_a4 = local_a8;
      if (local_a8 == puVar9) goto LAB_0025eed0;
LAB_0025e9e4:
      puVar11 = *(uint **)(param_1 + 0x264);
      local_98 = (uint)((int)local_a8 + (1 - (int)puVar9)) >> 1;
      local_94 = (uint)((int)local_a4 + (1 - (int)puVar12)) >> 1;
      puVar9 = &local_98;
      iVar6 = (*(code *)PTR_BorderImage_003a90c4)(iVar4,puVar9,puVar11,param_4);
      if (iVar6 == 0) goto LAB_0025ee40;
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
      puVar11 = *(uint **)(iVar6 + 0x18);
      iVar4 = iVar6;
    }
    if (((param_2 != puVar11) || (*(int *)(iVar4 + 0x1c) != param_3)) &&
       (iVar6 = (*(code *)PTR_ResizeImage_003a95ec)
                          (iVar4,param_2,param_3,*(undefined4 *)(iVar4 + 0x250),param_4), iVar6 != 0
       )) {
      (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
      iVar4 = iVar6;
    }
    (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x1c,param_4);
    puVar11 = (uint *)(*(uint *)(iVar4 + 0x1c) >> 1);
    puVar9 = (uint *)(*(uint *)(iVar4 + 0x18) >> 1);
    iVar6 = (*(code *)PTR_ResizeImage_003a95ec)(iVar4,puVar9,puVar11,3,param_4);
    puVar2 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    puVar15 = PTR_LAB_003a88e0;
    if (iVar6 == 0) goto LAB_0025ee40;
    if (0 < *(int *)(iVar4 + 0x1c)) {
      puVar9 = (uint *)0x0;
      dVar19 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      local_c0 = (uint *)0x0;
      dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
      uVar5 = 0;
      do {
        puVar11 = puVar9;
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar4,0,puVar9,*(undefined4 *)(iVar4 + 0x18),2,param_4);
        if (iVar7 == 0) break;
        puVar12 = (uint *)((int)puVar9 >> 1);
        if (0 < *(int *)(iVar4 + 0x18) << 1) {
          dVar22 = *(double *)(puVar1 + 0x1410);
          iVar18 = 0;
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4);
            if (NAN(fVar21)) {
              uVar10 = 0;
            }
            else {
              uVar10 = 0;
              if (0.0 < fVar21) {
                if ((double)fVar21 / dVar24 < dVar26) {
                  dVar23 = (double)fVar21 / dVar24 + dVar19;
                  if (dVar22 <= dVar23) {
                    dVar23 = dVar23 - dVar22;
                  }
                  uVar10 = (int)dVar23 & 0xff;
                }
                else {
                  uVar10 = 0xff;
                }
              }
            }
            iVar18 = iVar18 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar18 < *(int *)(iVar4 + 0x18) << 1);
        }
        puVar11 = puVar12;
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)
                          (iVar6,0,puVar12,*(undefined4 *)(iVar6 + 0x18),1,param_4);
        if (iVar7 == 0) break;
        iVar18 = *(int *)(iVar6 + 0x18);
        if (0 < iVar18) {
          iVar14 = 0;
          dVar22 = *(double *)(puVar1 + 0x1410);
          dVar25 = *(double *)(puVar2 + -0x5af0);
          dVar23 = *(double *)(puVar2 + -0x5ae8);
          dVar27 = *(double *)(puVar15 + 0x1400);
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4);
            if (NAN(fVar21)) {
              uVar10 = 0;
            }
            else {
              uVar10 = 0;
              if (0.0 < fVar21) {
                uVar10 = 0xff;
                if ((double)fVar21 / dVar25 < dVar23) {
                  dVar20 = (double)fVar21 / dVar25 + dVar27;
                  if (dVar22 <= dVar20) {
                    dVar20 = dVar20 - dVar22;
                  }
                  uVar10 = (int)dVar20 & 0xff;
                }
              }
            }
            iVar14 = iVar14 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar18 = *(int *)(iVar6 + 0x18);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar14 < iVar18);
        }
        iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)(iVar6,0,puVar12,iVar18,1,param_4);
        puVar11 = puVar12;
        if (iVar7 == 0) break;
        if (0 < *(int *)(iVar6 + 0x18)) {
          iVar18 = 0;
          dVar22 = *(double *)(puVar1 + 0x1410);
          dVar25 = *(double *)(puVar2 + -0x5af0);
          dVar23 = *(double *)(puVar2 + -0x5ae8);
          dVar27 = *(double *)(puVar15 + 0x1400);
          do {
            fVar21 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4);
            if (fVar21 <= 0.0) {
              uVar10 = 0;
            }
            else {
              dVar20 = (double)fVar21 / dVar25;
              if (dVar20 < dVar23) {
                dVar20 = dVar20 + dVar27;
                if (dVar22 <= dVar20) {
                  dVar20 = dVar20 - dVar22;
                }
                uVar10 = (int)dVar20 & 0xff;
              }
              else {
                uVar10 = 0xff;
              }
            }
            iVar18 = iVar18 + 1;
            (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1,uVar10);
            iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
          } while (iVar18 < *(int *)(iVar6 + 0x18));
        }
        puVar11 = local_c0;
        iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (param_1,PTR_s_courses_003a88ec + -0x15c,local_c0,uVar5,0,
                           *(undefined4 *)(iVar4 + 0x1c));
        if (iVar7 == 0) break;
        puVar9 = (uint *)((int)puVar9 + 2);
        local_c0 = (uint *)((uint)(uVar5 + 2 < uVar5) + (int)local_c0);
        uVar5 = uVar5 + 2;
      } while ((int)puVar9 < *(int *)(iVar4 + 0x1c));
    }
    iVar7 = 0x800;
    do {
      puVar9 = (uint *)0x0;
      iVar7 = iVar7 + -1;
      (*(code *)PTR_WriteBlobByte_003a8fdc)(param_1);
    } while (iVar7 != 0);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar6);
    (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
    uVar8 = 1;
  }
  if (local_5c == *(int *)puVar3) {
    return uVar8;
  }
  iVar4 = local_5c;
  puVar15 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (iVar4 == 0) {
    iVar6 = *(int *)(puVar15 + 0x1499ec) + -0x5a8c;
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149980) + 0xd78,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x469,
               iVar6);
LAB_0025f3d8:
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149988) + -0x3784,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46c,
               iVar6 + -0x5a8c);
LAB_0025f3f8:
    (**(code **)(puVar15 + 0x14a6a8))
              (*(int *)(puVar15 + 0x149980) + 0xdd0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46b,
               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);
LAB_0025f41c:
    pcVar16 = *(code **)(puVar15 + 0x14a6a8);
    (*pcVar16)(*(int *)(puVar15 + 0x149980) + 0xda0,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,0x46a,
               *(int *)(puVar15 + 0x1499ec) + -0x5a8c);
    iVar14 = *(int *)(pcVar16 + 0x1494a0);
    iVar13 = *(int *)(pcVar16 + 0x14950c);
    iVar4 = iVar14 + 0x48d0;
    iVar4 = (**(code **)(pcVar16 + 0x14a19c))(iVar4,iVar4,iVar13 + -0x5b08);
    iVar18 = *(int *)(pcVar16 + 0x14956c);
    iVar7 = *(int *)(pcVar16 + 0x14956c);
    iVar6 = *(int *)(pcVar16 + 0x14956c);
    pcVar17 = *(code **)(pcVar16 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    *(int *)(iVar4 + 0x24) = iVar6 + -0x17d8;
    (*pcVar17)(iVar4);
    iVar4 = (**(code **)(pcVar16 + 0x14a19c))
                      (iVar14 + 0x48d0,*(int *)(pcVar16 + 0x1494a0) + 0x48c8,iVar13 + -0x5b08);
    *(int *)(iVar4 + 0x18) = iVar18 + -0x2e90;
    *(int *)(iVar4 + 0x1c) = iVar7 + -0x10a0;
    pcVar16 = *(code **)(pcVar16 + 0x149a7c);
    *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1 | 0x200;
    (*pcVar16)(iVar4);
    return 0x810;
  }
  if (*(int *)(iVar4 + 0x3214) != -0x54535255) goto LAB_0025f41c;
  if (puVar9 == (uint *)0x0) goto LAB_0025f3f8;
  iVar6 = *(int *)(puVar15 + 0x1499ec);
  if (puVar9[0xcdb] != 0xabacadab) goto LAB_0025f3d8;
  if (puVar9[0xcd4] != 0) {
    (**(code **)(puVar15 + 0x14a280))
              (0x8000,*(int *)(puVar15 + 0x1499ec) + -0x5bc0,*(int *)(puVar15 + 0x1499ec) + -0x5a9c,
               0x46e,*(int *)(puVar15 + 0x149984) + -0x62ac,puVar9 + 0xd0);
  }
  if (puVar9[6] < puVar9[7]) {
    puVar28 = puVar11;
    puVar12 = (uint *)(**(code **)(puVar15 + 0x14a86c))(puVar9);
    if (puVar12 == (uint *)0x0) {
      return 0;
    }
    (**(code **)(puVar15 + 0x14a0b0))(puVar12);
    uVar5 = (**(code **)(puVar15 + 0x14a334))(puVar9[0xcd2]);
    puVar12[0xcd2] = uVar5;
    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar12,4,puVar11,puVar28);
    if (iVar4 == 0) {
      uVar8 = 0;
      if (puVar9 == puVar12) {
        return 0;
      }
      goto LAB_0025f04c;
    }
  }
  else {
    iVar4 = (**(code **)(puVar15 + 0x14a2ec))(iVar4,puVar9,4,puVar11);
    puVar12 = puVar9;
    if (iVar4 == 0) {
      return 0;
    }
  }
  if (puVar12[1] - 3 < 0x1f) {
    pcVar16 = *(code **)(puVar15 + 0x14a220);
    if (-1 < (int)((0x403c0001U >> (puVar12[1] - 3 & 0x1f)) << 0x1f)) goto LAB_0025f0b0;
    iVar4 = 0x20;
  }
  else {
    pcVar16 = *(code **)(puVar15 + 0x14a220);
LAB_0025f0b0:
    (*pcVar16)(puVar12,0x17,puVar11);
    iVar4 = 0x20;
  }
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xff);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0xe);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,5);
  } while (iVar4 != 0);
  iVar4 = 8;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,10);
  } while (iVar4 != 0);
  iVar4 = 0x24;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 4;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  } while (iVar4 != 0);
  iVar4 = 0x798;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  iVar4 = 0x5fa;
  (**(code **)(puVar15 + 0x14aa34))(puVar12,7,*(int *)(puVar15 + 0x1499ec) + -0x5b10);
  (**(code **)(puVar15 + 0x14a07c))(puVar12,6);
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  if (puVar9[6] < puVar9[7]) {
    (**(code **)(puVar15 + 0x14a07c))(puVar12,1);
  }
  else {
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  }
  iVar4 = 0x11fd;
  do {
    iVar4 = iVar4 + -1;
    (**(code **)(puVar15 + 0x14a07c))(puVar12,0);
  } while (iVar4 != 0);
  MASKED(puVar12,0xc0,0x80,puVar11);
  MASKED(puVar12,0x180,0x100,puVar11);
  uVar8 = MASKED(puVar12,0x300,0x200,puVar11);
  (**(code **)(puVar15 + 0x14a728))(puVar12);
  if (puVar9 == puVar12) {
    return uVar8;
  }
LAB_0025f04c:
  (**(code **)(puVar15 + 0x149fec))(puVar12);
  return uVar8;
}

