
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": 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 WriteHRZImage(ImageInfo *image_info,Image *image,ExceptionInfo *exception)

{
  Image *pIVar1;
  Image *pIVar2;
  undefined *puVar3;
  int iVar4;
  MagickBooleanType MVar5;
  undefined1 *puVar6;
  int iVar7;
  _Image *p_Var8;
  undefined1 uVar9;
  undefined1 *puVar10;
  undefined1 *puVar11;
  int iVar12;
  undefined *puVar13;
  int iVar14;
  uint uVar15;
  int iVar16;
  code *pcVar17;
  double dVar18;
  float fVar20;
  double dVar19;
  double dVar21;
  double dVar22;
  double dVar23;
  float fVar24;
  double dVar25;
  double dVar26;
  double dVar27;
  
  if (image_info != (ImageInfo *)0x0) {
    if (image_info->signature == 0xabacadab) {
      if (image != (Image *)0x0) {
        puVar13 = PTR_UINT_003a8950;
        if (image->signature == 0xabacadab) {
          if (image->debug != MagickFalse) {
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,
                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);
          }
          if (exception != (ExceptionInfo *)0x0) {
            if (exception->signature == 0xabacadab) {
              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);
              if ((iVar4 == 0) ||
                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)
                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {
                MVar5 = MagickFalse;
              }
              else {
                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);
                puVar6 = (undefined1 *)
                         (*(code *)PTR_AcquireQuantumMemory_003a950c)
                                   (*(undefined4 *)(iVar4 + 0x18),3);
                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
                puVar13 = PTR_LAB_003a88e0;
                if (puVar6 == (undefined1 *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
                  (*(code *)PTR_ThrowMagickException_003a8f20)
                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,
                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename
                            );
                  p_Var8 = (_Image *)image_info->adjoin;
                  pIVar2 = image;
                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {
                    p_Var8 = pIVar1->previous;
                    image = p_Var8;
                    pIVar2 = pIVar1;
                  }
                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);
                  MVar5 = MagickFalse;
                }
                else {
                  if (0 < *(int *)(iVar4 + 0x1c)) {
                    iVar16 = 0;
                    iVar14 = 0;
                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
                    uVar15 = 0;
                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)
                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,
                                              exception), iVar7 != 0) {
                      if (*(int *)(iVar4 + 0x18) < 1) {
                        iVar7 = 0;
                      }
                      else {
                        iVar12 = 0;
                        dVar22 = *(double *)(puVar3 + -0x5ae8);
                        dVar23 = *(double *)(puVar3 + -0x5af0);
                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);
                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
                        dVar25 = *(double *)(puVar13 + 0x1400);
                        puVar10 = puVar6;
                        do {
                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *
                                   fVar24;
                          if (fVar20 <= 0.0) {
                            uVar9 = 0;
                          }
                          else {
                            dVar19 = (double)fVar20 / dVar23;
                            if (dVar19 < dVar27) {
                              dVar19 = dVar19 + dVar25;
                              if (dVar19 < dVar21) {
                                uVar9 = (undefined1)(int)dVar19;
                              }
                              else {
                                uVar9 = (undefined1)(int)(dVar19 - dVar21);
                              }
                            }
                            else {
                              uVar9 = 0xff;
                            }
                          }
                          *puVar10 = uVar9;
                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)
                                   * fVar24;
                          if (fVar20 <= 0.0) {
                            uVar9 = 0;
                          }
                          else {
                            dVar19 = (double)fVar20 / dVar23;
                            if (dVar19 < dVar22) {
                              dVar19 = dVar19 + dVar25;
                              if (dVar19 < dVar21) {
                                uVar9 = (undefined1)(int)dVar19;
                              }
                              else {
                                uVar9 = (undefined1)(int)(dVar19 - dVar21);
                              }
                            }
                            else {
                              uVar9 = 0xff;
                            }
                          }
                          puVar10[1] = uVar9;
                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)
                                   * fVar24;
                          puVar11 = puVar10 + 3;
                          if (fVar20 <= 0.0) {
                            uVar9 = 0;
                          }
                          else {
                            dVar19 = (double)fVar20 / dVar26;
                            if (dVar19 < dVar22) {
                              dVar19 = dVar19 + dVar18;
                              if (dVar19 < dVar21) {
                                uVar9 = (undefined1)(int)dVar19;
                              }
                              else {
                                uVar9 = (undefined1)(int)(dVar19 - dVar21);
                              }
                            }
                            else {
                              uVar9 = 0xff;
                            }
                          }
                          puVar10[2] = uVar9;
                          iVar12 = iVar12 + 1;
                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;
                          puVar10 = puVar11;
                        } while (iVar12 < *(int *)(iVar4 + 0x18));
                        iVar7 = (int)puVar11 - (int)puVar6;
                      }
                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);
                      if ((iVar12 != iVar7) ||
                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,
                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;
                      iVar14 = iVar14 + 1;
                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;
                      uVar15 = uVar15 + 1;
                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;
                    }
                  }
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);
                  (*(code *)PTR_CloseBlob_003a9688)(image);
                  MVar5 = MagickTrue;
                }
              }
              return MVar5;
            }
            (*(code *)PTR___assert_fail_003a9608)
                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,
                       PTR_UINT_003a8950 + -0x4f0);
          }
          puVar13 = PTR_UINT_003a8950 + -0x4f0;
          (*(code *)PTR___assert_fail_003a9608)
                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);
        }
        (*(code *)PTR___assert_fail_003a9608)
                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);
      }
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,
                 PTR_UINT_003a8950 + -0x4f0);
    }
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)
    ;
  }
  puVar13 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);
  iVar4 = (**(code **)(puVar13 + 0x176118))
                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,
                     *(int *)(puVar13 + 0x17548c) + -0x540);
  iVar14 = *(int *)(puVar13 + 0x175708);
  pcVar17 = *(code **)(puVar13 + 0x1759f8);
  *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1;
  *(int *)(iVar4 + 0x18) = iVar14 + 0x28c0;
  *(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98;
  (*pcVar17)(iVar4);
  return 0x810;
}



undefined4 FUN_00232e98(int param_1,int param_2,int param_3)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined1 uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  int iVar9;
  undefined *puVar10;
  int iVar11;
  uint uVar12;
  int iVar13;
  code *pcVar14;
  double dVar15;
  float fVar17;
  double dVar16;
  double dVar18;
  double dVar19;
  double dVar20;
  float fVar21;
  double dVar22;
  double dVar23;
  double dVar24;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x3214) == -0x54535255) {
      if (param_2 != 0) {
        puVar10 = PTR_UINT_003a8950;
        if (*(int *)(param_2 + 0x336c) == -0x54535255) {
          if (*(int *)(param_2 + 0x3350) != 0) {
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,
                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);
          }
          if (param_3 != 0) {
            if (*(int *)(param_3 + 0x1c) == -0x54535255) {
              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);
              if ((iVar2 == 0) ||
                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)
                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),
                 iVar2 == 0)) {
                uVar3 = 0;
              }
              else {
                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);
                puVar4 = (undefined1 *)
                         (*(code *)PTR_AcquireQuantumMemory_003a950c)
                                   (*(undefined4 *)(iVar2 + 0x18),3);
                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
                puVar10 = PTR_LAB_003a88e0;
                if (puVar4 == (undefined1 *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);
                  (*(code *)PTR_ThrowMagickException_003a8f20)
                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400
                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);
                  iVar11 = *(int *)(param_1 + 0xc);
                  iVar2 = param_2;
                  while (iVar13 = param_2, iVar11 != 0) {
                    iVar11 = *(int *)(iVar13 + 0x3364);
                    param_2 = iVar11;
                    iVar2 = iVar13;
                  }
                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);
                  uVar3 = 0;
                }
                else {
                  if (0 < *(int *)(iVar2 + 0x1c)) {
                    iVar13 = 0;
                    iVar11 = 0;
                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
                    uVar12 = 0;
                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)
                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3
                                             ), iVar5 != 0) {
                      if (*(int *)(iVar2 + 0x18) < 1) {
                        iVar5 = 0;
                      }
                      else {
                        iVar9 = 0;
                        dVar19 = *(double *)(puVar1 + -0x5ae8);
                        dVar20 = *(double *)(puVar1 + -0x5af0);
                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);
                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
                        dVar22 = *(double *)(puVar10 + 0x1400);
                        puVar7 = puVar4;
                        do {
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *
                                   fVar21;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar20;
                            if (dVar16 < dVar24) {
                              dVar16 = dVar16 + dVar22;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          *puVar7 = uVar6;
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)
                                   * fVar21;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar20;
                            if (dVar16 < dVar19) {
                              dVar16 = dVar16 + dVar22;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          puVar7[1] = uVar6;
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)
                                   * fVar21;
                          puVar8 = puVar7 + 3;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar23;
                            if (dVar16 < dVar19) {
                              dVar16 = dVar16 + dVar15;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          puVar7[2] = uVar6;
                          iVar9 = iVar9 + 1;
                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;
                          puVar7 = puVar8;
                        } while (iVar9 < *(int *)(iVar2 + 0x18));
                        iVar5 = (int)puVar8 - (int)puVar4;
                      }
                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);
                      if ((iVar9 != iVar5) ||
                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0
                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;
                      iVar11 = iVar11 + 1;
                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;
                      uVar12 = uVar12 + 1;
                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;
                    }
                  }
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);
                  (*(code *)PTR_CloseBlob_003a9688)(param_2);
                  uVar3 = 1;
                }
              }
              return uVar3;
            }
            (*(code *)PTR___assert_fail_003a9608)
                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,
                       PTR_UINT_003a8950 + -0x4f0);
          }
          puVar10 = PTR_UINT_003a8950 + -0x4f0;
          (*(code *)PTR___assert_fail_003a9608)
                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);
        }
        (*(code *)PTR___assert_fail_003a9608)
                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);
      }
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,
                 PTR_UINT_003a8950 + -0x4f0);
    }
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)
    ;
  }
  puVar10 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);
  iVar2 = (**(code **)(puVar10 + 0x176118))
                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,
                     *(int *)(puVar10 + 0x17548c) + -0x540);
  iVar11 = *(int *)(puVar10 + 0x175708);
  pcVar14 = *(code **)(puVar10 + 0x1759f8);
  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;
  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;
  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;
  (*pcVar14)(iVar2);
  return 0x810;
}


lui gp,0x18
addiu gp,gp,-0x25e8
addu gp,gp,t9
addiu sp,sp,-0x90
sdc1 f30,0x88(sp)
sw gp,0x20(sp)
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
sw s0,0x38(sp)
sdc1 f28,0x80(sp)
sdc1 f26,0x78(sp)
sdc1 f24,0x70(sp)
sdc1 f22,0x68(sp)
beq a0,zero,0x002334a0
_sdc1 f20,0x60(sp)
lui v0,0xabac
lw v1,0x3214(a0)
ori v0,v0,0xadab
bne v1,v0,0x0023347c
_or s2,a0,zero
beq a1,zero,0x00233458
_or s0,a1,zero
lw v0,0x336c(a1)
bne v0,v1,0x00233438
_lw a3,-0x7f60(gp)
lw v0,0x3350(a1)
bne v0,zero,0x002332b0
_or s1,a2,zero
beq s1,zero,0x00233414
_lui v0,0xabac
lw v1,0x1c(s1)
ori v0,v0,0xadab
bne v1,v0,0x002333f0
_lw t9,-0x7664(gp)
li a2,0x4
or a3,s1,zero
or a1,s0,zero
jalr t9
_or a0,s2,zero
bne v0,zero,0x00232fa4
_lw gp,0x20(sp)
or v0,zero,zero
lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
ldc1 f30,0x88(sp)
ldc1 f28,0x80(sp)
ldc1 f26,0x78(sp)
ldc1 f24,0x70(sp)
ldc1 f22,0x68(sp)
ldc1 f20,0x60(sp)
jr ra
_addiu sp,sp,0x90
lw t9,-0x72c4(gp)
li a2,0xf0
lw a3,0x250(s0)
li a1,0x100
sw s1,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
beq v0,zero,0x00232f58
_or s3,v0,zero
lw t9,-0x7730(gp)
li a1,0x17
or a0,v0,zero
jalr t9
_or a2,s1,zero
li a1,0x3
lw gp,0x20(sp)
lw t9,-0x73a4(gp)
jalr t9
_lw a0,0x18(s3)
lw gp,0x20(sp)
beq v0,zero,0x00233364
_or s5,v0,zero
lw v0,0x1c(s3)
blez v0,0x0023327c
_lw v1,-0x7fd0(gp)
or s6,zero,zero
lw v0,-0x7fc8(gp)
or s4,zero,zero
lw s8,-0x7fc8(gp)
or s2,zero,zero
ldc1 f0,0x1400(v1)
sw v0,0x30(sp)
ldc1 f26,-0x5af0(v0)
sw v1,0x34(sp)
ldc1 f28,-0x5ae8(s8)
sdc1 f0,0x28(sp)
lw a3,0x18(s3)
li v0,0x1
lw t9,-0x714c(gp)
or a1,zero,zero
sw s1,0x14(sp)
or a2,s2,zero
sw v0,0x10(sp)
jalr t9
_or a0,s3,zero
beq v0,zero,0x0023327c
_lw gp,0x20(sp)
lw v1,0x18(s3)
blez v1,0x00233358
_lw v1,0x30(sp)
mtc1 zero,f16
or a1,zero,zero
ldc1 f4,-0x5ae8(s8)
or a0,s5,zero
ldc1 f6,-0x5af0(v1)
lw v1,-0x7fc4(gp)
lwc1 f18,-0xe38(v1)
lw v1,-0x7fd0(gp)
mov.D f12,f4
ldc1 f2,0x1410(v1)
mov.D f14,f6
lw v1,0x34(sp)
ldc1 f24,0x1400(v1)
mov.S f22,f18
mov.S f20,f18
mov.D f10,f2
mov.D f8,f2
mfc1 t1,f24
mfhc1 t0,f24
lw v1,0x2d0(s3)
lw v1,0x8(v1)
sll v1,v1,0x2
addu v1,v0,v1
lwc1 f0,0x0(v1)
mul.S f0,f0,f18
c.un.S f0,f0
bc1t 0x002332fc
_nop
c.le.S f0,f16
bc1t 0x1,0x002332fc
_nop
cvt.d.S f0,f0
div.D f0,f0,f6
c.le.D f28,f0
bc1t 0x2,0x00233348
_nop
add.D f0,f0,f24
c.le.D f2,f0
bc1t 0x3,0x00233318
_lui a2,0x8000
trunc.w.D f0,f0
mfc1 v1,f0
andi v1,v1,0xff
sb v1,0x0(a0)
lw v1,0x2d0(s3)
lw v1,0x14(v1)
sll v1,v1,0x2
addu v1,v0,v1
lwc1 f0,0x0(v1)
mul.S f0,f0,f22
c.un.S f0,f0
bc1t 0x4,0x002332f4
_nop
c.le.S f0,f16
bc1t 0x5,0x002332f4
_nop
cvt.d.S f0,f0
div.D f0,f0,f14
c.le.D f4,f0
bc1t 0x6,0x00233340
_nop
mtc1 t1,f30
mthc1 t0,f30
add.D f0,f0,f30
c.le.D f10,f0
bc1t 0x7,0x00233304
_lui a2,0x8000
trunc.w.D f0,f0
mfc1 v1,f0
andi v1,v1,0xff
sb v1,0x1(a0)
lw v1,0x2d0(s3)
lw v1,0x20(v1)
sll v1,v1,0x2
addu v1,v0,v1
lwc1 f0,0x0(v1)
mul.S f0,f0,f20
c.un.S f0,f0
bc1t 0x002332ec
_addiu a0,a0,0x3
c.le.S f0,f16
bc1t 0x1,0x002332ec
_nop
cvt.d.S f0,f0
div.D f0,f0,f26
c.le.D f12,f0
bc1t 0x2,0x00233350
_ldc1 f30,0x28(sp)
add.D f0,f0,f30
c.le.D f8,f0
bc1t 0x3,0x0023332c
_lui a2,0x8000
trunc.w.D f0,f0
mfc1 v1,f0
andi v1,v1,0xff
sb v1,-0x1(a0)
addiu a1,a1,0x1
lw v1,0x2c0(s3)
lw a2,0x18(s3)
sll v1,v1,0x2
slt a2,a1,a2
bne a2,zero,0x002330bc
_addu v0,v0,v1
subu s7,a0,s5
or a1,s7,zero
lw t9,-0x6f1c(gp)
or a2,s5,zero
jalr t9
_or a0,s0,zero
bne v0,s7,0x0023327c
_lw gp,0x20(sp)
lw a1,-0x7fc4(gp)
or a2,s6,zero
lw v0,0x1c(s3)
or a3,s4,zero
lw t9,-0x7bfc(gp)
or a0,s0,zero
addiu a1,a1,-0x15c
sw zero,0x10(sp)
jalr t9
_sw v0,0x14(sp)
beq v0,zero,0x0023327c
_lw gp,0x20(sp)
lw v0,0x1c(s3)
addiu v1,s4,0x1
addiu s2,s2,0x1
sltu s4,v1,s4
slt v0,s2,v0
addu s6,s4,s6
bne v0,zero,0x00233038
_or s4,v1,zero
lw t9,-0x78f0(gp)
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw t9,-0x7228(gp)
jalr t9
_or a0,s0,zero
b 0x00232f5c
_li v0,0x1
addiu v0,a1,0x340
lw a2,-0x7f60(gp)
lw a1,-0x7f60(gp)
li a3,0x131
lw t9,-0x76d0(gp)
ori a0,zero,0x8000
sw v0,0x14(sp)
addiu a2,a2,-0x500
lw v0,-0x7fcc(gp)
addiu a1,a1,-0x550
addiu v0,v0,-0x62ac
jalr t9
_sw v0,0x10(sp)
b 0x00232f24
_lw gp,0x20(sp)
b 0x002331ec
_or v1,zero,zero
b 0x00233188
_or v1,zero,zero
b 0x0023311c
_or v1,zero,zero
sub.D D f0,f0,f10
trunc.w.D f0,f0
mfc1 v1,f0
b 0x00233184
_or v1,v1,a2
sub.D D f0,f0,f2
trunc.w.D f0,f0
mfc1 v1,f0
b 0x00233118
_or v1,v1,a2
sub.D D f0,f0,f8
trunc.w.D f0,f0
mfc1 v1,f0
b 0x002331e8
_or v1,v1,a2
b 0x00233188
_li v1,0xff
b 0x0023311c
_li v1,0xff
b 0x002331ec
_li v1,0xff
or a1,zero,zero
b 0x00233214
_or s7,zero,zero
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
addiu v0,s0,0x340
lw gp,0x20(sp)
li a3,0x143
sw v0,0x1c(sp)
or a0,s1,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f60(gp)
lw a1,-0x7f60(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x500
sw v0,0x18(sp)
addiu a1,a1,-0x550
lw v0,-0x7fd0(gp)
addiu v0,v0,0x16f8
sw v0,0x14(sp)
li v0,0x190
jalr t9
_sw v0,0x10(sp)
lw v0,0xc(s2)
bne v0,zero,0x002333d4
_lw gp,0x20(sp)
b 0x002333e0
_lw t9,-0x7228(gp)
or s0,v0,zero
lw v0,0x3364(s0)
bne v0,zero,0x002333d0
_lw t9,-0x7228(gp)
jalr t9
_or a0,s0,zero
b 0x00232f5c
_or v0,zero,zero
lw a3,-0x7f60(gp)
li a2,0x133
lw a1,-0x7f60(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,0x294c
lw a3,-0x7f60(gp)
li a2,0x132
lw a1,-0x7f60(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,0x1cac
li a2,0x12f
lw a1,-0x7f60(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,-0x3784
lw a3,-0x7f60(gp)
li a2,0x12e
lw a1,-0x7f60(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,0xdd0
lw a3,-0x7f60(gp)
li a2,0x12d
lw a1,-0x7f60(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,0xda0
lw a3,-0x7f60(gp)
li a2,0x12c
lw a1,-0x7f60(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4f0
addiu a1,a1,-0x550
jalr t9
_addiu a0,a0,0xd78
(translation_unit "undefined4 FUN_00232e98(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}\n\n" (function_definition "undefined4 FUN_00232e98(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" type_identifier (function_declarator "FUN_00232e98(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "float fVar17;" primitive_type identifier ;) (declaration "double dVar16;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "float fVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" { (if_statement "if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" { (expression_statement "puVar10 = PTR_UINT_003a8950;" (assignment_expression "puVar10 = PTR_UINT_003a8950" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" if (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" * (cast_expression "(int *)(param_2 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x336c)" ( (binary_expression "param_2 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" { (if_statement "if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" if (parenthesized_expression "(*(int *)(param_2 + 0x3350) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3350) != 0" (pointer_expression "*(int *)(param_2 + 0x3350)" * (cast_expression "(int *)(param_2 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3350)" ( (binary_expression "param_2 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" ( number_literal , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "param_2 + 0x340" identifier + number_literal) ))) ;) })) (if_statement "if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" { (if_statement "if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" if (parenthesized_expression "(*(int *)(param_3 + 0x1c) == -0x54535255)" ( (binary_expression "*(int *)(param_3 + 0x1c) == -0x54535255" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" { (expression_statement "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,4,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" if (parenthesized_expression "((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0))" ( (binary_expression "(iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" (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_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" ( identifier , number_literal , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x250)" * (cast_expression "(undefined4 *)(param_2 + 0x250)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x250)" ( (binary_expression "param_2 + 0x250" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                uVar3 = 0;\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" else (compound_statement "{\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" { (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3)" (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 "(iVar2,0x17,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);" (assignment_expression "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" identifier = (cast_expression "(undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x18),3)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal ))))) ;) (expression_statement "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar10 = PTR_LAB_003a88e0;" (assignment_expression "puVar10 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" if (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" ( identifier , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "param_2 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar11 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar11 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = param_2;" (assignment_expression "iVar2 = param_2" identifier = identifier) ;) (while_statement "while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" while (parenthesized_expression "(iVar13 = param_2, iVar11 != 0)" ( (comma_expression "iVar13 = param_2, iVar11 != 0" (assignment_expression "iVar13 = param_2" identifier = identifier) , (binary_expression "iVar11 != 0" identifier != number_literal)) )) (compound_statement "{\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" { (expression_statement "iVar11 = *(int *)(iVar13 + 0x3364);" (assignment_expression "iVar11 = *(int *)(iVar13 + 0x3364)" identifier = (pointer_expression "*(int *)(iVar13 + 0x3364)" * (cast_expression "(int *)(iVar13 + 0x3364)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x3364)" ( (binary_expression "iVar13 + 0x3364" identifier + number_literal) ))))) ;) (expression_statement "param_2 = iVar11;" (assignment_expression "param_2 = iVar11" identifier = identifier) ;) (expression_statement "iVar2 = iVar13;" (assignment_expression "iVar2 = iVar13" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(iVar2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(iVar2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" else (compound_statement "{\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" { (if_statement "if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar2 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar15 = *(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 "dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar23 = *(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 "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar24 = *(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 "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (while_statement "while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" while (parenthesized_expression "(iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" (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 "(iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" { (if_statement "if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x18) < 1)" ( (binary_expression "*(int *)(iVar2 + 0x18) < 1" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n                        iVar5 = 0;\n                      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" else (compound_statement "{\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "dVar19 = *(double *)(puVar1 + -0x5ae8);" (assignment_expression "dVar19 = *(double *)(puVar1 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar1 + -0x5ae8)" * (cast_expression "(double *)(puVar1 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5ae8)" ( (binary_expression "puVar1 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar20 = *(double *)(puVar1 + -0x5af0);" (assignment_expression "dVar20 = *(double *)(puVar1 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar1 + -0x5af0)" * (cast_expression "(double *)(puVar1 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5af0)" ( (binary_expression "puVar1 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);" (assignment_expression "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38)" identifier = (pointer_expression "*(float *)(PTR_s_courses_003a88ec + -0xe38)" * (cast_expression "(float *)(PTR_s_courses_003a88ec + -0xe38)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_courses_003a88ec + -0xe38)" ( (binary_expression "PTR_s_courses_003a88ec + -0xe38" identifier + number_literal) ))))) ;) (expression_statement "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar22 = *(double *)(puVar10 + 0x1400);" (assignment_expression "dVar22 = *(double *)(puVar10 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar10 + 0x1400)" * (cast_expression "(double *)(puVar10 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1400)" ( (binary_expression "puVar10 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (do_statement "do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));" do (compound_statement "{\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        }" { (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" identifier = (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar24)" ( (binary_expression "dVar16 < dVar24" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" identifier = (binary_expression "dVar16 + dVar22" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x14)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" identifier = (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar19)" ( (binary_expression "dVar16 < dVar19" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" identifier = (binary_expression "dVar16 + dVar22" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar7[1] = uVar6;" (assignment_expression "puVar7[1] = uVar6" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x20)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (expression_statement "puVar8 = puVar7 + 3;" (assignment_expression "puVar8 = puVar7 + 3" identifier = (binary_expression "puVar7 + 3" identifier + number_literal)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar23;" (assignment_expression "dVar16 = (double)fVar17 / dVar23" identifier = (binary_expression "(double)fVar17 / dVar23" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar19)" ( (binary_expression "dVar16 < dVar19" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar15;" (assignment_expression "dVar16 = dVar16 + dVar15" identifier = (binary_expression "dVar16 + dVar15" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar7[2] = uVar6;" (assignment_expression "puVar7[2] = uVar6" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4" identifier = (binary_expression "iVar5 + *(int *)(iVar2 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar2 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar2 + 0x2c0)" * (cast_expression "(int *)(iVar2 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c0)" ( (binary_expression "iVar2 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar9 < *(int *)(iVar2 + 0x18))" ( (binary_expression "iVar9 < *(int *)(iVar2 + 0x18)" identifier < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) ;) (expression_statement "iVar5 = (int)puVar8 - (int)puVar4;" (assignment_expression "iVar5 = (int)puVar8 - (int)puVar4" identifier = (binary_expression "(int)puVar8 - (int)puVar4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);" (assignment_expression "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" identifier = (call_expression "(*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" (parenthesized_expression "(*(code *)PTR_WriteBlob_003a9994)" ( (pointer_expression "*(code *)PTR_WriteBlob_003a9994" * (cast_expression "(code *)PTR_WriteBlob_003a9994" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,iVar5,puVar4)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;" if (parenthesized_expression "((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0))" ( (binary_expression "(iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" (parenthesized_expression "(iVar9 != iVar5)" ( (binary_expression "iVar9 != iVar5" identifier != identifier) )) || (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" ( (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 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_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x15c" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;" (assignment_expression "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13" identifier = (binary_expression "(uint)(uVar12 + 1 < uVar12) + iVar13" (call_expression "(uint)(uVar12 + 1 < uVar12)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 + 1 < uVar12)" ( (binary_expression "uVar12 + 1 < uVar12" (binary_expression "uVar12 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar2 + 0x1c) <= iVar11) break;" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) <= iVar11)" ( (binary_expression "*(int *)(iVar2 + 0x1c) <= iVar11" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) <= identifier) )) (break_statement "break;" break ;)) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(param_2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(param_2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) }))) }))) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar10 = PTR_UINT_003a8950 + -0x4f0;" (assignment_expression "puVar10 = PTR_UINT_003a8950 + -0x4f0" identifier = (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , identifier ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "puVar10 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar10 = PTR___assert_fail_003a9608;" (assignment_expression "puVar10 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) (expression_statement "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);" (assignment_expression "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" identifier = (call_expression "(**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" (parenthesized_expression "(**(code **)(puVar10 + 0x176118))" ( (pointer_expression "**(code **)(puVar10 + 0x176118)" * (pointer_expression "*(code **)(puVar10 + 0x176118)" * (cast_expression "(code **)(puVar10 + 0x176118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x176118)" ( (binary_expression "puVar10 + 0x176118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" ( (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" * (cast_expression "(int *)(puVar10 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175428)" ( (binary_expression "puVar10 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" * (cast_expression "(int *)(puVar10 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175428)" ( (binary_expression "puVar10 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar10 + 0x17548c) + -0x540" (pointer_expression "*(int *)(puVar10 + 0x17548c)" * (cast_expression "(int *)(puVar10 + 0x17548c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x17548c)" ( (binary_expression "puVar10 + 0x17548c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar11 = *(int *)(puVar10 + 0x175708);" (assignment_expression "iVar11 = *(int *)(puVar10 + 0x175708)" identifier = (pointer_expression "*(int *)(puVar10 + 0x175708)" * (cast_expression "(int *)(puVar10 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175708)" ( (binary_expression "puVar10 + 0x175708" identifier + number_literal) ))))) ;) (expression_statement "pcVar14 = *(code **)(puVar10 + 0x1759f8);" (assignment_expression "pcVar14 = *(code **)(puVar10 + 0x1759f8)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1759f8)" * (cast_expression "(code **)(puVar10 + 0x1759f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1759f8)" ( (binary_expression "puVar10 + 0x1759f8" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar11 + 0x28c0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;" (assignment_expression "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(puVar10 + 0x175708)" * (cast_expression "(int *)(puVar10 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175708)" ( (binary_expression "puVar10 + 0x175708" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar2);" (call_expression "(*pcVar14)(iVar2)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": 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 WriteHRZImage(ImageInfo *image_info,Image *image,ExceptionInfo *exception)\n\n{\n  Image *pIVar1;\n  Image *pIVar2;\n  undefined *puVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  _Image *p_Var8;\n  undefined1 uVar9;\n  undefined1 *puVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined *puVar13;\n  int iVar14;\n  uint uVar15;\n  int iVar16;\n  code *pcVar17;\n  double dVar18;\n  float fVar20;\n  double dVar19;\n  double dVar21;\n  double dVar22;\n  double dVar23;\n  float fVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  \n  if (image_info != (ImageInfo *)0x0) {\n    if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar4 = (**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540);\n  iVar14 = *(int *)(puVar13 + 0x175708);\n  pcVar17 = *(code **)(puVar13 + 0x1759f8);\n  *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1;\n  *(int *)(iVar4 + 0x18) = iVar14 + 0x28c0;\n  *(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98;\n  (*pcVar17)(iVar4);\n  return 0x810;\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType WriteHRZImage(ImageInfo *image_info,Image *image,ExceptionInfo *exception)\n\n{\n  Image *pIVar1;\n  Image *pIVar2;\n  undefined *puVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  _Image *p_Var8;\n  undefined1 uVar9;\n  undefined1 *puVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined *puVar13;\n  int iVar14;\n  uint uVar15;\n  int iVar16;\n  code *pcVar17;\n  double dVar18;\n  float fVar20;\n  double dVar19;\n  double dVar21;\n  double dVar22;\n  double dVar23;\n  float fVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  \n  if (image_info != (ImageInfo *)0x0) {\n    if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar4 = (**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540);\n  iVar14 = *(int *)(puVar13 + 0x175708);\n  pcVar17 = *(code **)(puVar13 + 0x1759f8);\n  *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1;\n  *(int *)(iVar4 + 0x18) = iVar14 + 0x28c0;\n  *(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98;\n  (*pcVar17)(iVar4);\n  return 0x810;\n}" type_identifier (function_declarator "WriteHRZImage(ImageInfo *image_info,Image *image,ExceptionInfo *exception)" identifier (parameter_list "(ImageInfo *image_info,Image *image,ExceptionInfo *exception)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  Image *pIVar1;\n  Image *pIVar2;\n  undefined *puVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  _Image *p_Var8;\n  undefined1 uVar9;\n  undefined1 *puVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  undefined *puVar13;\n  int iVar14;\n  uint uVar15;\n  int iVar16;\n  code *pcVar17;\n  double dVar18;\n  float fVar20;\n  double dVar19;\n  double dVar21;\n  double dVar22;\n  double dVar23;\n  float fVar24;\n  double dVar25;\n  double dVar26;\n  double dVar27;\n  \n  if (image_info != (ImageInfo *)0x0) {\n    if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar13 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar4 = (**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540);\n  iVar14 = *(int *)(puVar13 + 0x175708);\n  pcVar17 = *(code **)(puVar13 + 0x1759f8);\n  *(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1;\n  *(int *)(iVar4 + 0x18) = iVar14 + 0x28c0;\n  *(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98;\n  (*pcVar17)(iVar4);\n  return 0x810;\n}" { (declaration "Image *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "MagickBooleanType MVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "_Image *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "undefined1 uVar9;" type_identifier identifier ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "float fVar20;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "float fVar24;" primitive_type identifier ;) (declaration "double dVar25;" primitive_type identifier ;) (declaration "double dVar26;" primitive_type identifier ;) (declaration "double dVar27;" primitive_type identifier ;) (if_statement "if (image_info != (ImageInfo *)0x0) {\n    if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" if (parenthesized_expression "(image_info != (ImageInfo *)0x0)" ( (binary_expression "image_info != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" { (if_statement "if (image_info->signature == 0xabacadab) {\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" if (parenthesized_expression "(image_info->signature == 0xabacadab)" ( (binary_expression "image_info->signature == 0xabacadab" (field_expression "image_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" { (if_statement "if (image != (Image *)0x0) {\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }" if (parenthesized_expression "(image != (Image *)0x0)" ( (binary_expression "image != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar13 = PTR_UINT_003a8950;\n        if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);\n      }" { (expression_statement "puVar13 = PTR_UINT_003a8950;" (assignment_expression "puVar13 = PTR_UINT_003a8950" identifier = identifier) ;) (if_statement "if (image->signature == 0xabacadab) {\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }" if (parenthesized_expression "(image->signature == 0xabacadab)" ( (binary_expression "image->signature == 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }\n          if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar13 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);\n        }" { (if_statement "if (image->debug != MagickFalse) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);\n          }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,image->filename)" ( number_literal , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (exception != (ExceptionInfo *)0x0) {\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" if (parenthesized_expression "(exception != (ExceptionInfo *)0x0)" ( (binary_expression "exception != (ExceptionInfo *)0x0" identifier != (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" { (if_statement "if (exception->signature == 0xabacadab) {\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }" if (parenthesized_expression "(exception->signature == 0xabacadab)" ( (binary_expression "exception->signature == 0xabacadab" (field_expression "exception->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n              iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);\n              if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }\n              return MVar5;\n            }" { (expression_statement "iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception);" (assignment_expression "iVar4 = (*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(image_info,image,4,exception)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,image,4,exception)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)) {\n                MVar5 = MagickFalse;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }" if (parenthesized_expression "((iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0))" ( (binary_expression "(iVar4 == 0) ||\n                 (iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                                    (image,0x100,0xf0,image->filter,exception)" (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,0x100,0xf0,image->filter,exception)" ( identifier , number_literal , number_literal , (field_expression "image->filter" identifier -> field_identifier) , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                MVar5 = MagickFalse;\n              }" { (expression_statement "MVar5 = MagickFalse;" (assignment_expression "MVar5 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }" else (compound_statement "{\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);\n                puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);\n                puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar13 = PTR_LAB_003a88e0;\n                if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }\n              }" { (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar4,0x17,exception)" (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,0x17,exception)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3);" (assignment_expression "puVar6 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3)" identifier = (cast_expression "(undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar4 + 0x18),3)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar4 + 0x18),3)" ( (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 ))))) ;) (expression_statement "puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar3 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar13 = PTR_LAB_003a88e0;" (assignment_expression "puVar13 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (puVar6 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\n                }\n                else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }" if (parenthesized_expression "(puVar6 == (undefined1 *)0x0)" ( (binary_expression "puVar6 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );\n                  p_Var8 = (_Image *)image_info->adjoin;\n                  pIVar2 = image;\n                  while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(pIVar2);\n                  MVar5 = MagickFalse;\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 "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            );" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            )" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,\n                             400,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,image->filename\n                            )" ( identifier , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (expression_statement "p_Var8 = (_Image *)image_info->adjoin;" (assignment_expression "p_Var8 = (_Image *)image_info->adjoin" identifier = (cast_expression "(_Image *)image_info->adjoin" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image_info->adjoin" identifier -> field_identifier))) ;) (expression_statement "pIVar2 = image;" (assignment_expression "pIVar2 = image" identifier = identifier) ;) (while_statement "while (pIVar1 = image, p_Var8 != (_Image *)0x0) {\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }" while (parenthesized_expression "(pIVar1 = image, p_Var8 != (_Image *)0x0)" ( (comma_expression "pIVar1 = image, p_Var8 != (_Image *)0x0" (assignment_expression "pIVar1 = image" identifier = identifier) , (binary_expression "p_Var8 != (_Image *)0x0" identifier != (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n                    p_Var8 = pIVar1->previous;\n                    image = p_Var8;\n                    pIVar2 = pIVar1;\n                  }" { (expression_statement "p_Var8 = pIVar1->previous;" (assignment_expression "p_Var8 = pIVar1->previous" identifier = (field_expression "pIVar1->previous" identifier -> field_identifier)) ;) (expression_statement "image = p_Var8;" (assignment_expression "image = p_Var8" identifier = identifier) ;) (expression_statement "pIVar2 = pIVar1;" (assignment_expression "pIVar2 = pIVar1" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(pIVar2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(pIVar2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar2)" ( identifier ))) ;) (expression_statement "MVar5 = MagickFalse;" (assignment_expression "MVar5 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }" else (compound_statement "{\n                  if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar4);\n                  (*(code *)PTR_CloseBlob_003a9688)(image);\n                  MVar5 = MagickTrue;\n                }" { (if_statement "if (0 < *(int *)(iVar4 + 0x1c)) {\n                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\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                    iVar16 = 0;\n                    iVar14 = 0;\n                    dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar15 = 0;\n                    while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }\n                  }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar18 = *(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 "dVar26 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar26 = *(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 "dVar27 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar27 = *(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 "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (while_statement "while (iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0) {\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }" while (parenthesized_expression "(iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0)" ( (comma_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception), iVar7 != 0" (assignment_expression "iVar7 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception)" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar4,0,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception)" (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,iVar14,*(undefined4 *)(iVar4 + 0x18),1,\n                                              exception)" ( 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 )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) )) (compound_statement "{\n                      if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }\n                      iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);\n                      if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;\n                      iVar14 = iVar14 + 1;\n                      iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;\n                      uVar15 = uVar15 + 1;\n                      if (*(int *)(iVar4 + 0x1c) <= iVar14) break;\n                    }" { (if_statement "if (*(int *)(iVar4 + 0x18) < 1) {\n                        iVar7 = 0;\n                      }\n                      else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }" if (parenthesized_expression "(*(int *)(iVar4 + 0x18) < 1)" ( (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                        iVar7 = 0;\n                      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }" else (compound_statement "{\n                        iVar12 = 0;\n                        dVar22 = *(double *)(puVar3 + -0x5ae8);\n                        dVar23 = *(double *)(puVar3 + -0x5af0);\n                        fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar25 = *(double *)(puVar13 + 0x1400);\n                        puVar10 = puVar6;\n                        do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));\n                        iVar7 = (int)puVar11 - (int)puVar6;\n                      }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "dVar22 = *(double *)(puVar3 + -0x5ae8);" (assignment_expression "dVar22 = *(double *)(puVar3 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar3 + -0x5ae8)" * (cast_expression "(double *)(puVar3 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x5ae8)" ( (binary_expression "puVar3 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar23 = *(double *)(puVar3 + -0x5af0);" (assignment_expression "dVar23 = *(double *)(puVar3 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar3 + -0x5af0)" * (cast_expression "(double *)(puVar3 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x5af0)" ( (binary_expression "puVar3 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38);" (assignment_expression "fVar24 = *(float *)(PTR_s_courses_003a88ec + -0xe38)" identifier = (pointer_expression "*(float *)(PTR_s_courses_003a88ec + -0xe38)" * (cast_expression "(float *)(PTR_s_courses_003a88ec + -0xe38)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_courses_003a88ec + -0xe38)" ( (binary_expression "PTR_s_courses_003a88ec + -0xe38" identifier + number_literal) ))))) ;) (expression_statement "dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar21 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar25 = *(double *)(puVar13 + 0x1400);" (assignment_expression "dVar25 = *(double *)(puVar13 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar13 + 0x1400)" * (cast_expression "(double *)(puVar13 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x1400)" ( (binary_expression "puVar13 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = puVar6;" (assignment_expression "puVar10 = puVar6" identifier = identifier) ;) (do_statement "do {\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        } while (iVar12 < *(int *)(iVar4 + 0x18));" do (compound_statement "{\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          *puVar10 = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[1] = uVar9;\n                          fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;\n                          puVar11 = puVar10 + 3;\n                          if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }\n                          puVar10[2] = uVar9;\n                          iVar12 = iVar12 + 1;\n                          iVar7 = iVar7 + *(int *)(iVar4 + 0x2c0) * 4;\n                          puVar10 = puVar11;\n                        }" { (expression_statement "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24;" (assignment_expression "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24" identifier = (binary_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 8) * 4) *\n                                   fVar24" (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)) )))) * identifier)) ;) (if_statement "if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar20 <= 0.0)" ( (binary_expression "fVar20 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar9 = 0;\n                          }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" { (expression_statement "dVar19 = (double)fVar20 / dVar23;" (assignment_expression "dVar19 = (double)fVar20 / dVar23" identifier = (binary_expression "(double)fVar20 / dVar23" (cast_expression "(double)fVar20" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar19 < dVar27) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }" if (parenthesized_expression "(dVar19 < dVar27)" ( (binary_expression "dVar19 < dVar27" identifier < identifier) )) (compound_statement "{\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }" { (expression_statement "dVar19 = dVar19 + dVar25;" (assignment_expression "dVar19 = dVar19 + dVar25" identifier = (binary_expression "dVar19 + dVar25" identifier + identifier)) ;) (if_statement "if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" if (parenthesized_expression "(dVar19 < dVar21)" ( (binary_expression "dVar19 < dVar21" identifier < identifier) )) (compound_statement "{\n                                uVar9 = (undefined1)(int)dVar19;\n                              }" { (expression_statement "uVar9 = (undefined1)(int)dVar19;" (assignment_expression "uVar9 = (undefined1)(int)dVar19" identifier = (cast_expression "(undefined1)(int)dVar19" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" else (compound_statement "{\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" { (expression_statement "uVar9 = (undefined1)(int)(dVar19 - dVar21);" (assignment_expression "uVar9 = (undefined1)(int)(dVar19 - dVar21)" identifier = (call_expression "(undefined1)(int)(dVar19 - dVar21)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar19 - dVar21)" ( (binary_expression "dVar19 - dVar21" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar9 = 0xff;\n                            }" else (compound_statement "{\n                              uVar9 = 0xff;\n                            }" { (expression_statement "uVar9 = 0xff;" (assignment_expression "uVar9 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "*puVar10 = uVar9;" (assignment_expression "*puVar10 = uVar9" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24;" (assignment_expression "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24" identifier = (binary_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x14) * 4)\n                                   * fVar24" (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)) )))) * identifier)) ;) (if_statement "if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar20 <= 0.0)" ( (binary_expression "fVar20 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar9 = 0;\n                          }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar19 = (double)fVar20 / dVar23;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" { (expression_statement "dVar19 = (double)fVar20 / dVar23;" (assignment_expression "dVar19 = (double)fVar20 / dVar23" identifier = (binary_expression "(double)fVar20 / dVar23" (cast_expression "(double)fVar20" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }" if (parenthesized_expression "(dVar19 < dVar22)" ( (binary_expression "dVar19 < dVar22" identifier < identifier) )) (compound_statement "{\n                              dVar19 = dVar19 + dVar25;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }" { (expression_statement "dVar19 = dVar19 + dVar25;" (assignment_expression "dVar19 = dVar19 + dVar25" identifier = (binary_expression "dVar19 + dVar25" identifier + identifier)) ;) (if_statement "if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" if (parenthesized_expression "(dVar19 < dVar21)" ( (binary_expression "dVar19 < dVar21" identifier < identifier) )) (compound_statement "{\n                                uVar9 = (undefined1)(int)dVar19;\n                              }" { (expression_statement "uVar9 = (undefined1)(int)dVar19;" (assignment_expression "uVar9 = (undefined1)(int)dVar19" identifier = (cast_expression "(undefined1)(int)dVar19" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" else (compound_statement "{\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" { (expression_statement "uVar9 = (undefined1)(int)(dVar19 - dVar21);" (assignment_expression "uVar9 = (undefined1)(int)(dVar19 - dVar21)" identifier = (call_expression "(undefined1)(int)(dVar19 - dVar21)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar19 - dVar21)" ( (binary_expression "dVar19 - dVar21" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar9 = 0xff;\n                            }" else (compound_statement "{\n                              uVar9 = 0xff;\n                            }" { (expression_statement "uVar9 = 0xff;" (assignment_expression "uVar9 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar10[1] = uVar9;" (assignment_expression "puVar10[1] = uVar9" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24;" (assignment_expression "fVar20 = *(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24" identifier = (binary_expression "*(float *)(iVar7 + *(int *)(*(int *)(iVar4 + 0x2d0) + 0x20) * 4)\n                                   * fVar24" (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)) )))) * identifier)) ;) (expression_statement "puVar11 = puVar10 + 3;" (assignment_expression "puVar11 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (if_statement "if (fVar20 <= 0.0) {\n                            uVar9 = 0;\n                          }\n                          else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar20 <= 0.0)" ( (binary_expression "fVar20 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar9 = 0;\n                          }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar19 = (double)fVar20 / dVar26;\n                            if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }\n                          }" { (expression_statement "dVar19 = (double)fVar20 / dVar26;" (assignment_expression "dVar19 = (double)fVar20 / dVar26" identifier = (binary_expression "(double)fVar20 / dVar26" (cast_expression "(double)fVar20" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar19 < dVar22) {\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }\n                            else {\n                              uVar9 = 0xff;\n                            }" if (parenthesized_expression "(dVar19 < dVar22)" ( (binary_expression "dVar19 < dVar22" identifier < identifier) )) (compound_statement "{\n                              dVar19 = dVar19 + dVar18;\n                              if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }\n                            }" { (expression_statement "dVar19 = dVar19 + dVar18;" (assignment_expression "dVar19 = dVar19 + dVar18" identifier = (binary_expression "dVar19 + dVar18" identifier + identifier)) ;) (if_statement "if (dVar19 < dVar21) {\n                                uVar9 = (undefined1)(int)dVar19;\n                              }\n                              else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" if (parenthesized_expression "(dVar19 < dVar21)" ( (binary_expression "dVar19 < dVar21" identifier < identifier) )) (compound_statement "{\n                                uVar9 = (undefined1)(int)dVar19;\n                              }" { (expression_statement "uVar9 = (undefined1)(int)dVar19;" (assignment_expression "uVar9 = (undefined1)(int)dVar19" identifier = (cast_expression "(undefined1)(int)dVar19" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" else (compound_statement "{\n                                uVar9 = (undefined1)(int)(dVar19 - dVar21);\n                              }" { (expression_statement "uVar9 = (undefined1)(int)(dVar19 - dVar21);" (assignment_expression "uVar9 = (undefined1)(int)(dVar19 - dVar21)" identifier = (call_expression "(undefined1)(int)(dVar19 - dVar21)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar19 - dVar21)" ( (binary_expression "dVar19 - dVar21" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar9 = 0xff;\n                            }" else (compound_statement "{\n                              uVar9 = 0xff;\n                            }" { (expression_statement "uVar9 = 0xff;" (assignment_expression "uVar9 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar10[2] = uVar9;" (assignment_expression "puVar10[2] = uVar9" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" 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))) ;) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) }) while (parenthesized_expression "(iVar12 < *(int *)(iVar4 + 0x18))" ( (binary_expression "iVar12 < *(int *)(iVar4 + 0x18)" identifier < (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) ))))) )) ;) (expression_statement "iVar7 = (int)puVar11 - (int)puVar6;" (assignment_expression "iVar7 = (int)puVar11 - (int)puVar6" identifier = (binary_expression "(int)puVar11 - (int)puVar6" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6);" (assignment_expression "iVar12 = (*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6)" identifier = (call_expression "(*(code *)PTR_WriteBlob_003a9994)(image,iVar7,puVar6)" (parenthesized_expression "(*(code *)PTR_WriteBlob_003a9994)" ( (pointer_expression "*(code *)PTR_WriteBlob_003a9994" * (cast_expression "(code *)PTR_WriteBlob_003a9994" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image,iVar7,puVar6)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)) break;" if (parenthesized_expression "((iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0))" ( (binary_expression "(iVar12 != iVar7) ||\n                         (iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)" (parenthesized_expression "(iVar12 != iVar7)" ( (binary_expression "iVar12 != iVar7" identifier != identifier) )) || (parenthesized_expression "(iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0)" ( (comma_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c)), iVar7 == 0" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,0,\n                                             *(undefined4 *)(iVar4 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,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 "(image,PTR_s_courses_003a88ec + -0x15c,iVar16,uVar15,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) )))) )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16;" (assignment_expression "iVar16 = (uint)(uVar15 + 1 < uVar15) + iVar16" identifier = (binary_expression "(uint)(uVar15 + 1 < uVar15) + iVar16" (call_expression "(uint)(uVar15 + 1 < uVar15)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar15 + 1 < uVar15)" ( (binary_expression "uVar15 + 1 < uVar15" (binary_expression "uVar15 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) <= iVar14) break;" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) <= iVar14)" ( (binary_expression "*(int *)(iVar4 + 0x1c) <= iVar14" (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) )) (break_statement "break;" break ;)) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( 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 "(*(code *)PTR_CloseBlob_003a9688)(image);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(image)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image)" ( identifier ))) ;) (expression_statement "MVar5 = MagickTrue;" (assignment_expression "MVar5 = MagickTrue" identifier = identifier) ;) }))) }))) (return_statement "return MVar5;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar13 = PTR_UINT_003a8950 + -0x4f0;" (assignment_expression "puVar13 = PTR_UINT_003a8950 + -0x4f0" identifier = (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar13)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , identifier ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar13 + -0x4f0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "puVar13 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar13 = PTR___assert_fail_003a9608;" (assignment_expression "puVar13 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) (expression_statement "iVar4 = (**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540);" (assignment_expression "iVar4 = (**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540)" identifier = (call_expression "(**(code **)(puVar13 + 0x176118))\n                    (*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540)" (parenthesized_expression "(**(code **)(puVar13 + 0x176118))" ( (pointer_expression "**(code **)(puVar13 + 0x176118)" * (pointer_expression "*(code **)(puVar13 + 0x176118)" * (cast_expression "(code **)(puVar13 + 0x176118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x176118)" ( (binary_expression "puVar13 + 0x176118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar13 + 0x175428) + -0x4044,*(int *)(puVar13 + 0x175428) + -0x4044,\n                     *(int *)(puVar13 + 0x17548c) + -0x540)" ( (binary_expression "*(int *)(puVar13 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar13 + 0x175428)" * (cast_expression "(int *)(puVar13 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x175428)" ( (binary_expression "puVar13 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar13 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar13 + 0x175428)" * (cast_expression "(int *)(puVar13 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x175428)" ( (binary_expression "puVar13 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar13 + 0x17548c) + -0x540" (pointer_expression "*(int *)(puVar13 + 0x17548c)" * (cast_expression "(int *)(puVar13 + 0x17548c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x17548c)" ( (binary_expression "puVar13 + 0x17548c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar14 = *(int *)(puVar13 + 0x175708);" (assignment_expression "iVar14 = *(int *)(puVar13 + 0x175708)" identifier = (pointer_expression "*(int *)(puVar13 + 0x175708)" * (cast_expression "(int *)(puVar13 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x175708)" ( (binary_expression "puVar13 + 0x175708" identifier + number_literal) ))))) ;) (expression_statement "pcVar17 = *(code **)(puVar13 + 0x1759f8);" (assignment_expression "pcVar17 = *(code **)(puVar13 + 0x1759f8)" identifier = (pointer_expression "*(code **)(puVar13 + 0x1759f8)" * (cast_expression "(code **)(puVar13 + 0x1759f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x1759f8)" ( (binary_expression "puVar13 + 0x1759f8" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar4 + 0x2c) = *(uint *)(iVar4 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar4 + 0x2c) = *(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) )))) = (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)) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar14 + 0x28c0;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar14 + 0x28c0" (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 "iVar14 + 0x28c0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98;" (assignment_expression "*(int *)(iVar4 + 0x1c) = *(int *)(puVar13 + 0x175708) + 0x2e98" (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 "*(int *)(puVar13 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(puVar13 + 0x175708)" * (cast_expression "(int *)(puVar13 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x175708)" ( (binary_expression "puVar13 + 0x175708" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar17)(iVar4);" (call_expression "(*pcVar17)(iVar4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00232e98(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}\n\n" (function_definition "undefined4 FUN_00232e98(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" type_identifier (function_declarator "FUN_00232e98(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "float fVar17;" primitive_type identifier ;) (declaration "double dVar16;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "float fVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "double dVar23;" primitive_type identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" { (if_statement "if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" { (expression_statement "puVar10 = PTR_UINT_003a8950;" (assignment_expression "puVar10 = PTR_UINT_003a8950" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" if (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" * (cast_expression "(int *)(param_2 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x336c)" ( (binary_expression "param_2 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" { (if_statement "if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" if (parenthesized_expression "(*(int *)(param_2 + 0x3350) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3350) != 0" (pointer_expression "*(int *)(param_2 + 0x3350)" * (cast_expression "(int *)(param_2 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3350)" ( (binary_expression "param_2 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" ( number_literal , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "param_2 + 0x340" identifier + number_literal) ))) ;) })) (if_statement "if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" { (if_statement "if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" if (parenthesized_expression "(*(int *)(param_3 + 0x1c) == -0x54535255)" ( (binary_expression "*(int *)(param_3 + 0x1c) == -0x54535255" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" { (expression_statement "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,4,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" if (parenthesized_expression "((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0))" ( (binary_expression "(iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" identifier = (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" (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_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" ( identifier , number_literal , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x250)" * (cast_expression "(undefined4 *)(param_2 + 0x250)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x250)" ( (binary_expression "param_2 + 0x250" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                uVar3 = 0;\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" else (compound_statement "{\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" { (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3)" (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 "(iVar2,0x17,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);" (assignment_expression "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" identifier = (cast_expression "(undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x18),3)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal ))))) ;) (expression_statement "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "puVar10 = PTR_LAB_003a88e0;" (assignment_expression "puVar10 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" if (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" ( identifier , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x500" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "param_2 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar11 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar11 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = param_2;" (assignment_expression "iVar2 = param_2" identifier = identifier) ;) (while_statement "while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" while (parenthesized_expression "(iVar13 = param_2, iVar11 != 0)" ( (comma_expression "iVar13 = param_2, iVar11 != 0" (assignment_expression "iVar13 = param_2" identifier = identifier) , (binary_expression "iVar11 != 0" identifier != number_literal)) )) (compound_statement "{\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" { (expression_statement "iVar11 = *(int *)(iVar13 + 0x3364);" (assignment_expression "iVar11 = *(int *)(iVar13 + 0x3364)" identifier = (pointer_expression "*(int *)(iVar13 + 0x3364)" * (cast_expression "(int *)(iVar13 + 0x3364)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x3364)" ( (binary_expression "iVar13 + 0x3364" identifier + number_literal) ))))) ;) (expression_statement "param_2 = iVar11;" (assignment_expression "param_2 = iVar11" identifier = identifier) ;) (expression_statement "iVar2 = iVar13;" (assignment_expression "iVar2 = iVar13" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(iVar2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(iVar2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" else (compound_statement "{\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" { (if_statement "if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 0x1c))" ( (binary_expression "0 < *(int *)(iVar2 + 0x1c)" number_literal < (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar15 = *(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 "dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar23 = *(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 "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar24 = *(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 "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (while_statement "while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" while (parenthesized_expression "(iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" identifier = (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" (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 "(iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) )) (compound_statement "{\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" { (if_statement "if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x18) < 1)" ( (binary_expression "*(int *)(iVar2 + 0x18) < 1" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n                        iVar5 = 0;\n                      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" else (compound_statement "{\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "dVar19 = *(double *)(puVar1 + -0x5ae8);" (assignment_expression "dVar19 = *(double *)(puVar1 + -0x5ae8)" identifier = (pointer_expression "*(double *)(puVar1 + -0x5ae8)" * (cast_expression "(double *)(puVar1 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5ae8)" ( (binary_expression "puVar1 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "dVar20 = *(double *)(puVar1 + -0x5af0);" (assignment_expression "dVar20 = *(double *)(puVar1 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar1 + -0x5af0)" * (cast_expression "(double *)(puVar1 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5af0)" ( (binary_expression "puVar1 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);" (assignment_expression "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38)" identifier = (pointer_expression "*(float *)(PTR_s_courses_003a88ec + -0xe38)" * (cast_expression "(float *)(PTR_s_courses_003a88ec + -0xe38)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_courses_003a88ec + -0xe38)" ( (binary_expression "PTR_s_courses_003a88ec + -0xe38" identifier + number_literal) ))))) ;) (expression_statement "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "dVar22 = *(double *)(puVar10 + 0x1400);" (assignment_expression "dVar22 = *(double *)(puVar10 + 0x1400)" identifier = (pointer_expression "*(double *)(puVar10 + 0x1400)" * (cast_expression "(double *)(puVar10 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1400)" ( (binary_expression "puVar10 + 0x1400" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (do_statement "do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));" do (compound_statement "{\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        }" { (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 8)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" identifier = (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar24)" ( (binary_expression "dVar16 < dVar24" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" identifier = (binary_expression "dVar16 + dVar22" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x14)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" identifier = (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar19)" ( (binary_expression "dVar16 < dVar19" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" identifier = (binary_expression "dVar16 + dVar22" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar7[1] = uVar6;" (assignment_expression "puVar7[1] = uVar6" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" identifier = (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" ( (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" identifier + (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x20)" ( (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2d0)" * (cast_expression "(int *)(iVar2 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2d0)" ( (binary_expression "iVar2 + 0x2d0" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) * identifier)) ;) (expression_statement "puVar8 = puVar7 + 3;" (assignment_expression "puVar8 = puVar7 + 3" identifier = (binary_expression "puVar7 + 3" identifier + number_literal)) ;) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" if (parenthesized_expression "(fVar17 <= 0.0)" ( (binary_expression "fVar17 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n                            uVar6 = 0;\n                          }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" else (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" { (expression_statement "dVar16 = (double)fVar17 / dVar23;" (assignment_expression "dVar16 = (double)fVar17 / dVar23" identifier = (binary_expression "(double)fVar17 / dVar23" (cast_expression "(double)fVar17" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" if (parenthesized_expression "(dVar16 < dVar19)" ( (binary_expression "dVar16 < dVar19" identifier < identifier) )) (compound_statement "{\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" { (expression_statement "dVar16 = dVar16 + dVar15;" (assignment_expression "dVar16 = dVar16 + dVar15" identifier = (binary_expression "dVar16 + dVar15" identifier + identifier)) ;) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" if (parenthesized_expression "(dVar16 < dVar18)" ( (binary_expression "dVar16 < dVar18" identifier < identifier) )) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" { (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" identifier = (cast_expression "(undefined1)(int)dVar16" ( (type_descriptor "undefined1" type_identifier) ) (cast_expression "(int)dVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" else (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" { (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" identifier = (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar16 - dVar18)" ( (binary_expression "dVar16 - dVar18" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" else (compound_statement "{\n                              uVar6 = 0xff;\n                            }" { (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" identifier = number_literal) ;) }))) }))) (expression_statement "puVar7[2] = uVar6;" (assignment_expression "puVar7[2] = uVar6" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4" identifier = (binary_expression "iVar5 + *(int *)(iVar2 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar2 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar2 + 0x2c0)" * (cast_expression "(int *)(iVar2 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c0)" ( (binary_expression "iVar2 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar9 < *(int *)(iVar2 + 0x18))" ( (binary_expression "iVar9 < *(int *)(iVar2 + 0x18)" identifier < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) ;) (expression_statement "iVar5 = (int)puVar8 - (int)puVar4;" (assignment_expression "iVar5 = (int)puVar8 - (int)puVar4" identifier = (binary_expression "(int)puVar8 - (int)puVar4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);" (assignment_expression "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" identifier = (call_expression "(*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" (parenthesized_expression "(*(code *)PTR_WriteBlob_003a9994)" ( (pointer_expression "*(code *)PTR_WriteBlob_003a9994" * (cast_expression "(code *)PTR_WriteBlob_003a9994" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,iVar5,puVar4)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;" if (parenthesized_expression "((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0))" ( (binary_expression "(iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" (parenthesized_expression "(iVar9 != iVar5)" ( (binary_expression "iVar9 != iVar5" identifier != identifier) )) || (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" ( (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 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_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x15c" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;" (assignment_expression "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13" identifier = (binary_expression "(uint)(uVar12 + 1 < uVar12) + iVar13" (call_expression "(uint)(uVar12 + 1 < uVar12)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 + 1 < uVar12)" ( (binary_expression "uVar12 + 1 < uVar12" (binary_expression "uVar12 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar2 + 0x1c) <= iVar11) break;" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) <= iVar11)" ( (binary_expression "*(int *)(iVar2 + 0x1c) <= iVar11" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) <= identifier) )) (break_statement "break;" break ;)) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(param_2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(param_2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) }))) }))) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar10 = PTR_UINT_003a8950 + -0x4f0;" (assignment_expression "puVar10 = PTR_UINT_003a8950 + -0x4f0" identifier = (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , identifier ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "puVar10 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) })) (expression_statement "puVar10 = PTR___assert_fail_003a9608;" (assignment_expression "puVar10 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_UINT_003a8950 + -0x550" identifier + number_literal) , number_literal , (binary_expression "PTR_UINT_003a8950 + -0x4f0" identifier + number_literal) ))) ;) (expression_statement "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);" (assignment_expression "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" identifier = (call_expression "(**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" (parenthesized_expression "(**(code **)(puVar10 + 0x176118))" ( (pointer_expression "**(code **)(puVar10 + 0x176118)" * (pointer_expression "*(code **)(puVar10 + 0x176118)" * (cast_expression "(code **)(puVar10 + 0x176118)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x176118)" ( (binary_expression "puVar10 + 0x176118" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" ( (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" * (cast_expression "(int *)(puVar10 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175428)" ( (binary_expression "puVar10 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" * (cast_expression "(int *)(puVar10 + 0x175428)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175428)" ( (binary_expression "puVar10 + 0x175428" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar10 + 0x17548c) + -0x540" (pointer_expression "*(int *)(puVar10 + 0x17548c)" * (cast_expression "(int *)(puVar10 + 0x17548c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x17548c)" ( (binary_expression "puVar10 + 0x17548c" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar11 = *(int *)(puVar10 + 0x175708);" (assignment_expression "iVar11 = *(int *)(puVar10 + 0x175708)" identifier = (pointer_expression "*(int *)(puVar10 + 0x175708)" * (cast_expression "(int *)(puVar10 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175708)" ( (binary_expression "puVar10 + 0x175708" identifier + number_literal) ))))) ;) (expression_statement "pcVar14 = *(code **)(puVar10 + 0x1759f8);" (assignment_expression "pcVar14 = *(code **)(puVar10 + 0x1759f8)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1759f8)" * (cast_expression "(code **)(puVar10 + 0x1759f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1759f8)" ( (binary_expression "puVar10 + 0x1759f8" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar11 + 0x28c0" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;" (assignment_expression "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(puVar10 + 0x175708)" * (cast_expression "(int *)(puVar10 + 0x175708)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x175708)" ( (binary_expression "puVar10 + 0x175708" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar14)(iVar2);" (call_expression "(*pcVar14)(iVar2)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (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 , LIT , LIT , (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 (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (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 , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (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 = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != 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 = 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 ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 = 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 = LIT) ;) (while_statement while (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 , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (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) ))))) ;) (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 = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (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)) )))) * IDENT)) ;) (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 = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT - IDENT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (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)) )))) * IDENT)) ;) (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 = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT - IDENT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (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)) )))) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT - IDENT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) 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 = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != 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 , (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT == LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (break_statement break ;)) })) })) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (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 ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (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 ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (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 ( (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) , (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 * (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00232e98(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" (type_identifier "undefined4") (function_declarator "FUN_00232e98(int param_1,int param_2,int param_3)" (identifier "FUN_00232e98") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  undefined *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  code *pcVar14;\n  double dVar15;\n  float fVar17;\n  double dVar16;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  double dVar22;\n  double dVar23;\n  double dVar24;\n  \n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }\n  puVar10 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);\n  iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);\n  iVar11 = *(int *)(puVar10 + 0x175708);\n  pcVar14 = *(code **)(puVar10 + 0x1759f8);\n  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;\n  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;\n  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;\n  (*pcVar14)(iVar2);\n  return 0x810;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined1 uVar6;" (type_identifier "undefined1") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "double dVar15;" (primitive_type "double") (identifier "dVar15") (; ";")) (declaration "float fVar17;" (primitive_type "float") (identifier "fVar17") (; ";")) (declaration "double dVar16;" (primitive_type "double") (identifier "dVar16") (; ";")) (declaration "double dVar18;" (primitive_type "double") (identifier "dVar18") (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "double dVar20;" (primitive_type "double") (identifier "dVar20") (; ";")) (declaration "float fVar21;" (primitive_type "float") (identifier "fVar21") (; ";")) (declaration "double dVar22;" (primitive_type "double") (identifier "dVar22") (; ";")) (declaration "double dVar23;" (primitive_type "double") (identifier "dVar23") (; ";")) (declaration "double dVar24;" (primitive_type "double") (identifier "dVar24") (; ";")) (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3214) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3214) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" (* "*") (cast_expression "(int *)(param_1 + 0x3214)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3214)" (( "(") (binary_expression "param_1 + 0x3214" (identifier "param_1") (+ "+") (number_literal "0x3214")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);\n    }" ({ "{") (if_statement "if (param_2 != 0) {\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar10 = PTR_UINT_003a8950;\n        if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }\n        (*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);\n      }" ({ "{") (expression_statement "puVar10 = PTR_UINT_003a8950;" (assignment_expression "puVar10 = PTR_UINT_003a8950" (identifier "puVar10") (= "=") (identifier "PTR_UINT_003a8950")) (; ";")) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" (* "*") (cast_expression "(int *)(param_2 + 0x336c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x336c)" (( "(") (binary_expression "param_2 + 0x336c" (identifier "param_2") (+ "+") (number_literal "0x336c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n          if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }\n          if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }\n          puVar10 = PTR_UINT_003a8950 + -0x4f0;\n          (*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);\n        }" ({ "{") (if_statement "if (*(int *)(param_2 + 0x3350) != 0) {\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x3350) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x3350) != 0" (pointer_expression "*(int *)(param_2 + 0x3350)" (* "*") (cast_expression "(int *)(param_2 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3350)" (( "(") (binary_expression "param_2 + 0x3350" (identifier "param_2") (+ "+") (number_literal "0x3350")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);\n          }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003a91e0"))) () ")")) (argument_list "(0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,\n                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x500" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x500")) (, ",") (number_literal "0x131") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x62ac")) (, ",") (binary_expression "param_2 + 0x340" (identifier "param_2") (+ "+") (number_literal "0x340")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 != 0) {\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }\n            (*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);\n          }" ({ "{") (if_statement "if (*(int *)(param_3 + 0x1c) == -0x54535255) {\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x1c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_3 + 0x1c) == -0x54535255" (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);\n              if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }\n              return uVar3;\n            }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" (( "(") (pointer_expression "*(code *)PTR_OpenBlob_003a924c" (* "*") (cast_expression "(code *)PTR_OpenBlob_003a924c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OpenBlob_003a924c"))) () ")")) (argument_list "(param_1,param_2,4,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "4") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)) {\n                uVar3 = 0;\n              }\n              else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" (if "if") (parenthesized_expression "((iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0))" (( "(") (binary_expression "(iVar2 == 0) ||\n                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),\n                 iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_ResizeImage_003a95ec)\n                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" (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_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3)" (( "(") (identifier "param_2") (, ",") (number_literal "0x100") (, ",") (number_literal "0xf0") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x250)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x250)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x250)" (( "(") (binary_expression "param_2 + 0x250" (identifier "param_2") (+ "+") (number_literal "0x250")) () ")")))) (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                uVar3 = 0;\n              }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" (else "else") (compound_statement "{\n                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);\n                puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);\n                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n                puVar10 = PTR_LAB_003a88e0;\n                if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }\n              }" ({ "{") (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3)" (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 "(iVar2,0x17,param_3)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x17") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3);" (assignment_expression "puVar4 = (undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)\n                         (*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                   (*(undefined4 *)(iVar2 + 0x18),3)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_003a950c"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x18),3)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "3") () ")"))))) (; ";")) (expression_statement "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" (identifier "puVar1") (= "=") (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8")) (; ";")) (expression_statement "puVar10 = PTR_LAB_003a88e0;" (assignment_expression "puVar10 = PTR_LAB_003a88e0" (identifier "puVar10") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }\n                else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" (if "if") (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined1 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);\n                  iVar11 = *(int *)(param_1 + 0xc);\n                  iVar2 = param_2;\n                  while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }\n                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);\n                  uVar3 = 0;\n                }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400\n                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x500" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x500")) (, ",") (number_literal "0x143") (, ",") (number_literal "400") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x16f8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x16f8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "param_2 + 0x340" (identifier "param_2") (+ "+") (number_literal "0x340")) () ")"))) (; ";")) (expression_statement "iVar11 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar11 = *(int *)(param_1 + 0xc)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar2 = param_2;" (assignment_expression "iVar2 = param_2" (identifier "iVar2") (= "=") (identifier "param_2")) (; ";")) (while_statement "while (iVar13 = param_2, iVar11 != 0) {\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" (while "while") (parenthesized_expression "(iVar13 = param_2, iVar11 != 0)" (( "(") (comma_expression "iVar13 = param_2, iVar11 != 0" (assignment_expression "iVar13 = param_2" (identifier "iVar13") (= "=") (identifier "param_2")) (, ",") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n                    iVar11 = *(int *)(iVar13 + 0x3364);\n                    param_2 = iVar11;\n                    iVar2 = iVar13;\n                  }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar13 + 0x3364);" (assignment_expression "iVar11 = *(int *)(iVar13 + 0x3364)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar13 + 0x3364)" (* "*") (cast_expression "(int *)(iVar13 + 0x3364)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x3364)" (( "(") (binary_expression "iVar13 + 0x3364" (identifier "iVar13") (+ "+") (number_literal "0x3364")) () ")"))))) (; ";")) (expression_statement "param_2 = iVar11;" (assignment_expression "param_2 = iVar11" (identifier "param_2") (= "=") (identifier "iVar11")) (; ";")) (expression_statement "iVar2 = iVar13;" (assignment_expression "iVar2 = iVar13" (identifier "iVar2") (= "=") (identifier "iVar13")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(iVar2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(iVar2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" (else "else") (compound_statement "{\n                  if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);\n                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);\n                  (*(code *)PTR_CloseBlob_003a9688)(param_2);\n                  uVar3 = 1;\n                }" ({ "{") (if_statement "if (0 < *(int *)(iVar2 + 0x1c)) {\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar2 + 0x1c))" (( "(") (binary_expression "0 < *(int *)(iVar2 + 0x1c)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n                    iVar13 = 0;\n                    iVar11 = 0;\n                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n                    uVar12 = 0;\n                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }\n                  }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar15") (= "=") (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 "dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (identifier "dVar23") (= "=") (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 "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (identifier "dVar24") (= "=") (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 "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (while_statement "while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0) {\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" (while "while") (parenthesized_expression "(iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0)" (( "(") (comma_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             ), iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_GetVirtualPixels_003a9764)\n                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" (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 "(iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3\n                                             )" (( "(") (identifier "iVar2") (, ",") (number_literal "0") (, ",") (identifier "iVar11") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n                      if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }\n                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);\n                      if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;\n                      iVar11 = iVar11 + 1;\n                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;\n                      uVar12 = uVar12 + 1;\n                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;\n                    }" ({ "{") (if_statement "if (*(int *)(iVar2 + 0x18) < 1) {\n                        iVar5 = 0;\n                      }\n                      else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x18) < 1)" (( "(") (binary_expression "*(int *)(iVar2 + 0x18) < 1" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n                        iVar5 = 0;\n                      }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" (else "else") (compound_statement "{\n                        iVar9 = 0;\n                        dVar19 = *(double *)(puVar1 + -0x5ae8);\n                        dVar20 = *(double *)(puVar1 + -0x5af0);\n                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);\n                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n                        dVar22 = *(double *)(puVar10 + 0x1400);\n                        puVar7 = puVar4;\n                        do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));\n                        iVar5 = (int)puVar8 - (int)puVar4;\n                      }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar19 = *(double *)(puVar1 + -0x5ae8);" (assignment_expression "dVar19 = *(double *)(puVar1 + -0x5ae8)" (identifier "dVar19") (= "=") (pointer_expression "*(double *)(puVar1 + -0x5ae8)" (* "*") (cast_expression "(double *)(puVar1 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5ae8)" (( "(") (binary_expression "puVar1 + -0x5ae8" (identifier "puVar1") (+ "+") (number_literal "-0x5ae8")) () ")"))))) (; ";")) (expression_statement "dVar20 = *(double *)(puVar1 + -0x5af0);" (assignment_expression "dVar20 = *(double *)(puVar1 + -0x5af0)" (identifier "dVar20") (= "=") (pointer_expression "*(double *)(puVar1 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar1 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5af0)" (( "(") (binary_expression "puVar1 + -0x5af0" (identifier "puVar1") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);" (assignment_expression "fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38)" (identifier "fVar21") (= "=") (pointer_expression "*(float *)(PTR_s_courses_003a88ec + -0xe38)" (* "*") (cast_expression "(float *)(PTR_s_courses_003a88ec + -0xe38)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_courses_003a88ec + -0xe38)" (( "(") (binary_expression "PTR_s_courses_003a88ec + -0xe38" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0xe38")) () ")"))))) (; ";")) (expression_statement "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar18") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) (; ";")) (expression_statement "dVar22 = *(double *)(puVar10 + 0x1400);" (assignment_expression "dVar22 = *(double *)(puVar10 + 0x1400)" (identifier "dVar22") (= "=") (pointer_expression "*(double *)(puVar10 + 0x1400)" (* "*") (cast_expression "(double *)(puVar10 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x1400)" (( "(") (binary_expression "puVar10 + 0x1400" (identifier "puVar10") (+ "+") (number_literal "0x1400")) () ")"))))) (; ";")) (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" (identifier "puVar7") (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        } while (iVar9 < *(int *)(iVar2 + 0x18));" (do "do") (compound_statement "{\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          *puVar7 = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[1] = uVar6;\n                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;\n                          puVar8 = puVar7 + 3;\n                          if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }\n                          puVar7[2] = uVar6;\n                          iVar9 = iVar9 + 1;\n                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;\n                          puVar7 = puVar8;\n                        }" ({ "{") (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" (identifier "fVar17") (= "=") (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *\n                                   fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 8)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 8)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2d0) + 8" (pointer_expression "*(int *)(iVar2 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar2 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2d0)" (( "(") (binary_expression "iVar2 + 0x2d0" (identifier "iVar2") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (* "*") (identifier "fVar21"))) (; ";")) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (if "if") (parenthesized_expression "(fVar17 <= 0.0)" (( "(") (binary_expression "fVar17 <= 0.0" (identifier "fVar17") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n                            uVar6 = 0;\n                          }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (else "else") (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" ({ "{") (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" (identifier "dVar16") (= "=") (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar17")) (/ "/") (identifier "dVar20"))) (; ";")) (if_statement "if (dVar16 < dVar24) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" (if "if") (parenthesized_expression "(dVar16 < dVar24)" (( "(") (binary_expression "dVar16 < dVar24" (identifier "dVar16") (< "<") (identifier "dVar24")) () ")")) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" ({ "{") (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" (identifier "dVar16") (= "=") (binary_expression "dVar16 + dVar22" (identifier "dVar16") (+ "+") (identifier "dVar22"))) (; ";")) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (if "if") (parenthesized_expression "(dVar16 < dVar18)" (( "(") (binary_expression "dVar16 < dVar18" (identifier "dVar16") (< "<") (identifier "dVar18")) () ")")) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" (identifier "uVar6") (= "=") (cast_expression "(undefined1)(int)dVar16" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (cast_expression "(int)dVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar16")))) (; ";")) (} "}")) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (else "else") (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" (identifier "uVar6") (= "=") (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "(dVar16 - dVar18)" (( "(") (binary_expression "dVar16 - dVar18" (identifier "dVar16") (- "-") (identifier "dVar18")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" (else "else") (compound_statement "{\n                              uVar6 = 0xff;\n                            }" ({ "{") (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" (identifier "uVar6") (= "=") (number_literal "0xff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "*puVar7 = uVar6;" (assignment_expression "*puVar7 = uVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" (identifier "fVar17") (= "=") (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x14)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x14" (pointer_expression "*(int *)(iVar2 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar2 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2d0)" (( "(") (binary_expression "iVar2 + 0x2d0" (identifier "iVar2") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (* "*") (identifier "fVar21"))) (; ";")) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (if "if") (parenthesized_expression "(fVar17 <= 0.0)" (( "(") (binary_expression "fVar17 <= 0.0" (identifier "fVar17") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n                            uVar6 = 0;\n                          }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (else "else") (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar20;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" ({ "{") (expression_statement "dVar16 = (double)fVar17 / dVar20;" (assignment_expression "dVar16 = (double)fVar17 / dVar20" (identifier "dVar16") (= "=") (binary_expression "(double)fVar17 / dVar20" (cast_expression "(double)fVar17" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar17")) (/ "/") (identifier "dVar20"))) (; ";")) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" (if "if") (parenthesized_expression "(dVar16 < dVar19)" (( "(") (binary_expression "dVar16 < dVar19" (identifier "dVar16") (< "<") (identifier "dVar19")) () ")")) (compound_statement "{\n                              dVar16 = dVar16 + dVar22;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" ({ "{") (expression_statement "dVar16 = dVar16 + dVar22;" (assignment_expression "dVar16 = dVar16 + dVar22" (identifier "dVar16") (= "=") (binary_expression "dVar16 + dVar22" (identifier "dVar16") (+ "+") (identifier "dVar22"))) (; ";")) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (if "if") (parenthesized_expression "(dVar16 < dVar18)" (( "(") (binary_expression "dVar16 < dVar18" (identifier "dVar16") (< "<") (identifier "dVar18")) () ")")) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" (identifier "uVar6") (= "=") (cast_expression "(undefined1)(int)dVar16" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (cast_expression "(int)dVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar16")))) (; ";")) (} "}")) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (else "else") (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" (identifier "uVar6") (= "=") (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "(dVar16 - dVar18)" (( "(") (binary_expression "dVar16 - dVar18" (identifier "dVar16") (- "-") (identifier "dVar18")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" (else "else") (compound_statement "{\n                              uVar6 = 0xff;\n                            }" ({ "{") (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" (identifier "uVar6") (= "=") (number_literal "0xff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "puVar7[1] = uVar6;" (assignment_expression "puVar7[1] = uVar6" (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21;" (assignment_expression "fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" (identifier "fVar17") (= "=") (binary_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)\n                                   * fVar21" (pointer_expression "*(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4" (pointer_expression "*(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(iVar2 + 0x2d0) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x2d0) + 0x20)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2d0) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar2 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2d0)" (( "(") (binary_expression "iVar2 + 0x2d0" (identifier "iVar2") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (* "*") (identifier "fVar21"))) (; ";")) (expression_statement "puVar8 = puVar7 + 3;" (assignment_expression "puVar8 = puVar7 + 3" (identifier "puVar8") (= "=") (binary_expression "puVar7 + 3" (identifier "puVar7") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (fVar17 <= 0.0) {\n                            uVar6 = 0;\n                          }\n                          else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (if "if") (parenthesized_expression "(fVar17 <= 0.0)" (( "(") (binary_expression "fVar17 <= 0.0" (identifier "fVar17") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n                            uVar6 = 0;\n                          }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" (else "else") (compound_statement "{\n                            dVar16 = (double)fVar17 / dVar23;\n                            if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }\n                          }" ({ "{") (expression_statement "dVar16 = (double)fVar17 / dVar23;" (assignment_expression "dVar16 = (double)fVar17 / dVar23" (identifier "dVar16") (= "=") (binary_expression "(double)fVar17 / dVar23" (cast_expression "(double)fVar17" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar17")) (/ "/") (identifier "dVar23"))) (; ";")) (if_statement "if (dVar16 < dVar19) {\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }\n                            else {\n                              uVar6 = 0xff;\n                            }" (if "if") (parenthesized_expression "(dVar16 < dVar19)" (( "(") (binary_expression "dVar16 < dVar19" (identifier "dVar16") (< "<") (identifier "dVar19")) () ")")) (compound_statement "{\n                              dVar16 = dVar16 + dVar15;\n                              if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }\n                            }" ({ "{") (expression_statement "dVar16 = dVar16 + dVar15;" (assignment_expression "dVar16 = dVar16 + dVar15" (identifier "dVar16") (= "=") (binary_expression "dVar16 + dVar15" (identifier "dVar16") (+ "+") (identifier "dVar15"))) (; ";")) (if_statement "if (dVar16 < dVar18) {\n                                uVar6 = (undefined1)(int)dVar16;\n                              }\n                              else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (if "if") (parenthesized_expression "(dVar16 < dVar18)" (( "(") (binary_expression "dVar16 < dVar18" (identifier "dVar16") (< "<") (identifier "dVar18")) () ")")) (compound_statement "{\n                                uVar6 = (undefined1)(int)dVar16;\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)dVar16;" (assignment_expression "uVar6 = (undefined1)(int)dVar16" (identifier "uVar6") (= "=") (cast_expression "(undefined1)(int)dVar16" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (cast_expression "(int)dVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar16")))) (; ";")) (} "}")) (else_clause "else {\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" (else "else") (compound_statement "{\n                                uVar6 = (undefined1)(int)(dVar16 - dVar18);\n                              }" ({ "{") (expression_statement "uVar6 = (undefined1)(int)(dVar16 - dVar18);" (assignment_expression "uVar6 = (undefined1)(int)(dVar16 - dVar18)" (identifier "uVar6") (= "=") (call_expression "(undefined1)(int)(dVar16 - dVar18)" (call_expression "(undefined1)(int)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "(dVar16 - dVar18)" (( "(") (binary_expression "dVar16 - dVar18" (identifier "dVar16") (- "-") (identifier "dVar18")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                              uVar6 = 0xff;\n                            }" (else "else") (compound_statement "{\n                              uVar6 = 0xff;\n                            }" ({ "{") (expression_statement "uVar6 = 0xff;" (assignment_expression "uVar6 = 0xff" (identifier "uVar6") (= "=") (number_literal "0xff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "puVar7[2] = uVar6;" (assignment_expression "puVar7[2] = uVar6" (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + *(int *)(iVar2 + 0x2c0) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar2 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar2 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c0)" (( "(") (binary_expression "iVar2 + 0x2c0" (identifier "iVar2") (+ "+") (number_literal "0x2c0")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < *(int *)(iVar2 + 0x18))" (( "(") (binary_expression "iVar9 < *(int *)(iVar2 + 0x18)" (identifier "iVar9") (< "<") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (; ";")) (expression_statement "iVar5 = (int)puVar8 - (int)puVar4;" (assignment_expression "iVar5 = (int)puVar8 - (int)puVar4" (identifier "iVar5") (= "=") (binary_expression "(int)puVar8 - (int)puVar4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (- "-") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")))) (; ";")) (} "}")))) (expression_statement "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);" (assignment_expression "iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4)" (parenthesized_expression "(*(code *)PTR_WriteBlob_003a9994)" (( "(") (pointer_expression "*(code *)PTR_WriteBlob_003a9994" (* "*") (cast_expression "(code *)PTR_WriteBlob_003a9994" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlob_003a9994"))) () ")")) (argument_list "(param_2,iVar5,puVar4)" (( "(") (identifier "param_2") (, ",") (identifier "iVar5") (, ",") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if ((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;" (if "if") (parenthesized_expression "((iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0))" (( "(") (binary_expression "(iVar9 != iVar5) ||\n                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" (parenthesized_expression "(iVar9 != iVar5)" (( "(") (binary_expression "iVar9 != iVar5" (identifier "iVar9") (!= "!=") (identifier "iVar5")) () ")")) (|| "||") (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)" (( "(") (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 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_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0\n                                             ,*(undefined4 *)(iVar2 + 0x1c))" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x15c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x15c")) (, ",") (identifier "iVar13") (, ",") (identifier "uVar12") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (, ",") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;" (assignment_expression "iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13" (identifier "iVar13") (= "=") (binary_expression "(uint)(uVar12 + 1 < uVar12) + iVar13" (call_expression "(uint)(uVar12 + 1 < uVar12)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar12 + 1 < uVar12)" (( "(") (binary_expression "uVar12 + 1 < uVar12" (binary_expression "uVar12 + 1" (identifier "uVar12") (+ "+") (number_literal "1")) (< "<") (identifier "uVar12")) () ")"))) (+ "+") (identifier "iVar13"))) (; ";")) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + 1" (identifier "uVar12") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x1c) <= iVar11) break;" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x1c) <= iVar11)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) <= iVar11" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (<= "<=") (identifier "iVar11")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_003a8fc0"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(iVar2)" (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 "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(param_2);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(param_2)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,\n                       PTR_UINT_003a8950 + -0x4f0)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x294c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x294c")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "0x133") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x4f0" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x4f0")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar10 = PTR_UINT_003a8950 + -0x4f0;" (assignment_expression "puVar10 = PTR_UINT_003a8950 + -0x4f0" (identifier "puVar10") (= "=") (binary_expression "PTR_UINT_003a8950 + -0x4f0" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x4f0"))) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1cac" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1cac")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "0x132") (, ",") (identifier "puVar10") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,\n                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x3784")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "0x12f") (, ",") (binary_expression "puVar10 + -0x4f0" (identifier "puVar10") (+ "+") (number_literal "-0x4f0")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,\n                 PTR_UINT_003a8950 + -0x4f0)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xdd0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xdd0")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "0x12e") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x4f0" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x4f0")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)\n    ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xda0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xda0")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "0x12d") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x4f0" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x4f0")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar10 = PTR___assert_fail_003a9608;" (assignment_expression "puVar10 = PTR___assert_fail_003a9608" (identifier "puVar10") (= "=") (identifier "PTR___assert_fail_003a9608")) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xd78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xd78")) (, ",") (binary_expression "PTR_UINT_003a8950 + -0x550" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x550")) (, ",") (number_literal "300") (, ",") (binary_expression "PTR_UINT_003a8950 + -0x4f0" (identifier "PTR_UINT_003a8950") (+ "+") (number_literal "-0x4f0")) () ")"))) (; ";")) (expression_statement "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540);" (assignment_expression "iVar2 = (**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar10 + 0x176118))\n                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" (parenthesized_expression "(**(code **)(puVar10 + 0x176118))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x176118)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x176118)" (* "*") (cast_expression "(code **)(puVar10 + 0x176118)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x176118)" (( "(") (binary_expression "puVar10 + 0x176118" (identifier "puVar10") (+ "+") (number_literal "0x176118")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,\n                     *(int *)(puVar10 + 0x17548c) + -0x540)" (( "(") (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" (* "*") (cast_expression "(int *)(puVar10 + 0x175428)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x175428)" (( "(") (binary_expression "puVar10 + 0x175428" (identifier "puVar10") (+ "+") (number_literal "0x175428")) () ")")))) (+ "+") (number_literal "-0x4044")) (, ",") (binary_expression "*(int *)(puVar10 + 0x175428) + -0x4044" (pointer_expression "*(int *)(puVar10 + 0x175428)" (* "*") (cast_expression "(int *)(puVar10 + 0x175428)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x175428)" (( "(") (binary_expression "puVar10 + 0x175428" (identifier "puVar10") (+ "+") (number_literal "0x175428")) () ")")))) (+ "+") (number_literal "-0x4044")) (, ",") (binary_expression "*(int *)(puVar10 + 0x17548c) + -0x540" (pointer_expression "*(int *)(puVar10 + 0x17548c)" (* "*") (cast_expression "(int *)(puVar10 + 0x17548c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x17548c)" (( "(") (binary_expression "puVar10 + 0x17548c" (identifier "puVar10") (+ "+") (number_literal "0x17548c")) () ")")))) (+ "+") (number_literal "-0x540")) () ")")))) (; ";")) (expression_statement "iVar11 = *(int *)(puVar10 + 0x175708);" (assignment_expression "iVar11 = *(int *)(puVar10 + 0x175708)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(puVar10 + 0x175708)" (* "*") (cast_expression "(int *)(puVar10 + 0x175708)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x175708)" (( "(") (binary_expression "puVar10 + 0x175708" (identifier "puVar10") (+ "+") (number_literal "0x175708")) () ")"))))) (; ";")) (expression_statement "pcVar14 = *(code **)(puVar10 + 0x1759f8);" (assignment_expression "pcVar14 = *(code **)(puVar10 + 0x1759f8)" (identifier "pcVar14") (= "=") (pointer_expression "*(code **)(puVar10 + 0x1759f8)" (* "*") (cast_expression "(code **)(puVar10 + 0x1759f8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1759f8)" (( "(") (binary_expression "puVar10 + 0x1759f8" (identifier "puVar10") (+ "+") (number_literal "0x1759f8")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;" (assignment_expression "*(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar2 + 0x2c) ^ 1" (pointer_expression "*(uint *)(iVar2 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")")))) (^ "^") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;" (assignment_expression "*(int *)(iVar2 + 0x18) = iVar11 + 0x28c0" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar11 + 0x28c0" (identifier "iVar11") (+ "+") (number_literal "0x28c0"))) (; ";")) (expression_statement "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;" (assignment_expression "*(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(int *)(puVar10 + 0x175708) + 0x2e98" (pointer_expression "*(int *)(puVar10 + 0x175708)" (* "*") (cast_expression "(int *)(puVar10 + 0x175708)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x175708)" (( "(") (binary_expression "puVar10 + 0x175708" (identifier "puVar10") (+ "+") (number_literal "0x175708")) () ")")))) (+ "+") (number_literal "0x2e98"))) (; ";")) (expression_statement "(*pcVar14)(iVar2);" (call_expression "(*pcVar14)(iVar2)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (return_statement "return 0x810;" (return "return") (number_literal "0x810") (; ";")) (} "}")))
(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (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: (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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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: (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) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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) (number_literal) (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))))) (identifier)))) right: (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 (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (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: (identifier))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_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: (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: (number_literal))) (while_statement condition: (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) (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)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (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))))))) (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: (identifier))) (do_statement body: (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: (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)))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) 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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (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)))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) 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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (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)))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) 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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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) (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)))))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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: (identifier))) consequence: (break_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 (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))))))))) (return_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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (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 (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)) (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2,int param_3)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined1 uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  int iVar9;
  undefined *puVar10;
  int iVar11;
  uint uVar12;
  int iVar13;
  code *pcVar14;
  double dVar15;
  float fVar17;
  double dVar16;
  double dVar18;
  double dVar19;
  double dVar20;
  float fVar21;
  double dVar22;
  double dVar23;
  double dVar24;
  
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x3214) == -0x54535255) {
      if (param_2 != 0) {
        puVar10 = PTR_UINT_003a8950;
        if (*(int *)(param_2 + 0x336c) == -0x54535255) {
          if (*(int *)(param_2 + 0x3350) != 0) {
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (0x8000,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x131,
                       PTR_s_t_to_left_003a88e4 + -0x62ac,param_2 + 0x340);
          }
          if (param_3 != 0) {
            if (*(int *)(param_3 + 0x1c) == -0x54535255) {
              iVar2 = (*(code *)PTR_OpenBlob_003a924c)(param_1,param_2,4,param_3);
              if ((iVar2 == 0) ||
                 (iVar2 = (*(code *)PTR_ResizeImage_003a95ec)
                                    (param_2,0x100,0xf0,*(undefined4 *)(param_2 + 0x250),param_3),
                 iVar2 == 0)) {
                uVar3 = 0;
              }
              else {
                (*(code *)PTR_TransformImageColorspace_003a9180)(iVar2,0x17,param_3);
                puVar4 = (undefined1 *)
                         (*(code *)PTR_AcquireQuantumMemory_003a950c)
                                   (*(undefined4 *)(iVar2 + 0x18),3);
                puVar1 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
                puVar10 = PTR_LAB_003a88e0;
                if (puVar4 == (undefined1 *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);
                  (*(code *)PTR_ThrowMagickException_003a8f20)
                            (param_3,PTR_UINT_003a8950 + -0x550,PTR_UINT_003a8950 + -0x500,0x143,400
                             ,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,param_2 + 0x340);
                  iVar11 = *(int *)(param_1 + 0xc);
                  iVar2 = param_2;
                  while (iVar13 = param_2, iVar11 != 0) {
                    iVar11 = *(int *)(iVar13 + 0x3364);
                    param_2 = iVar11;
                    iVar2 = iVar13;
                  }
                  (*(code *)PTR_CloseBlob_003a9688)(iVar2);
                  uVar3 = 0;
                }
                else {
                  if (0 < *(int *)(iVar2 + 0x1c)) {
                    iVar13 = 0;
                    iVar11 = 0;
                    dVar15 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
                    dVar23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
                    dVar24 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
                    uVar12 = 0;
                    while (iVar5 = (*(code *)PTR_GetVirtualPixels_003a9764)
                                             (iVar2,0,iVar11,*(undefined4 *)(iVar2 + 0x18),1,param_3
                                             ), iVar5 != 0) {
                      if (*(int *)(iVar2 + 0x18) < 1) {
                        iVar5 = 0;
                      }
                      else {
                        iVar9 = 0;
                        dVar19 = *(double *)(puVar1 + -0x5ae8);
                        dVar20 = *(double *)(puVar1 + -0x5af0);
                        fVar21 = *(float *)(PTR_s_courses_003a88ec + -0xe38);
                        dVar18 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
                        dVar22 = *(double *)(puVar10 + 0x1400);
                        puVar7 = puVar4;
                        do {
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 8) * 4) *
                                   fVar21;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar20;
                            if (dVar16 < dVar24) {
                              dVar16 = dVar16 + dVar22;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          *puVar7 = uVar6;
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x14) * 4)
                                   * fVar21;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar20;
                            if (dVar16 < dVar19) {
                              dVar16 = dVar16 + dVar22;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          puVar7[1] = uVar6;
                          fVar17 = *(float *)(iVar5 + *(int *)(*(int *)(iVar2 + 0x2d0) + 0x20) * 4)
                                   * fVar21;
                          puVar8 = puVar7 + 3;
                          if (fVar17 <= 0.0) {
                            uVar6 = 0;
                          }
                          else {
                            dVar16 = (double)fVar17 / dVar23;
                            if (dVar16 < dVar19) {
                              dVar16 = dVar16 + dVar15;
                              if (dVar16 < dVar18) {
                                uVar6 = (undefined1)(int)dVar16;
                              }
                              else {
                                uVar6 = (undefined1)(int)(dVar16 - dVar18);
                              }
                            }
                            else {
                              uVar6 = 0xff;
                            }
                          }
                          puVar7[2] = uVar6;
                          iVar9 = iVar9 + 1;
                          iVar5 = iVar5 + *(int *)(iVar2 + 0x2c0) * 4;
                          puVar7 = puVar8;
                        } while (iVar9 < *(int *)(iVar2 + 0x18));
                        iVar5 = (int)puVar8 - (int)puVar4;
                      }
                      iVar9 = (*(code *)PTR_WriteBlob_003a9994)(param_2,iVar5,puVar4);
                      if ((iVar9 != iVar5) ||
                         (iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                            (param_2,PTR_s_courses_003a88ec + -0x15c,iVar13,uVar12,0
                                             ,*(undefined4 *)(iVar2 + 0x1c)), iVar5 == 0)) break;
                      iVar11 = iVar11 + 1;
                      iVar13 = (uint)(uVar12 + 1 < uVar12) + iVar13;
                      uVar12 = uVar12 + 1;
                      if (*(int *)(iVar2 + 0x1c) <= iVar11) break;
                    }
                  }
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4);
                  (*(code *)PTR_DestroyImage_003a8f4c)(iVar2);
                  (*(code *)PTR_CloseBlob_003a9688)(param_2);
                  uVar3 = 1;
                }
              }
              return uVar3;
            }
            (*(code *)PTR___assert_fail_003a9608)
                      (PTR_LAB_003a88e0 + 0x294c,PTR_UINT_003a8950 + -0x550,0x133,
                       PTR_UINT_003a8950 + -0x4f0);
          }
          puVar10 = PTR_UINT_003a8950 + -0x4f0;
          (*(code *)PTR___assert_fail_003a9608)
                    (PTR_LAB_003a88e0 + 0x1cac,PTR_UINT_003a8950 + -0x550,0x132,puVar10);
        }
        (*(code *)PTR___assert_fail_003a9608)
                  (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,
                   PTR_UINT_003a8950 + -0x550,0x12f,puVar10 + -0x4f0);
      }
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xdd0,PTR_UINT_003a8950 + -0x550,0x12e,
                 PTR_UINT_003a8950 + -0x4f0);
    }
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_UINT_003a8950 + -0x550,0x12d,PTR_UINT_003a8950 + -0x4f0)
    ;
  }
  puVar10 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0xd78,PTR_UINT_003a8950 + -0x550,300,PTR_UINT_003a8950 + -0x4f0);
  iVar2 = (**(code **)(puVar10 + 0x176118))
                    (*(int *)(puVar10 + 0x175428) + -0x4044,*(int *)(puVar10 + 0x175428) + -0x4044,
                     *(int *)(puVar10 + 0x17548c) + -0x540);
  iVar11 = *(int *)(puVar10 + 0x175708);
  pcVar14 = *(code **)(puVar10 + 0x1759f8);
  *(uint *)(iVar2 + 0x2c) = *(uint *)(iVar2 + 0x2c) ^ 1;
  *(int *)(iVar2 + 0x18) = iVar11 + 0x28c0;
  *(int *)(iVar2 + 0x1c) = *(int *)(puVar10 + 0x175708) + 0x2e98;
  (*pcVar14)(iVar2);
  return 0x810;
}

