
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ImplodeImage._omp_fn.4(anon_struct_96_13_9513e53b * param_0) */

void __thiscall ImplodeImage__omp_fn_4(void *this)

{
  double dVar1;
  PixelInterpolateMethod method;
  PixelChannel PVar2;
  Image *source;
  size_t sVar3;
  Image *destination;
  CacheView_ *source_view;
  CacheView *cache_view;
  CacheView *cache_view_00;
  ExceptionInfo *exception;
  int iVar4;
  int iVar5;
  MagickBooleanType MVar6;
  long lVar7;
  Quantum *pQVar8;
  Quantum *pixel;
  long lVar9;
  long lVar10;
  double __y;
  double dVar11;
  double dVar12;
  double dVar13;
  double dVar14;
  long local_a8;
  
  source = *(Image **)((long)this + 0x30);
  sVar3 = source->rows;
  iVar4 = omp_get_num_threads();
  iVar5 = omp_get_thread_num();
  lVar7 = (long)sVar3 / (long)iVar4;
  local_a8 = (long)sVar3 % (long)iVar4;
  if (iVar5 < local_a8) {
    lVar7 = lVar7 + 1;
    local_a8 = 0;
  }
  local_a8 = iVar5 * lVar7 + local_a8;
  lVar7 = lVar7 + local_a8;
  if (local_a8 < lVar7) {
    destination = *(Image **)((long)this + 0x38);
    dVar1 = *(double *)((long)this + 0x28);
    source_view = *(CacheView_ **)((long)this + 0x20);
    cache_view = *(CacheView **)((long)this + 0x18);
    cache_view_00 = *(CacheView **)((long)this + 0x10);
    exception = *(ExceptionInfo **)((long)this + 8);
    method = *(PixelInterpolateMethod *)((long)this + 0x58);
                    /* WARNING: Load size is inaccurate */
    __y = (double)(*this ^ DAT_003f9610);
    do {
      if (*(int *)((long)this + 0x5c) != 0) {
        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);
        pixel = QueueCacheViewAuthenticPixels
                          (cache_view,0,local_a8,destination->columns,1,exception);
        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {
          *(undefined4 *)((long)this + 0x5c) = 0;
        }
        else {
          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *
                   *(double *)(*(long *)((long)this + 0x48) + 8);
          if (0 < (long)source->columns) {
            lVar10 = 0;
            do {
              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *
                       **(double **)((long)this + 0x48);
              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;
              if (dVar1 * dVar1 <= dVar13) {
                if (0 < (long)source->number_channels) {
                  lVar9 = 0;
                  do {
                    PVar2 = source->channel_map[lVar9].channel;
                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&
                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&
                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {
                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];
                    }
                    lVar9 = lVar9 + 1;
                  } while (lVar9 < (long)source->number_channels);
                }
              }
              else {
                dVar11 = DAT_003f9608;
                if (DAT_003fa398 < dVar13) {
                  if (dVar13 < 0.0) {
                    sqrt(dVar13);
                  }
                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);
                  dVar11 = pow(dVar13,__y);
                }
                MVar6 = InterpolatePixelChannels
                                  (source,source_view,destination,method,
                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +
                                   **(double **)((long)this + 0x40),
                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +
                                   (*(double **)((long)this + 0x40))[1],pixel,exception);
                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;
                if (MVar6 == MagickFalse) break;
              }
              pQVar8 = pQVar8 + source->number_channels;
              pixel = pixel + destination->number_channels;
              lVar10 = lVar10 + 1;
            } while (lVar10 < (long)source->columns);
          }
          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar6 == MagickFalse) {
            *(undefined4 *)((long)this + 0x5c) = 0;
          }
          if (source->progress_monitor != (MagickProgressMonitor)0x0) {
            LOCK();
            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;
            UNLOCK();
            MVar6 = SetImageProgress(source,"Implode/Image",
                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);
            if (MVar6 == MagickFalse) {
              *(undefined4 *)((long)this + 0x5c) = 0;
            }
          }
        }
      }
      local_a8 = local_a8 + 1;
    } while (lVar7 != local_a8);
  }
  return;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_002e8904(ulong *param_1)

{
  double dVar1;
  ulong uVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  ulong uVar6;
  ulong uVar7;
  ulong uVar8;
  int iVar9;
  int iVar10;
  long lVar11;
  long lVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long lVar16;
  double __y;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  long local_a8;
  
  uVar2 = param_1[6];
  local_a8 = *(long *)(uVar2 + 0x28);
  iVar9 = omp_get_num_threads();
  iVar10 = omp_get_thread_num();
  lVar11 = local_a8 / (long)iVar9;
  local_a8 = local_a8 % (long)iVar9;
  if (iVar10 < local_a8) {
    lVar11 = lVar11 + 1;
    local_a8 = 0;
  }
  local_a8 = iVar10 * lVar11 + local_a8;
  lVar11 = lVar11 + local_a8;
  if (local_a8 < lVar11) {
    uVar3 = param_1[7];
    dVar1 = (double)param_1[5];
    uVar4 = param_1[4];
    uVar5 = param_1[3];
    uVar6 = param_1[2];
    uVar7 = param_1[1];
    uVar8 = param_1[0xb];
    __y = (double)(*param_1 ^ DAT_003f9610);
    do {
      if (*(int *)((long)param_1 + 0x5c) != 0) {
        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);
        lVar14 = QueueCacheViewAuthenticPixels
                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);
        if ((lVar13 == 0) || (lVar14 == 0)) {
          *(undefined4 *)((long)param_1 + 0x5c) = 0;
        }
        else {
          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);
          if (0 < *(long *)(uVar2 + 0x20)) {
            lVar16 = 0;
            do {
              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];
              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;
              if (dVar1 * dVar1 <= dVar19) {
                if (0 < *(long *)(uVar2 + 0x340)) {
                  lVar15 = 0;
                  do {
                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;
                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&
                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&
                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {
                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =
                           *(undefined4 *)(lVar13 + lVar15 * 4);
                    }
                    lVar15 = lVar15 + 1;
                  } while (lVar15 < *(long *)(uVar2 + 0x340));
                }
              }
              else {
                dVar17 = DAT_003f9608;
                if (DAT_003fa398 < dVar19) {
                  if (dVar19 < 0.0) {
                    sqrt(dVar19);
                  }
                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);
                  dVar17 = pow(dVar19,__y);
                }
                iVar9 = InterpolatePixelChannels
                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]
                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +
                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,
                                   uVar7);
                *(int *)((long)param_1 + 0x5c) = iVar9;
                if (iVar9 == 0) break;
              }
              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;
              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;
              lVar16 = lVar16 + 1;
            } while (lVar16 < *(long *)(uVar2 + 0x20));
          }
          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);
          if (iVar9 == 0) {
            *(undefined4 *)((long)param_1 + 0x5c) = 0;
          }
          if (*(long *)(uVar2 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[10] = *(long *)param_1[10] + 1;
            UNLOCK();
            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],
                                     *(undefined8 *)(uVar2 + 0x28));
            if (iVar9 == 0) {
              *(undefined4 *)((long)param_1 + 0x5c) = 0;
            }
          }
        }
      }
      local_a8 = local_a8 + 1;
    } while (lVar11 != local_a8);
  }
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x78
MOV RBP,RDI
MOV RBX,qword ptr [RDI + 0x30]
MOV R12,qword ptr [RBX + 0x28]
CALL 0x00149d40
MOVSXD R13,EAX
CALL 0x0014af50
MOVSXD RDI,EAX
MOV RAX,R12
CQO
IDIV R13
MOV RSI,RAX
MOV RCX,RDX
CMP RDI,RDX
JL 0x002e8c6b
IMUL RDI,RSI
LEA RAX,[RDI + RCX*0x1]
MOV qword ptr [RSP],RAX
ADD RSI,RAX
MOV qword ptr [RSP + 0x40],RSI
CMP RAX,RSI
JGE 0x002e8c79
MOV R15,qword ptr [RBP + 0x38]
MOVSD XMM7,qword ptr [RBP + 0x28]
MOVSD qword ptr [RSP + 0x50],XMM7
MOV RAX,qword ptr [RBP + 0x20]
MOV qword ptr [RSP + 0x30],RAX
MOV RAX,qword ptr [RBP + 0x18]
MOV qword ptr [RSP + 0x58],RAX
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RSP + 0x68],RAX
MOV RAX,qword ptr [RBP + 0x8]
MOV qword ptr [RSP + 0x20],RAX
MOV EAX,dword ptr [RBP + 0x58]
MOV dword ptr [RSP + 0x3c],EAX
MOVSD XMM0,qword ptr [RBP]
XORPD XMM0,xmmword ptr [0x003f9610]
MOVSD qword ptr [RSP + 0x60],XMM0
JMP 0x002e8baf
MOV RSI,qword ptr [RSP + 0x20]
MOV RDI,qword ptr [RSP + 0x58]
CALL 0x0014af90
TEST EAX,EAX
JZ 0x002e8a0b
CMP qword ptr [RBX + 0x3c8],0x0
JZ 0x002e8b9b
MOV RAX,qword ptr [RBP + 0x50]
ADD.LOCK qword ptr [RAX],0x1
MOV RCX,qword ptr [RBX + 0x28]
MOV RAX,qword ptr [RBP + 0x50]
MOV RDX,qword ptr [RAX]
LEA RSI,[0x435c6c]
MOV RDI,RBX
CALL 0x0014d780
TEST EAX,EAX
JNZ 0x002e8b9b
MOV dword ptr [RBP + 0x5c],0x0
JMP 0x002e8b9b
MOV dword ptr [RBP + 0x5c],0x0
JMP 0x002e89c6
SQRTSD XMM6,XMM0
MOVSD qword ptr [RSP + 0x48],XMM6
PXOR XMM7,XMM7
UCOMISD XMM7,XMM0
JA 0x002e8b1a
MOVSD XMM0,qword ptr [RSP + 0x48]
MULSD XMM0,qword ptr [0x003fa3d8]
DIVSD XMM0,qword ptr [RSP + 0x50]
MULSD XMM0,qword ptr [0x003f9c28]
CALL 0x0014d7b0
MOVSD XMM1,qword ptr [RSP + 0x60]
CALL 0x0014b900
MOV RDX,qword ptr [RBP + 0x48]
MOV RAX,qword ptr [RBP + 0x40]
MOVSD XMM1,qword ptr [RSP + 0x28]
MULSD XMM1,XMM0
DIVSD XMM1,qword ptr [RDX + 0x8]
MULSD XMM0,qword ptr [RSP + 0x8]
DIVSD XMM0,qword ptr [RDX]
ADDSD XMM0,qword ptr [RAX]
MOV R9,qword ptr [RSP + 0x20]
MOV R8,R12
ADDSD XMM1,qword ptr [RAX + 0x8]
MOV ECX,dword ptr [RSP + 0x3c]
MOV RDX,R15
MOV RSI,qword ptr [RSP + 0x30]
MOV RDI,RBX
CALL 0x0014b010
MOV dword ptr [RBP + 0x5c],EAX
TEST EAX,EAX
JZ 0x002e89b3
MOV RAX,qword ptr [RBX + 0x340]
LEA R13,[R13 + RAX*0x4]
MOV RAX,qword ptr [R15 + 0x340]
LEA R12,[R12 + RAX*0x4]
ADD R14,0x1
CMP qword ptr [RBX + 0x20],R14
JLE 0x002e89b3
PXOR XMM0,XMM0
CVTSI2SD XMM0,R14
MOV RAX,qword ptr [RBP + 0x40]
SUBSD XMM0,qword ptr [RAX]
MOV RAX,qword ptr [RBP + 0x48]
MULSD XMM0,qword ptr [RAX]
MOVSD qword ptr [RSP + 0x8],XMM0
MULSD XMM0,XMM0
ADDSD XMM0,qword ptr [RSP + 0x10]
UCOMISD XMM0,qword ptr [RSP + 0x18]
JNC 0x002e8b24
UCOMISD XMM0,qword ptr [0x003fa398]
JA 0x002e8a14
MOVSD XMM0,qword ptr [0x003f9608]
JMP 0x002e8a58
CALL 0x0014d650
JMP 0x002e8a2c
CMP qword ptr [RBX + 0x340],0x0
JLE 0x002e8aa9
MOV EDX,0x0
JMP 0x002e8b4a
ADD RDX,0x1
CMP qword ptr [RBX + 0x340],RDX
JLE 0x002e8aa9
MOV RCX,qword ptr [RBX + 0x360]
MOV RAX,RDX
SHL RAX,0x4
MOV EAX,dword ptr [RCX + RAX*0x1]
SHL RAX,0x4
MOV RSI,qword ptr [R15 + 0x360]
CMP dword ptr [RSI + RAX*0x1 + 0x4],0x0
JZ 0x002e8b39
CMP dword ptr [RCX + RAX*0x1 + 0x4],0x0
JZ 0x002e8b39
ADD RAX,qword ptr [R15 + 0x360]
CMP dword ptr [RAX + 0x4],0x0
JZ 0x002e8b39
MOVSS XMM0,dword ptr [R13 + RDX*0x4]
MOV RAX,qword ptr [RAX + 0x8]
MOVSS dword ptr [R12 + RAX*0x4],XMM0
JMP 0x002e8b39
MOV dword ptr [RBP + 0x5c],0x0
ADD qword ptr [RSP],0x1
MOV RAX,qword ptr [RSP]
CMP qword ptr [RSP + 0x40],RAX
JZ 0x002e8c79
CMP dword ptr [RBP + 0x5c],0x0
JZ 0x002e8b9b
MOV RCX,qword ptr [RBX + 0x20]
MOV R12,qword ptr [RSP + 0x20]
MOV R9,R12
MOV R8D,0x1
MOV R14,qword ptr [RSP]
MOV RDX,R14
MOV ESI,0x0
MOV RDI,qword ptr [RSP + 0x68]
CALL 0x0014a9a0
MOV R13,RAX
MOV RCX,qword ptr [R15 + 0x20]
MOV R9,R12
MOV R8D,0x1
MOV RDX,R14
MOV ESI,0x0
MOV RDI,qword ptr [RSP + 0x58]
CALL 0x0014d950
MOV R12,RAX
TEST R13,R13
JZ 0x002e8b94
TEST RAX,RAX
JZ 0x002e8b94
PXOR XMM0,XMM0
CVTSI2SD XMM0,R14
MOV RAX,qword ptr [RBP + 0x40]
SUBSD XMM0,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + 0x48]
MULSD XMM0,qword ptr [RAX + 0x8]
MOVSD qword ptr [RSP + 0x28],XMM0
CMP qword ptr [RBX + 0x20],0x0
JLE 0x002e89b3
MOVSD XMM6,qword ptr [RSP + 0x28]
MOVAPD XMM7,XMM6
MULSD XMM7,XMM6
MOVSD qword ptr [RSP + 0x10],XMM7
MOVSD XMM5,qword ptr [RSP + 0x50]
MOVAPD XMM7,XMM5
MULSD XMM7,XMM5
MOVSD qword ptr [RSP + 0x18],XMM7
MOV R14D,0x0
JMP 0x002e8ace
LEA RSI,[RAX + 0x1]
MOV ECX,0x0
JMP 0x002e8944
ADD RSP,0x78
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_002e8904(ulong *param_1)\n\n{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_002e8904(ulong *param_1)\n\n{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002e8904(ulong *param_1)" identifier (parameter_list "(ulong *param_1)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "long local_a8;" (sized_type_specifier "long" long) identifier ;) (expression_statement "uVar2 = param_1[6];" (assignment_expression "uVar2 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "local_a8 = *(long *)(uVar2 + 0x28);" (assignment_expression "local_a8 = *(long *)(uVar2 + 0x28)" identifier = (pointer_expression "*(long *)(uVar2 + 0x28)" * (cast_expression "(long *)(uVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x28)" ( (binary_expression "uVar2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = omp_get_num_threads();" (assignment_expression "iVar9 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = omp_get_thread_num();" (assignment_expression "iVar10 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar11 = local_a8 / (long)iVar9;" (assignment_expression "lVar11 = local_a8 / (long)iVar9" identifier = (binary_expression "local_a8 / (long)iVar9" identifier / (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_a8 = local_a8 % (long)iVar9;" (assignment_expression "local_a8 = local_a8 % (long)iVar9" identifier = (binary_expression "local_a8 % (long)iVar9" identifier % (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" if (parenthesized_expression "(iVar10 < local_a8)" ( (binary_expression "iVar10 < local_a8" identifier < identifier) )) (compound_statement "{\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" { (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) })) (expression_statement "local_a8 = iVar10 * lVar11 + local_a8;" (assignment_expression "local_a8 = iVar10 * lVar11 + local_a8" identifier = (binary_expression "iVar10 * lVar11 + local_a8" (binary_expression "iVar10 * lVar11" identifier * identifier) + identifier)) ;) (expression_statement "lVar11 = lVar11 + local_a8;" (assignment_expression "lVar11 = lVar11 + local_a8" identifier = (binary_expression "lVar11 + local_a8" identifier + identifier)) ;) (if_statement "if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" if (parenthesized_expression "(local_a8 < lVar11)" ( (binary_expression "local_a8 < lVar11" identifier < identifier) )) (compound_statement "{\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" { (expression_statement "uVar3 = param_1[7];" (assignment_expression "uVar3 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "dVar1 = (double)param_1[5];" (assignment_expression "dVar1 = (double)param_1[5]" identifier = (cast_expression "(double)param_1[5]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar4 = param_1[4];" (assignment_expression "uVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = param_1[2];" (assignment_expression "uVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = param_1[0xb];" (assignment_expression "uVar8 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "__y = (double)(*param_1 ^ DAT_003f9610);" (assignment_expression "__y = (double)(*param_1 ^ DAT_003f9610)" identifier = (cast_expression "(double)(*param_1 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(*param_1 ^ DAT_003f9610)" ( (binary_expression "*param_1 ^ DAT_003f9610" (pointer_expression "*param_1" * identifier) ^ identifier) )))) ;) (do_statement "do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);" do (compound_statement "{\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    }" { (if_statement "if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((long)param_1 + 0x5c) != 0)" ( (binary_expression "*(int *)((long)param_1 + 0x5c) != 0" (pointer_expression "*(int *)((long)param_1 + 0x5c)" * (cast_expression "(int *)((long)param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);" (assignment_expression "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" identifier (argument_list "(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(uVar2 + 0x20)" * (cast_expression "(undefined8 *)(uVar2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);" (assignment_expression "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" identifier (argument_list "(uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(uVar3 + 0x20)" * (cast_expression "(undefined8 *)(uVar3 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x20)" ( (binary_expression "uVar3 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" if (parenthesized_expression "((lVar13 == 0) || (lVar14 == 0))" ( (binary_expression "(lVar13 == 0) || (lVar14 == 0)" (parenthesized_expression "(lVar13 == 0)" ( (binary_expression "lVar13 == 0" identifier == number_literal) )) || (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) ))) )) (compound_statement "{\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" { (expression_statement "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);" (assignment_expression "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" identifier = (binary_expression "((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" (parenthesized_expression "((double)local_a8 - *(double *)(param_1[8] + 8))" ( (binary_expression "(double)local_a8 - *(double *)(param_1[8] + 8)" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "*(double *)(param_1[8] + 8)" * (cast_expression "(double *)(param_1[8] + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[8] + 8)" ( (binary_expression "param_1[8] + 8" (subscript_expression "param_1[8]" identifier [ number_literal ]) + number_literal) ))))) )) * (pointer_expression "*(double *)(param_1[9] + 8)" * (cast_expression "(double *)(param_1[9] + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 8)" ( (binary_expression "param_1[9] + 8" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) )))))) ;) (if_statement "if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(uVar2 + 0x20))" ( (binary_expression "0 < *(long *)(uVar2 + 0x20)" number_literal < (pointer_expression "*(long *)(uVar2 + 0x20)" * (cast_expression "(long *)(uVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" { (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));" do (compound_statement "{\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            }" { (expression_statement "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];" (assignment_expression "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" identifier = (binary_expression "((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" (parenthesized_expression "((double)lVar16 - *(double *)param_1[8])" ( (binary_expression "(double)lVar16 - *(double *)param_1[8]" (cast_expression "(double)lVar16" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "*(double *)param_1[8]" * (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) )) * (pointer_expression "*(double *)param_1[9]" * (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))))) ;) (expression_statement "dVar19 = dVar18 * dVar18 + dVar20 * dVar20;" (assignment_expression "dVar19 = dVar18 * dVar18 + dVar20 * dVar20" identifier = (binary_expression "dVar18 * dVar18 + dVar20 * dVar20" (binary_expression "dVar18 * dVar18" identifier * identifier) + (binary_expression "dVar20 * dVar20" identifier * identifier))) ;) (if_statement "if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" if (parenthesized_expression "(dVar1 * dVar1 <= dVar19)" ( (binary_expression "dVar1 * dVar1 <= dVar19" (binary_expression "dVar1 * dVar1" identifier * identifier) <= identifier) )) (compound_statement "{\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }" { (if_statement "if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" if (parenthesized_expression "(0 < *(long *)(uVar2 + 0x340))" ( (binary_expression "0 < *(long *)(uVar2 + 0x340)" number_literal < (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) ))))) )) (compound_statement "{\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" { (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) (do_statement "do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));" do (compound_statement "{\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  }" { (expression_statement "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;" (assignment_expression "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" identifier = (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" ( (binary_expression "*(long *)(uVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(uVar2 + 0x360)" * (cast_expression "(long *)(uVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x360)" ( (binary_expression "uVar2 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar15 * 0x10" identifier * number_literal)) )))) * number_literal)) ;) (if_statement "if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" if (parenthesized_expression "(((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0))" ( (binary_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" (parenthesized_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0))" ( (binary_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" (parenthesized_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0)" ( (binary_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" * (cast_expression "(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar3 + 0x360) + 4 + lVar12)" ( (binary_expression "*(long *)(uVar3 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar3 + 0x360) + 4" (pointer_expression "*(long *)(uVar3 + 0x360)" * (cast_expression "(long *)(uVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x360)" ( (binary_expression "uVar3 + 0x360" identifier + number_literal) )))) + number_literal) + identifier) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" ( (binary_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" * (cast_expression "(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar2 + 0x360) + 4 + lVar12)" ( (binary_expression "*(long *)(uVar2 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar2 + 0x360) + 4" (pointer_expression "*(long *)(uVar2 + 0x360)" * (cast_expression "(long *)(uVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x360)" ( (binary_expression "uVar2 + 0x360" identifier + number_literal) )))) + number_literal) + identifier) )))) != number_literal) ))) )) && (parenthesized_expression "(lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" ( (comma_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0" (assignment_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360)" identifier = (binary_expression "lVar12 + *(long *)(uVar3 + 0x360)" identifier + (pointer_expression "*(long *)(uVar3 + 0x360)" * (cast_expression "(long *)(uVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x360)" ( (binary_expression "uVar3 + 0x360" identifier + number_literal) )))))) , (binary_expression "*(int *)(lVar12 + 4) != 0" (pointer_expression "*(int *)(lVar12 + 4)" * (cast_expression "(int *)(lVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 4)" ( (binary_expression "lVar12 + 4" identifier + number_literal) )))) != number_literal)) ))) )) (compound_statement "{\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" { (expression_statement "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);" (assignment_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4)" (pointer_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" * (cast_expression "(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + *(long *)(lVar12 + 8) * 4)" ( (binary_expression "lVar14 + *(long *)(lVar12 + 8) * 4" identifier + (binary_expression "*(long *)(lVar12 + 8) * 4" (pointer_expression "*(long *)(lVar12 + 8)" * (cast_expression "(long *)(lVar12 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 8)" ( (binary_expression "lVar12 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined4 *)(lVar13 + lVar15 * 4)" * (cast_expression "(undefined4 *)(lVar13 + lVar15 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar13 + lVar15 * 4)" ( (binary_expression "lVar13 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) ))))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar15 < *(long *)(uVar2 + 0x340))" ( (binary_expression "lVar15 < *(long *)(uVar2 + 0x340)" identifier < (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) ))))) )) ;) })) }) (else_clause "else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" else (compound_statement "{\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" { (expression_statement "dVar17 = DAT_003f9608;" (assignment_expression "dVar17 = DAT_003f9608" identifier = identifier) ;) (if_statement "if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" if (parenthesized_expression "(DAT_003fa398 < dVar19)" ( (binary_expression "DAT_003fa398 < dVar19" identifier < identifier) )) (compound_statement "{\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" { (if_statement "if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    sqrt(dVar19);\n                  }" { (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;) })) (expression_statement "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);" (assignment_expression "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier = (call_expression "sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier (argument_list "(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" ( (binary_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28" (parenthesized_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1)" ( (binary_expression "(SQRT(dVar19) * DAT_003fa3d8) / dVar1" (parenthesized_expression "(SQRT(dVar19) * DAT_003fa3d8)" ( (binary_expression "SQRT(dVar19) * DAT_003fa3d8" (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) * identifier) )) / identifier) )) * identifier) )))) ;) (expression_statement "dVar17 = pow(dVar19,__y);" (assignment_expression "dVar17 = pow(dVar19,__y)" identifier = (call_expression "pow(dVar19,__y)" identifier (argument_list "(dVar19,__y)" ( identifier , identifier )))) ;) })) (expression_statement "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);" (assignment_expression "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" identifier = (call_expression "InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" identifier (argument_list "((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" ( (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]" (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9]" (parenthesized_expression "(dVar17 * dVar18)" ( (binary_expression "dVar17 * dVar18" identifier * identifier) )) / (pointer_expression "*(double *)param_1[9]" * (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])))) + (pointer_expression "*(double *)param_1[8]" * (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) , (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1]" (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1]" (parenthesized_expression "(dVar20 * dVar17)" ( (binary_expression "dVar20 * dVar17" identifier * identifier) )) / (subscript_expression "((double *)param_1[9])[1]" (parenthesized_expression "((double *)param_1[9])" ( (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])) )) [ number_literal ])) + (subscript_expression "((double *)param_1[8])[1]" (parenthesized_expression "((double *)param_1[8])" ( (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) )) [ number_literal ])) , identifier , identifier , identifier , (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier )))) ;) (expression_statement "*(int *)((long)param_1 + 0x5c) = iVar9;" (assignment_expression "*(int *)((long)param_1 + 0x5c) = iVar9" (pointer_expression "*(int *)((long)param_1 + 0x5c)" * (cast_expression "(int *)((long)param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 0) break;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;" (assignment_expression "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4" identifier = (binary_expression "lVar13 + *(long *)(uVar2 + 0x340) * 4" identifier + (binary_expression "*(long *)(uVar2 + 0x340) * 4" (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;" (assignment_expression "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4" identifier = (binary_expression "lVar14 + *(long *)(uVar3 + 0x340) * 4" identifier + (binary_expression "*(long *)(uVar3 + 0x340) * 4" (pointer_expression "*(long *)(uVar3 + 0x340)" * (cast_expression "(long *)(uVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x340)" ( (binary_expression "uVar3 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" identifier = (binary_expression "lVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar16 < *(long *)(uVar2 + 0x20))" ( (binary_expression "lVar16 < *(long *)(uVar2 + 0x20)" identifier < (pointer_expression "*(long *)(uVar2 + 0x20)" * (cast_expression "(long *)(uVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);" (assignment_expression "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(uVar2 + 0x3c8) != 0)" ( (binary_expression "*(long *)(uVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(uVar2 + 0x3c8)" * (cast_expression "(long *)(uVar2 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x3c8)" ( (binary_expression "uVar2 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(long *)param_1[10] = *(long *)param_1[10] + 1;" (assignment_expression "*(long *)param_1[10] = *(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" * (cast_expression "(long *)param_1[10]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) = (binary_expression "*(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" * (cast_expression "(long *)param_1[10]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));" (assignment_expression "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" identifier = (call_expression "SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" identifier (argument_list "(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" ( identifier , (string_literal ""Implode/Image"" " string_content ") , (pointer_expression "*(undefined8 *)param_1[10]" * (cast_expression "(undefined8 *)param_1[10]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) , (pointer_expression "*(undefined8 *)(uVar2 + 0x28)" * (cast_expression "(undefined8 *)(uVar2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x28)" ( (binary_expression "uVar2 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar11 != local_a8)" ( (binary_expression "lVar11 != local_a8" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* DWARF original prototype: void ImplodeImage._omp_fn.4(anon_struct_96_13_9513e53b * param_0) */\n\nvoid __thiscall ImplodeImage__omp_fn_4(void *this)\n\n{\n  double dVar1;\n  PixelInterpolateMethod method;\n  PixelChannel PVar2;\n  Image *source;\n  size_t sVar3;\n  Image *destination;\n  CacheView_ *source_view;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  long lVar7;\n  Quantum *pQVar8;\n  Quantum *pixel;\n  long lVar9;\n  long lVar10;\n  double __y;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  long local_a8;\n  \n  source = *(Image **)((long)this + 0x30);\n  sVar3 = source->rows;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  lVar7 = (long)sVar3 / (long)iVar4;\n  local_a8 = (long)sVar3 % (long)iVar4;\n  if (iVar5 < local_a8) {\n    lVar7 = lVar7 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar5 * lVar7 + local_a8;\n  lVar7 = lVar7 + local_a8;\n  if (local_a8 < lVar7) {\n    destination = *(Image **)((long)this + 0x38);\n    dVar1 = *(double *)((long)this + 0x28);\n    source_view = *(CacheView_ **)((long)this + 0x20);\n    cache_view = *(CacheView **)((long)this + 0x18);\n    cache_view_00 = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    method = *(PixelInterpolateMethod *)((long)this + 0x58);\n                    /* WARNING: Load size is inaccurate */\n    __y = (double)(*this ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void __thiscall ImplodeImage__omp_fn_4(void *this)\n\n{\n  double dVar1;\n  PixelInterpolateMethod method;\n  PixelChannel PVar2;\n  Image *source;\n  size_t sVar3;\n  Image *destination;\n  CacheView_ *source_view;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  long lVar7;\n  Quantum *pQVar8;\n  Quantum *pixel;\n  long lVar9;\n  long lVar10;\n  double __y;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  long local_a8;\n  \n  source = *(Image **)((long)this + 0x30);\n  sVar3 = source->rows;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  lVar7 = (long)sVar3 / (long)iVar4;\n  local_a8 = (long)sVar3 % (long)iVar4;\n  if (iVar5 < local_a8) {\n    lVar7 = lVar7 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar5 * lVar7 + local_a8;\n  lVar7 = lVar7 + local_a8;\n  if (local_a8 < lVar7) {\n    destination = *(Image **)((long)this + 0x38);\n    dVar1 = *(double *)((long)this + 0x28);\n    source_view = *(CacheView_ **)((long)this + 0x20);\n    cache_view = *(CacheView **)((long)this + 0x18);\n    cache_view_00 = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    method = *(PixelInterpolateMethod *)((long)this + 0x58);\n                    /* WARNING: Load size is inaccurate */\n    __y = (double)(*this ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ImplodeImage__omp_fn_4(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  PixelInterpolateMethod method;\n  PixelChannel PVar2;\n  Image *source;\n  size_t sVar3;\n  Image *destination;\n  CacheView_ *source_view;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  long lVar7;\n  Quantum *pQVar8;\n  Quantum *pixel;\n  long lVar9;\n  long lVar10;\n  double __y;\n  double dVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  long local_a8;\n  \n  source = *(Image **)((long)this + 0x30);\n  sVar3 = source->rows;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  lVar7 = (long)sVar3 / (long)iVar4;\n  local_a8 = (long)sVar3 % (long)iVar4;\n  if (iVar5 < local_a8) {\n    lVar7 = lVar7 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar5 * lVar7 + local_a8;\n  lVar7 = lVar7 + local_a8;\n  if (local_a8 < lVar7) {\n    destination = *(Image **)((long)this + 0x38);\n    dVar1 = *(double *)((long)this + 0x28);\n    source_view = *(CacheView_ **)((long)this + 0x20);\n    cache_view = *(CacheView **)((long)this + 0x18);\n    cache_view_00 = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    method = *(PixelInterpolateMethod *)((long)this + 0x58);\n                    /* WARNING: Load size is inaccurate */\n    __y = (double)(*this ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "PixelInterpolateMethod method;" type_identifier identifier ;) (declaration "PixelChannel PVar2;" type_identifier identifier ;) (declaration "Image *source;" type_identifier (pointer_declarator "*source" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "Image *destination;" type_identifier (pointer_declarator "*destination" * identifier) ;) (declaration "CacheView_ *source_view;" type_identifier (pointer_declarator "*source_view" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "CacheView *cache_view_00;" type_identifier (pointer_declarator "*cache_view_00" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "MagickBooleanType MVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "Quantum *pQVar8;" type_identifier (pointer_declarator "*pQVar8" * identifier) ;) (declaration "Quantum *pixel;" type_identifier (pointer_declarator "*pixel" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "double dVar14;" primitive_type identifier ;) (declaration "long local_a8;" (sized_type_specifier "long" long) identifier ;) (expression_statement "source = *(Image **)((long)this + 0x30);" (assignment_expression "source = *(Image **)((long)this + 0x30)" identifier = (pointer_expression "*(Image **)((long)this + 0x30)" * (cast_expression "(Image **)((long)this + 0x30)" ( (type_descriptor "Image **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x30)" ( (binary_expression "(long)this + 0x30" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "sVar3 = source->rows;" (assignment_expression "sVar3 = source->rows" identifier = (field_expression "source->rows" identifier -> field_identifier)) ;) (expression_statement "iVar4 = omp_get_num_threads();" (assignment_expression "iVar4 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = omp_get_thread_num();" (assignment_expression "iVar5 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar7 = (long)sVar3 / (long)iVar4;" (assignment_expression "lVar7 = (long)sVar3 / (long)iVar4" identifier = (binary_expression "(long)sVar3 / (long)iVar4" (cast_expression "(long)sVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) / (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_a8 = (long)sVar3 % (long)iVar4;" (assignment_expression "local_a8 = (long)sVar3 % (long)iVar4" identifier = (binary_expression "(long)sVar3 % (long)iVar4" (cast_expression "(long)sVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) % (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar5 < local_a8) {\n    lVar7 = lVar7 + 1;\n    local_a8 = 0;\n  }" if (parenthesized_expression "(iVar5 < local_a8)" ( (binary_expression "iVar5 < local_a8" identifier < identifier) )) (compound_statement "{\n    lVar7 = lVar7 + 1;\n    local_a8 = 0;\n  }" { (expression_statement "lVar7 = lVar7 + 1;" (assignment_expression "lVar7 = lVar7 + 1" identifier = (binary_expression "lVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) })) (expression_statement "local_a8 = iVar5 * lVar7 + local_a8;" (assignment_expression "local_a8 = iVar5 * lVar7 + local_a8" identifier = (binary_expression "iVar5 * lVar7 + local_a8" (binary_expression "iVar5 * lVar7" identifier * identifier) + identifier)) ;) (expression_statement "lVar7 = lVar7 + local_a8;" (assignment_expression "lVar7 = lVar7 + local_a8" identifier = (binary_expression "lVar7 + local_a8" identifier + identifier)) ;) (if_statement "if (local_a8 < lVar7) {\n    destination = *(Image **)((long)this + 0x38);\n    dVar1 = *(double *)((long)this + 0x28);\n    source_view = *(CacheView_ **)((long)this + 0x20);\n    cache_view = *(CacheView **)((long)this + 0x18);\n    cache_view_00 = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    method = *(PixelInterpolateMethod *)((long)this + 0x58);\n                    /* WARNING: Load size is inaccurate */\n    __y = (double)(*this ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);\n  }" if (parenthesized_expression "(local_a8 < lVar7)" ( (binary_expression "local_a8 < lVar7" identifier < identifier) )) (compound_statement "{\n    destination = *(Image **)((long)this + 0x38);\n    dVar1 = *(double *)((long)this + 0x28);\n    source_view = *(CacheView_ **)((long)this + 0x20);\n    cache_view = *(CacheView **)((long)this + 0x18);\n    cache_view_00 = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    method = *(PixelInterpolateMethod *)((long)this + 0x58);\n                    /* WARNING: Load size is inaccurate */\n    __y = (double)(*this ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);\n  }" { (expression_statement "destination = *(Image **)((long)this + 0x38);" (assignment_expression "destination = *(Image **)((long)this + 0x38)" identifier = (pointer_expression "*(Image **)((long)this + 0x38)" * (cast_expression "(Image **)((long)this + 0x38)" ( (type_descriptor "Image **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x38)" ( (binary_expression "(long)this + 0x38" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "dVar1 = *(double *)((long)this + 0x28);" (assignment_expression "dVar1 = *(double *)((long)this + 0x28)" identifier = (pointer_expression "*(double *)((long)this + 0x28)" * (cast_expression "(double *)((long)this + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x28)" ( (binary_expression "(long)this + 0x28" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "source_view = *(CacheView_ **)((long)this + 0x20);" (assignment_expression "source_view = *(CacheView_ **)((long)this + 0x20)" identifier = (pointer_expression "*(CacheView_ **)((long)this + 0x20)" * (cast_expression "(CacheView_ **)((long)this + 0x20)" ( (type_descriptor "CacheView_ **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "cache_view = *(CacheView **)((long)this + 0x18);" (assignment_expression "cache_view = *(CacheView **)((long)this + 0x18)" identifier = (pointer_expression "*(CacheView **)((long)this + 0x18)" * (cast_expression "(CacheView **)((long)this + 0x18)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x18)" ( (binary_expression "(long)this + 0x18" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "cache_view_00 = *(CacheView **)((long)this + 0x10);" (assignment_expression "cache_view_00 = *(CacheView **)((long)this + 0x10)" identifier = (pointer_expression "*(CacheView **)((long)this + 0x10)" * (cast_expression "(CacheView **)((long)this + 0x10)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x10)" ( (binary_expression "(long)this + 0x10" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "exception = *(ExceptionInfo **)((long)this + 8);" (assignment_expression "exception = *(ExceptionInfo **)((long)this + 8)" identifier = (pointer_expression "*(ExceptionInfo **)((long)this + 8)" * (cast_expression "(ExceptionInfo **)((long)this + 8)" ( (type_descriptor "ExceptionInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 8)" ( (binary_expression "(long)this + 8" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "method = *(PixelInterpolateMethod *)((long)this + 0x58);" (assignment_expression "method = *(PixelInterpolateMethod *)((long)this + 0x58)" identifier = (pointer_expression "*(PixelInterpolateMethod *)((long)this + 0x58)" * (cast_expression "(PixelInterpolateMethod *)((long)this + 0x58)" ( (type_descriptor "PixelInterpolateMethod *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x58)" ( (binary_expression "(long)this + 0x58" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) comment (expression_statement "__y = (double)(*this ^ DAT_003f9610);" (assignment_expression "__y = (double)(*this ^ DAT_003f9610)" identifier = (cast_expression "(double)(*this ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(*this ^ DAT_003f9610)" ( (binary_expression "*this ^ DAT_003f9610" (pointer_expression "*this" * identifier) ^ identifier) )))) ;) (do_statement "do {\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar7 != local_a8);" do (compound_statement "{\n      if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    }" { (if_statement "if (*(int *)((long)this + 0x5c) != 0) {\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((long)this + 0x5c) != 0)" ( (binary_expression "*(int *)((long)this + 0x5c) != 0" (pointer_expression "*(int *)((long)this + 0x5c)" * (cast_expression "(int *)((long)this + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x5c)" ( (binary_expression "(long)this + 0x5c" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);\n        pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);\n        if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception);" (assignment_expression "pQVar8 = GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view_00,0,local_a8,source->columns,1,exception)" identifier (argument_list "(cache_view_00,0,local_a8,source->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "source->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (expression_statement "pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception);" (assignment_expression "pixel = QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                          (cache_view,0,local_a8,destination->columns,1,exception)" identifier (argument_list "(cache_view,0,local_a8,destination->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "destination->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if ((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)) {\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }\n        else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }" if (parenthesized_expression "((pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0))" ( (binary_expression "(pQVar8 == (Quantum *)0x0) || (pixel == (Quantum *)0x0)" (parenthesized_expression "(pQVar8 == (Quantum *)0x0)" ( (binary_expression "pQVar8 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pixel == (Quantum *)0x0)" ( (binary_expression "pixel == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n          *(undefined4 *)((long)this + 0x5c) = 0;\n        }" { (expression_statement "*(undefined4 *)((long)this + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x5c)" * (cast_expression "(undefined4 *)((long)this + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x5c)" ( (binary_expression "(long)this + 0x5c" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);\n          if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }\n          MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }\n          if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }\n        }" { (expression_statement "dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8);" (assignment_expression "dVar14 = ((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8)" identifier = (binary_expression "((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)) *\n                   *(double *)(*(long *)((long)this + 0x48) + 8)" (parenthesized_expression "((double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8))" ( (binary_expression "(double)local_a8 - *(double *)(*(long *)((long)this + 0x40) + 8)" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "*(double *)(*(long *)((long)this + 0x40) + 8)" * (cast_expression "(double *)(*(long *)((long)this + 0x40) + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)this + 0x40) + 8)" ( (binary_expression "*(long *)((long)this + 0x40) + 8" (pointer_expression "*(long *)((long)this + 0x40)" * (cast_expression "(long *)((long)this + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x40)" ( (binary_expression "(long)this + 0x40" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) ))))) )) * (pointer_expression "*(double *)(*(long *)((long)this + 0x48) + 8)" * (cast_expression "(double *)(*(long *)((long)this + 0x48) + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)this + 0x48) + 8)" ( (binary_expression "*(long *)((long)this + 0x48) + 8" (pointer_expression "*(long *)((long)this + 0x48)" * (cast_expression "(long *)((long)this + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x48)" ( (binary_expression "(long)this + 0x48" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (0 < (long)source->columns) {\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }" if (parenthesized_expression "(0 < (long)source->columns)" ( (binary_expression "0 < (long)source->columns" number_literal < (cast_expression "(long)source->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "source->columns" identifier -> field_identifier))) )) (compound_statement "{\n            lVar10 = 0;\n            do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);\n          }" { (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)source->columns);" do (compound_statement "{\n              dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);\n              dVar13 = dVar12 * dVar12 + dVar14 * dVar14;\n              if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }\n              pQVar8 = pQVar8 + source->number_channels;\n              pixel = pixel + destination->number_channels;\n              lVar10 = lVar10 + 1;\n            }" { (expression_statement "dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48);" (assignment_expression "dVar12 = ((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48)" identifier = (binary_expression "((double)lVar10 - **(double **)((long)this + 0x40)) *\n                       **(double **)((long)this + 0x48)" (parenthesized_expression "((double)lVar10 - **(double **)((long)this + 0x40))" ( (binary_expression "(double)lVar10 - **(double **)((long)this + 0x40)" (cast_expression "(double)lVar10" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "**(double **)((long)this + 0x40)" * (pointer_expression "*(double **)((long)this + 0x40)" * (cast_expression "(double **)((long)this + 0x40)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x40)" ( (binary_expression "(long)this + 0x40" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))))) )) * (pointer_expression "**(double **)((long)this + 0x48)" * (pointer_expression "*(double **)((long)this + 0x48)" * (cast_expression "(double **)((long)this + 0x48)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x48)" ( (binary_expression "(long)this + 0x48" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))))) ;) (expression_statement "dVar13 = dVar12 * dVar12 + dVar14 * dVar14;" (assignment_expression "dVar13 = dVar12 * dVar12 + dVar14 * dVar14" identifier = (binary_expression "dVar12 * dVar12 + dVar14 * dVar14" (binary_expression "dVar12 * dVar12" identifier * identifier) + (binary_expression "dVar14 * dVar14" identifier * identifier))) ;) (if_statement "if (dVar1 * dVar1 <= dVar13) {\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }\n              else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }" if (parenthesized_expression "(dVar1 * dVar1 <= dVar13)" ( (binary_expression "dVar1 * dVar1 <= dVar13" (binary_expression "dVar1 * dVar1" identifier * identifier) <= identifier) )) (compound_statement "{\n                if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }\n              }" { (if_statement "if (0 < (long)source->number_channels) {\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }" if (parenthesized_expression "(0 < (long)source->number_channels)" ( (binary_expression "0 < (long)source->number_channels" number_literal < (cast_expression "(long)source->number_channels" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "source->number_channels" identifier -> field_identifier))) )) (compound_statement "{\n                  lVar9 = 0;\n                  do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);\n                }" { (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  } while (lVar9 < (long)source->number_channels);" do (compound_statement "{\n                    PVar2 = source->channel_map[lVar9].channel;\n                    if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }\n                    lVar9 = lVar9 + 1;\n                  }" { (expression_statement "PVar2 = source->channel_map[lVar9].channel;" (assignment_expression "PVar2 = source->channel_map[lVar9].channel" identifier = (field_expression "source->channel_map[lVar9].channel" (subscript_expression "source->channel_map[lVar9]" (field_expression "source->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (if_statement "if (((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)) {\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }" if (parenthesized_expression "(((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait))" ( (binary_expression "((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)) &&\n                       (destination->channel_map[PVar2].traits != UndefinedPixelTrait)" (parenthesized_expression "((destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait))" ( (binary_expression "(destination->channel_map[PVar2].traits != UndefinedPixelTrait) &&\n                        (source->channel_map[PVar2].traits != UndefinedPixelTrait)" (parenthesized_expression "(destination->channel_map[PVar2].traits != UndefinedPixelTrait)" ( (binary_expression "destination->channel_map[PVar2].traits != UndefinedPixelTrait" (field_expression "destination->channel_map[PVar2].traits" (subscript_expression "destination->channel_map[PVar2]" (field_expression "destination->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) != identifier) )) && (parenthesized_expression "(source->channel_map[PVar2].traits != UndefinedPixelTrait)" ( (binary_expression "source->channel_map[PVar2].traits != UndefinedPixelTrait" (field_expression "source->channel_map[PVar2].traits" (subscript_expression "source->channel_map[PVar2]" (field_expression "source->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) != identifier) ))) )) && (parenthesized_expression "(destination->channel_map[PVar2].traits != UndefinedPixelTrait)" ( (binary_expression "destination->channel_map[PVar2].traits != UndefinedPixelTrait" (field_expression "destination->channel_map[PVar2].traits" (subscript_expression "destination->channel_map[PVar2]" (field_expression "destination->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) != identifier) ))) )) (compound_statement "{\n                      pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];\n                    }" { (expression_statement "pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9];" (assignment_expression "pixel[destination->channel_map[PVar2].offset] = pQVar8[lVar9]" (subscript_expression "pixel[destination->channel_map[PVar2].offset]" identifier [ (field_expression "destination->channel_map[PVar2].offset" (subscript_expression "destination->channel_map[PVar2]" (field_expression "destination->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) ]) = (subscript_expression "pQVar8[lVar9]" identifier [ identifier ])) ;) })) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar9 < (long)source->number_channels)" ( (binary_expression "lVar9 < (long)source->number_channels" identifier < (cast_expression "(long)source->number_channels" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "source->number_channels" identifier -> field_identifier))) )) ;) })) }) (else_clause "else {\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }" else (compound_statement "{\n                dVar11 = DAT_003f9608;\n                if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }\n                MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);\n                *(MagickBooleanType *)((long)this + 0x5c) = MVar6;\n                if (MVar6 == MagickFalse) break;\n              }" { (expression_statement "dVar11 = DAT_003f9608;" (assignment_expression "dVar11 = DAT_003f9608" identifier = identifier) ;) (if_statement "if (DAT_003fa398 < dVar13) {\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }" if (parenthesized_expression "(DAT_003fa398 < dVar13)" ( (binary_expression "DAT_003fa398 < dVar13" identifier < identifier) )) (compound_statement "{\n                  if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }\n                  dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar11 = pow(dVar13,__y);\n                }" { (if_statement "if (dVar13 < 0.0) {\n                    sqrt(dVar13);\n                  }" if (parenthesized_expression "(dVar13 < 0.0)" ( (binary_expression "dVar13 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    sqrt(dVar13);\n                  }" { (expression_statement "sqrt(dVar13);" (call_expression "sqrt(dVar13)" identifier (argument_list "(dVar13)" ( identifier ))) ;) })) (expression_statement "dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);" (assignment_expression "dVar13 = sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier = (call_expression "sin(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier (argument_list "(((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" ( (binary_expression "((SQRT(dVar13) * DAT_003fa3d8) / dVar1) * DAT_003f9c28" (parenthesized_expression "((SQRT(dVar13) * DAT_003fa3d8) / dVar1)" ( (binary_expression "(SQRT(dVar13) * DAT_003fa3d8) / dVar1" (parenthesized_expression "(SQRT(dVar13) * DAT_003fa3d8)" ( (binary_expression "SQRT(dVar13) * DAT_003fa3d8" (call_expression "SQRT(dVar13)" identifier (argument_list "(dVar13)" ( identifier ))) * identifier) )) / identifier) )) * identifier) )))) ;) (expression_statement "dVar11 = pow(dVar13,__y);" (assignment_expression "dVar11 = pow(dVar13,__y)" identifier = (call_expression "pow(dVar13,__y)" identifier (argument_list "(dVar13,__y)" ( identifier , identifier )))) ;) })) (expression_statement "MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception);" (assignment_expression "MVar6 = InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception)" identifier = (call_expression "InterpolatePixelChannels\n                                  (source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception)" identifier (argument_list "(source,source_view,destination,method,\n                                   (dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40),\n                                   (dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1],pixel,exception)" ( identifier , identifier , identifier , identifier , (binary_expression "(dVar11 * dVar12) / **(double **)((long)this + 0x48) +\n                                   **(double **)((long)this + 0x40)" (binary_expression "(dVar11 * dVar12) / **(double **)((long)this + 0x48)" (parenthesized_expression "(dVar11 * dVar12)" ( (binary_expression "dVar11 * dVar12" identifier * identifier) )) / (pointer_expression "**(double **)((long)this + 0x48)" * (pointer_expression "*(double **)((long)this + 0x48)" * (cast_expression "(double **)((long)this + 0x48)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x48)" ( (binary_expression "(long)this + 0x48" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))))) + (pointer_expression "**(double **)((long)this + 0x40)" * (pointer_expression "*(double **)((long)this + 0x40)" * (cast_expression "(double **)((long)this + 0x40)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x40)" ( (binary_expression "(long)this + 0x40" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))))) , (binary_expression "(dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1] +\n                                   (*(double **)((long)this + 0x40))[1]" (binary_expression "(dVar14 * dVar11) / (*(double **)((long)this + 0x48))[1]" (parenthesized_expression "(dVar14 * dVar11)" ( (binary_expression "dVar14 * dVar11" identifier * identifier) )) / (subscript_expression "(*(double **)((long)this + 0x48))[1]" (parenthesized_expression "(*(double **)((long)this + 0x48))" ( (pointer_expression "*(double **)((long)this + 0x48)" * (cast_expression "(double **)((long)this + 0x48)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x48)" ( (binary_expression "(long)this + 0x48" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )) [ number_literal ])) + (subscript_expression "(*(double **)((long)this + 0x40))[1]" (parenthesized_expression "(*(double **)((long)this + 0x40))" ( (pointer_expression "*(double **)((long)this + 0x40)" * (cast_expression "(double **)((long)this + 0x40)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x40)" ( (binary_expression "(long)this + 0x40" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )) [ number_literal ])) , identifier , identifier )))) ;) (expression_statement "*(MagickBooleanType *)((long)this + 0x5c) = MVar6;" (assignment_expression "*(MagickBooleanType *)((long)this + 0x5c) = MVar6" (pointer_expression "*(MagickBooleanType *)((long)this + 0x5c)" * (cast_expression "(MagickBooleanType *)((long)this + 0x5c)" ( (type_descriptor "MagickBooleanType *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x5c)" ( (binary_expression "(long)this + 0x5c" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (MVar6 == MagickFalse) break;" if (parenthesized_expression "(MVar6 == MagickFalse)" ( (binary_expression "MVar6 == MagickFalse" identifier == identifier) )) (break_statement "break;" break ;)) }))) (expression_statement "pQVar8 = pQVar8 + source->number_channels;" (assignment_expression "pQVar8 = pQVar8 + source->number_channels" identifier = (binary_expression "pQVar8 + source->number_channels" identifier + (field_expression "source->number_channels" identifier -> field_identifier))) ;) (expression_statement "pixel = pixel + destination->number_channels;" (assignment_expression "pixel = pixel + destination->number_channels" identifier = (binary_expression "pixel + destination->number_channels" identifier + (field_expression "destination->number_channels" identifier -> field_identifier))) ;) (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 < (long)source->columns)" ( (binary_expression "lVar10 < (long)source->columns" identifier < (cast_expression "(long)source->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "source->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar6 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar6 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }" if (parenthesized_expression "(MVar6 == MagickFalse)" ( (binary_expression "MVar6 == MagickFalse" identifier == identifier) )) (compound_statement "{\n            *(undefined4 *)((long)this + 0x5c) = 0;\n          }" { (expression_statement "*(undefined4 *)((long)this + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x5c)" * (cast_expression "(undefined4 *)((long)this + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x5c)" ( (binary_expression "(long)this + 0x5c" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (source->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }" if (parenthesized_expression "(source->progress_monitor != (MagickProgressMonitor)0x0)" ( (binary_expression "source->progress_monitor != (MagickProgressMonitor)0x0" (field_expression "source->progress_monitor" identifier -> field_identifier) != (cast_expression "(MagickProgressMonitor)0x0" ( (type_descriptor "MagickProgressMonitor" type_identifier) ) number_literal)) )) (compound_statement "{\n            LOCK();\n            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;\n            UNLOCK();\n            MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);\n            if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;" (assignment_expression "**(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1" (pointer_expression "**(long **)((long)this + 0x50)" * (pointer_expression "*(long **)((long)this + 0x50)" * (cast_expression "(long **)((long)this + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x50)" ( (binary_expression "(long)this + 0x50" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) = (binary_expression "**(long **)((long)this + 0x50) + 1" (pointer_expression "**(long **)((long)this + 0x50)" * (pointer_expression "*(long **)((long)this + 0x50)" * (cast_expression "(long **)((long)this + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x50)" ( (binary_expression "(long)this + 0x50" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows);" (assignment_expression "MVar6 = SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows)" identifier = (call_expression "SetImageProgress(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows)" identifier (argument_list "(source,"Implode/Image",\n                                     **(MagickOffsetType **)((long)this + 0x50),source->rows)" ( identifier , (string_literal ""Implode/Image"" " string_content ") , (pointer_expression "**(MagickOffsetType **)((long)this + 0x50)" * (pointer_expression "*(MagickOffsetType **)((long)this + 0x50)" * (cast_expression "(MagickOffsetType **)((long)this + 0x50)" ( (type_descriptor "MagickOffsetType **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x50)" ( (binary_expression "(long)this + 0x50" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) , (field_expression "source->rows" identifier -> field_identifier) )))) ;) (if_statement "if (MVar6 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }" if (parenthesized_expression "(MVar6 == MagickFalse)" ( (binary_expression "MVar6 == MagickFalse" identifier == identifier) )) (compound_statement "{\n              *(undefined4 *)((long)this + 0x5c) = 0;\n            }" { (expression_statement "*(undefined4 *)((long)this + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x5c)" * (cast_expression "(undefined4 *)((long)this + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x5c)" ( (binary_expression "(long)this + 0x5c" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar7 != local_a8)" ( (binary_expression "lVar7 != local_a8" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002e8904(ulong *param_1)\n\n{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002e8904(ulong *param_1)\n\n{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002e8904(ulong *param_1)" identifier (parameter_list "(ulong *param_1)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "long local_a8;" (sized_type_specifier "long" long) identifier ;) (expression_statement "uVar2 = param_1[6];" (assignment_expression "uVar2 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "local_a8 = *(long *)(uVar2 + 0x28);" (assignment_expression "local_a8 = *(long *)(uVar2 + 0x28)" identifier = (pointer_expression "*(long *)(uVar2 + 0x28)" * (cast_expression "(long *)(uVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x28)" ( (binary_expression "uVar2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = omp_get_num_threads();" (assignment_expression "iVar9 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = omp_get_thread_num();" (assignment_expression "iVar10 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar11 = local_a8 / (long)iVar9;" (assignment_expression "lVar11 = local_a8 / (long)iVar9" identifier = (binary_expression "local_a8 / (long)iVar9" identifier / (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_a8 = local_a8 % (long)iVar9;" (assignment_expression "local_a8 = local_a8 % (long)iVar9" identifier = (binary_expression "local_a8 % (long)iVar9" identifier % (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" if (parenthesized_expression "(iVar10 < local_a8)" ( (binary_expression "iVar10 < local_a8" identifier < identifier) )) (compound_statement "{\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" { (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) })) (expression_statement "local_a8 = iVar10 * lVar11 + local_a8;" (assignment_expression "local_a8 = iVar10 * lVar11 + local_a8" identifier = (binary_expression "iVar10 * lVar11 + local_a8" (binary_expression "iVar10 * lVar11" identifier * identifier) + identifier)) ;) (expression_statement "lVar11 = lVar11 + local_a8;" (assignment_expression "lVar11 = lVar11 + local_a8" identifier = (binary_expression "lVar11 + local_a8" identifier + identifier)) ;) (if_statement "if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" if (parenthesized_expression "(local_a8 < lVar11)" ( (binary_expression "local_a8 < lVar11" identifier < identifier) )) (compound_statement "{\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" { (expression_statement "uVar3 = param_1[7];" (assignment_expression "uVar3 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "dVar1 = (double)param_1[5];" (assignment_expression "dVar1 = (double)param_1[5]" identifier = (cast_expression "(double)param_1[5]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar4 = param_1[4];" (assignment_expression "uVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = param_1[2];" (assignment_expression "uVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = param_1[0xb];" (assignment_expression "uVar8 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "__y = (double)(*param_1 ^ DAT_003f9610);" (assignment_expression "__y = (double)(*param_1 ^ DAT_003f9610)" identifier = (cast_expression "(double)(*param_1 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(*param_1 ^ DAT_003f9610)" ( (binary_expression "*param_1 ^ DAT_003f9610" (pointer_expression "*param_1" * identifier) ^ identifier) )))) ;) (do_statement "do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);" do (compound_statement "{\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    }" { (if_statement "if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((long)param_1 + 0x5c) != 0)" ( (binary_expression "*(int *)((long)param_1 + 0x5c) != 0" (pointer_expression "*(int *)((long)param_1 + 0x5c)" * (cast_expression "(int *)((long)param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);" (assignment_expression "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" identifier (argument_list "(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(uVar2 + 0x20)" * (cast_expression "(undefined8 *)(uVar2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);" (assignment_expression "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" identifier (argument_list "(uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(uVar3 + 0x20)" * (cast_expression "(undefined8 *)(uVar3 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x20)" ( (binary_expression "uVar3 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" if (parenthesized_expression "((lVar13 == 0) || (lVar14 == 0))" ( (binary_expression "(lVar13 == 0) || (lVar14 == 0)" (parenthesized_expression "(lVar13 == 0)" ( (binary_expression "lVar13 == 0" identifier == number_literal) )) || (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) ))) )) (compound_statement "{\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" { (expression_statement "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);" (assignment_expression "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" identifier = (binary_expression "((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" (parenthesized_expression "((double)local_a8 - *(double *)(param_1[8] + 8))" ( (binary_expression "(double)local_a8 - *(double *)(param_1[8] + 8)" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "*(double *)(param_1[8] + 8)" * (cast_expression "(double *)(param_1[8] + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[8] + 8)" ( (binary_expression "param_1[8] + 8" (subscript_expression "param_1[8]" identifier [ number_literal ]) + number_literal) ))))) )) * (pointer_expression "*(double *)(param_1[9] + 8)" * (cast_expression "(double *)(param_1[9] + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 8)" ( (binary_expression "param_1[9] + 8" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) )))))) ;) (if_statement "if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(uVar2 + 0x20))" ( (binary_expression "0 < *(long *)(uVar2 + 0x20)" number_literal < (pointer_expression "*(long *)(uVar2 + 0x20)" * (cast_expression "(long *)(uVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" { (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));" do (compound_statement "{\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            }" { (expression_statement "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];" (assignment_expression "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" identifier = (binary_expression "((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" (parenthesized_expression "((double)lVar16 - *(double *)param_1[8])" ( (binary_expression "(double)lVar16 - *(double *)param_1[8]" (cast_expression "(double)lVar16" ( (type_descriptor "double" primitive_type) ) identifier) - (pointer_expression "*(double *)param_1[8]" * (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) )) * (pointer_expression "*(double *)param_1[9]" * (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))))) ;) (expression_statement "dVar19 = dVar18 * dVar18 + dVar20 * dVar20;" (assignment_expression "dVar19 = dVar18 * dVar18 + dVar20 * dVar20" identifier = (binary_expression "dVar18 * dVar18 + dVar20 * dVar20" (binary_expression "dVar18 * dVar18" identifier * identifier) + (binary_expression "dVar20 * dVar20" identifier * identifier))) ;) (if_statement "if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" if (parenthesized_expression "(dVar1 * dVar1 <= dVar19)" ( (binary_expression "dVar1 * dVar1 <= dVar19" (binary_expression "dVar1 * dVar1" identifier * identifier) <= identifier) )) (compound_statement "{\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }" { (if_statement "if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" if (parenthesized_expression "(0 < *(long *)(uVar2 + 0x340))" ( (binary_expression "0 < *(long *)(uVar2 + 0x340)" number_literal < (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) ))))) )) (compound_statement "{\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" { (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) (do_statement "do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));" do (compound_statement "{\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  }" { (expression_statement "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;" (assignment_expression "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" identifier = (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" ( (binary_expression "*(long *)(uVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(uVar2 + 0x360)" * (cast_expression "(long *)(uVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x360)" ( (binary_expression "uVar2 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar15 * 0x10" identifier * number_literal)) )))) * number_literal)) ;) (if_statement "if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" if (parenthesized_expression "(((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0))" ( (binary_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" (parenthesized_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0))" ( (binary_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" (parenthesized_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0)" ( (binary_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" * (cast_expression "(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar3 + 0x360) + 4 + lVar12)" ( (binary_expression "*(long *)(uVar3 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar3 + 0x360) + 4" (pointer_expression "*(long *)(uVar3 + 0x360)" * (cast_expression "(long *)(uVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x360)" ( (binary_expression "uVar3 + 0x360" identifier + number_literal) )))) + number_literal) + identifier) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" ( (binary_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" * (cast_expression "(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(uVar2 + 0x360) + 4 + lVar12)" ( (binary_expression "*(long *)(uVar2 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar2 + 0x360) + 4" (pointer_expression "*(long *)(uVar2 + 0x360)" * (cast_expression "(long *)(uVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x360)" ( (binary_expression "uVar2 + 0x360" identifier + number_literal) )))) + number_literal) + identifier) )))) != number_literal) ))) )) && (parenthesized_expression "(lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" ( (comma_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0" (assignment_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360)" identifier = (binary_expression "lVar12 + *(long *)(uVar3 + 0x360)" identifier + (pointer_expression "*(long *)(uVar3 + 0x360)" * (cast_expression "(long *)(uVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x360)" ( (binary_expression "uVar3 + 0x360" identifier + number_literal) )))))) , (binary_expression "*(int *)(lVar12 + 4) != 0" (pointer_expression "*(int *)(lVar12 + 4)" * (cast_expression "(int *)(lVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 4)" ( (binary_expression "lVar12 + 4" identifier + number_literal) )))) != number_literal)) ))) )) (compound_statement "{\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" { (expression_statement "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);" (assignment_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4)" (pointer_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" * (cast_expression "(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + *(long *)(lVar12 + 8) * 4)" ( (binary_expression "lVar14 + *(long *)(lVar12 + 8) * 4" identifier + (binary_expression "*(long *)(lVar12 + 8) * 4" (pointer_expression "*(long *)(lVar12 + 8)" * (cast_expression "(long *)(lVar12 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 8)" ( (binary_expression "lVar12 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined4 *)(lVar13 + lVar15 * 4)" * (cast_expression "(undefined4 *)(lVar13 + lVar15 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar13 + lVar15 * 4)" ( (binary_expression "lVar13 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) ))))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar15 < *(long *)(uVar2 + 0x340))" ( (binary_expression "lVar15 < *(long *)(uVar2 + 0x340)" identifier < (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) ))))) )) ;) })) }) (else_clause "else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" else (compound_statement "{\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" { (expression_statement "dVar17 = DAT_003f9608;" (assignment_expression "dVar17 = DAT_003f9608" identifier = identifier) ;) (if_statement "if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" if (parenthesized_expression "(DAT_003fa398 < dVar19)" ( (binary_expression "DAT_003fa398 < dVar19" identifier < identifier) )) (compound_statement "{\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" { (if_statement "if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    sqrt(dVar19);\n                  }" { (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;) })) (expression_statement "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);" (assignment_expression "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier = (call_expression "sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" identifier (argument_list "(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" ( (binary_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28" (parenthesized_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1)" ( (binary_expression "(SQRT(dVar19) * DAT_003fa3d8) / dVar1" (parenthesized_expression "(SQRT(dVar19) * DAT_003fa3d8)" ( (binary_expression "SQRT(dVar19) * DAT_003fa3d8" (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) * identifier) )) / identifier) )) * identifier) )))) ;) (expression_statement "dVar17 = pow(dVar19,__y);" (assignment_expression "dVar17 = pow(dVar19,__y)" identifier = (call_expression "pow(dVar19,__y)" identifier (argument_list "(dVar19,__y)" ( identifier , identifier )))) ;) })) (expression_statement "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);" (assignment_expression "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" identifier = (call_expression "InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" identifier (argument_list "((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" ( (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]" (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9]" (parenthesized_expression "(dVar17 * dVar18)" ( (binary_expression "dVar17 * dVar18" identifier * identifier) )) / (pointer_expression "*(double *)param_1[9]" * (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])))) + (pointer_expression "*(double *)param_1[8]" * (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) , (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1]" (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1]" (parenthesized_expression "(dVar20 * dVar17)" ( (binary_expression "dVar20 * dVar17" identifier * identifier) )) / (subscript_expression "((double *)param_1[9])[1]" (parenthesized_expression "((double *)param_1[9])" ( (cast_expression "(double *)param_1[9]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])) )) [ number_literal ])) + (subscript_expression "((double *)param_1[8])[1]" (parenthesized_expression "((double *)param_1[8])" ( (cast_expression "(double *)param_1[8]" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) )) [ number_literal ])) , identifier , identifier , identifier , (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier )))) ;) (expression_statement "*(int *)((long)param_1 + 0x5c) = iVar9;" (assignment_expression "*(int *)((long)param_1 + 0x5c) = iVar9" (pointer_expression "*(int *)((long)param_1 + 0x5c)" * (cast_expression "(int *)((long)param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 0) break;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;" (assignment_expression "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4" identifier = (binary_expression "lVar13 + *(long *)(uVar2 + 0x340) * 4" identifier + (binary_expression "*(long *)(uVar2 + 0x340) * 4" (pointer_expression "*(long *)(uVar2 + 0x340)" * (cast_expression "(long *)(uVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x340)" ( (binary_expression "uVar2 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;" (assignment_expression "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4" identifier = (binary_expression "lVar14 + *(long *)(uVar3 + 0x340) * 4" identifier + (binary_expression "*(long *)(uVar3 + 0x340) * 4" (pointer_expression "*(long *)(uVar3 + 0x340)" * (cast_expression "(long *)(uVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + 0x340)" ( (binary_expression "uVar3 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" identifier = (binary_expression "lVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar16 < *(long *)(uVar2 + 0x20))" ( (binary_expression "lVar16 < *(long *)(uVar2 + 0x20)" identifier < (pointer_expression "*(long *)(uVar2 + 0x20)" * (cast_expression "(long *)(uVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x20)" ( (binary_expression "uVar2 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);" (assignment_expression "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(uVar2 + 0x3c8) != 0)" ( (binary_expression "*(long *)(uVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(uVar2 + 0x3c8)" * (cast_expression "(long *)(uVar2 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x3c8)" ( (binary_expression "uVar2 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(long *)param_1[10] = *(long *)param_1[10] + 1;" (assignment_expression "*(long *)param_1[10] = *(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" * (cast_expression "(long *)param_1[10]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) = (binary_expression "*(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" * (cast_expression "(long *)param_1[10]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));" (assignment_expression "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" identifier = (call_expression "SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" identifier (argument_list "(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" ( identifier , (string_literal ""Implode/Image"" " string_content ") , (pointer_expression "*(undefined8 *)param_1[10]" * (cast_expression "(undefined8 *)param_1[10]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) , (pointer_expression "*(undefined8 *)(uVar2 + 0x28)" * (cast_expression "(undefined8 *)(uVar2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + 0x28)" ( (binary_expression "uVar2 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x5c)" ( (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar11 != local_a8)" ( (binary_expression "lVar11 != local_a8" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) ^ IDENT) )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) )) * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + (binary_expression IDENT * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT ))) * IDENT) )) / IDENT) )) * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT * IDENT) )) / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT * IDENT) )) / (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ])) + (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ])) , IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) })) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002e8904(ulong *param_1)\n\n{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002e8904(ulong *param_1)" (identifier "FUN_002e8904") (parameter_list "(ulong *param_1)" (( "(") (parameter_declaration "ulong *param_1" (type_identifier "ulong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  double dVar1;\n  ulong uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  double __y;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long local_a8;\n  \n  uVar2 = param_1[6];\n  local_a8 = *(long *)(uVar2 + 0x28);\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  lVar11 = local_a8 / (long)iVar9;\n  local_a8 = local_a8 % (long)iVar9;\n  if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }\n  local_a8 = iVar10 * lVar11 + local_a8;\n  lVar11 = lVar11 + local_a8;\n  if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "ulong uVar8;" (type_identifier "ulong") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "long lVar13;" (sized_type_specifier "long" (long "long")) (identifier "lVar13") (; ";")) (declaration "long lVar14;" (sized_type_specifier "long" (long "long")) (identifier "lVar14") (; ";")) (declaration "long lVar15;" (sized_type_specifier "long" (long "long")) (identifier "lVar15") (; ";")) (declaration "long lVar16;" (sized_type_specifier "long" (long "long")) (identifier "lVar16") (; ";")) (declaration "double __y;" (primitive_type "double") (identifier "__y") (; ";")) (declaration "double dVar17;" (primitive_type "double") (identifier "dVar17") (; ";")) (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 "long local_a8;" (sized_type_specifier "long" (long "long")) (identifier "local_a8") (; ";")) (expression_statement "uVar2 = param_1[6];" (assignment_expression "uVar2 = param_1[6]" (identifier "uVar2") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "local_a8 = *(long *)(uVar2 + 0x28);" (assignment_expression "local_a8 = *(long *)(uVar2 + 0x28)" (identifier "local_a8") (= "=") (pointer_expression "*(long *)(uVar2 + 0x28)" (* "*") (cast_expression "(long *)(uVar2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x28)" (( "(") (binary_expression "uVar2 + 0x28" (identifier "uVar2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar9 = omp_get_num_threads();" (assignment_expression "iVar9 = omp_get_num_threads()" (identifier "iVar9") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar10 = omp_get_thread_num();" (assignment_expression "iVar10 = omp_get_thread_num()" (identifier "iVar10") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "lVar11 = local_a8 / (long)iVar9;" (assignment_expression "lVar11 = local_a8 / (long)iVar9" (identifier "lVar11") (= "=") (binary_expression "local_a8 / (long)iVar9" (identifier "local_a8") (/ "/") (cast_expression "(long)iVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar9")))) (; ";")) (expression_statement "local_a8 = local_a8 % (long)iVar9;" (assignment_expression "local_a8 = local_a8 % (long)iVar9" (identifier "local_a8") (= "=") (binary_expression "local_a8 % (long)iVar9" (identifier "local_a8") (% "%") (cast_expression "(long)iVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar9")))) (; ";")) (if_statement "if (iVar10 < local_a8) {\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" (if "if") (parenthesized_expression "(iVar10 < local_a8)" (( "(") (binary_expression "iVar10 < local_a8" (identifier "iVar10") (< "<") (identifier "local_a8")) () ")")) (compound_statement "{\n    lVar11 = lVar11 + 1;\n    local_a8 = 0;\n  }" ({ "{") (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + 1" (identifier "lVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_a8 = iVar10 * lVar11 + local_a8;" (assignment_expression "local_a8 = iVar10 * lVar11 + local_a8" (identifier "local_a8") (= "=") (binary_expression "iVar10 * lVar11 + local_a8" (binary_expression "iVar10 * lVar11" (identifier "iVar10") (* "*") (identifier "lVar11")) (+ "+") (identifier "local_a8"))) (; ";")) (expression_statement "lVar11 = lVar11 + local_a8;" (assignment_expression "lVar11 = lVar11 + local_a8" (identifier "lVar11") (= "=") (binary_expression "lVar11 + local_a8" (identifier "lVar11") (+ "+") (identifier "local_a8"))) (; ";")) (if_statement "if (local_a8 < lVar11) {\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" (if "if") (parenthesized_expression "(local_a8 < lVar11)" (( "(") (binary_expression "local_a8 < lVar11" (identifier "local_a8") (< "<") (identifier "lVar11")) () ")")) (compound_statement "{\n    uVar3 = param_1[7];\n    dVar1 = (double)param_1[5];\n    uVar4 = param_1[4];\n    uVar5 = param_1[3];\n    uVar6 = param_1[2];\n    uVar7 = param_1[1];\n    uVar8 = param_1[0xb];\n    __y = (double)(*param_1 ^ DAT_003f9610);\n    do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);\n  }" ({ "{") (expression_statement "uVar3 = param_1[7];" (assignment_expression "uVar3 = param_1[7]" (identifier "uVar3") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "dVar1 = (double)param_1[5];" (assignment_expression "dVar1 = (double)param_1[5]" (identifier "dVar1") (= "=") (cast_expression "(double)param_1[5]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "uVar4 = param_1[4];" (assignment_expression "uVar4 = param_1[4]" (identifier "uVar4") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" (identifier "uVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar6 = param_1[2];" (assignment_expression "uVar6 = param_1[2]" (identifier "uVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" (identifier "uVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = param_1[0xb];" (assignment_expression "uVar8 = param_1[0xb]" (identifier "uVar8") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "__y = (double)(*param_1 ^ DAT_003f9610);" (assignment_expression "__y = (double)(*param_1 ^ DAT_003f9610)" (identifier "__y") (= "=") (cast_expression "(double)(*param_1 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(*param_1 ^ DAT_003f9610)" (( "(") (binary_expression "*param_1 ^ DAT_003f9610" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (do_statement "do {\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    } while (lVar11 != local_a8);" (do "do") (compound_statement "{\n      if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }\n      local_a8 = local_a8 + 1;\n    }" ({ "{") (if_statement "if (*(int *)((long)param_1 + 0x5c) != 0) {\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)((long)param_1 + 0x5c) != 0)" (( "(") (binary_expression "*(int *)((long)param_1 + 0x5c) != 0" (pointer_expression "*(int *)((long)param_1 + 0x5c)" (* "*") (cast_expression "(int *)((long)param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x5c)" (( "(") (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);\n        lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);\n        if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);" (assignment_expression "lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" (identifier "lVar13") (= "=") (call_expression "GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7)" (( "(") (identifier "uVar6") (, ",") (number_literal "0") (, ",") (identifier "local_a8") (, ",") (pointer_expression "*(undefined8 *)(uVar2 + 0x20)" (* "*") (cast_expression "(undefined8 *)(uVar2 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x20)" (( "(") (binary_expression "uVar2 + 0x20" (identifier "uVar2") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);" (assignment_expression "lVar14 = QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" (identifier "lVar14") (= "=") (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" (identifier "QueueCacheViewAuthenticPixels") (argument_list "(uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7)" (( "(") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (identifier "local_a8") (, ",") (pointer_expression "*(undefined8 *)(uVar3 + 0x20)" (* "*") (cast_expression "(undefined8 *)(uVar3 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + 0x20)" (( "(") (binary_expression "uVar3 + 0x20" (identifier "uVar3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if ((lVar13 == 0) || (lVar14 == 0)) {\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }\n        else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" (if "if") (parenthesized_expression "((lVar13 == 0) || (lVar14 == 0))" (( "(") (binary_expression "(lVar13 == 0) || (lVar14 == 0)" (parenthesized_expression "(lVar13 == 0)" (( "(") (binary_expression "lVar13 == 0" (identifier "lVar13") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(lVar14 == 0)" (( "(") (binary_expression "lVar14 == 0" (identifier "lVar14") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          *(undefined4 *)((long)param_1 + 0x5c) = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x5c)" (( "(") (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);\n          if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);\n          if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }\n          if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }\n        }" ({ "{") (expression_statement "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);" (assignment_expression "dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" (identifier "dVar20") (= "=") (binary_expression "((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8)" (parenthesized_expression "((double)local_a8 - *(double *)(param_1[8] + 8))" (( "(") (binary_expression "(double)local_a8 - *(double *)(param_1[8] + 8)" (cast_expression "(double)local_a8" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_a8")) (- "-") (pointer_expression "*(double *)(param_1[8] + 8)" (* "*") (cast_expression "(double *)(param_1[8] + 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[8] + 8)" (( "(") (binary_expression "param_1[8] + 8" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (* "*") (pointer_expression "*(double *)(param_1[9] + 8)" (* "*") (cast_expression "(double *)(param_1[9] + 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[9] + 8)" (( "(") (binary_expression "param_1[9] + 8" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (0 < *(long *)(uVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" (if "if") (parenthesized_expression "(0 < *(long *)(uVar2 + 0x20))" (( "(") (binary_expression "0 < *(long *)(uVar2 + 0x20)" (number_literal "0") (< "<") (pointer_expression "*(long *)(uVar2 + 0x20)" (* "*") (cast_expression "(long *)(uVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x20)" (( "(") (binary_expression "uVar2 + 0x20" (identifier "uVar2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n            lVar16 = 0;\n            do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));\n          }" ({ "{") (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" (identifier "lVar16") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(uVar2 + 0x20));" (do "do") (compound_statement "{\n              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];\n              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;\n              if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }\n              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;\n              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;\n              lVar16 = lVar16 + 1;\n            }" ({ "{") (expression_statement "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];" (assignment_expression "dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" (identifier "dVar18") (= "=") (binary_expression "((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9]" (parenthesized_expression "((double)lVar16 - *(double *)param_1[8])" (( "(") (binary_expression "(double)lVar16 - *(double *)param_1[8]" (cast_expression "(double)lVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar16")) (- "-") (pointer_expression "*(double *)param_1[8]" (* "*") (cast_expression "(double *)param_1[8]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))))) () ")")) (* "*") (pointer_expression "*(double *)param_1[9]" (* "*") (cast_expression "(double *)param_1[9]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")))))) (; ";")) (expression_statement "dVar19 = dVar18 * dVar18 + dVar20 * dVar20;" (assignment_expression "dVar19 = dVar18 * dVar18 + dVar20 * dVar20" (identifier "dVar19") (= "=") (binary_expression "dVar18 * dVar18 + dVar20 * dVar20" (binary_expression "dVar18 * dVar18" (identifier "dVar18") (* "*") (identifier "dVar18")) (+ "+") (binary_expression "dVar20 * dVar20" (identifier "dVar20") (* "*") (identifier "dVar20")))) (; ";")) (if_statement "if (dVar1 * dVar1 <= dVar19) {\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }\n              else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" (if "if") (parenthesized_expression "(dVar1 * dVar1 <= dVar19)" (( "(") (binary_expression "dVar1 * dVar1 <= dVar19" (binary_expression "dVar1 * dVar1" (identifier "dVar1") (* "*") (identifier "dVar1")) (<= "<=") (identifier "dVar19")) () ")")) (compound_statement "{\n                if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }\n              }" ({ "{") (if_statement "if (0 < *(long *)(uVar2 + 0x340)) {\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" (if "if") (parenthesized_expression "(0 < *(long *)(uVar2 + 0x340))" (( "(") (binary_expression "0 < *(long *)(uVar2 + 0x340)" (number_literal "0") (< "<") (pointer_expression "*(long *)(uVar2 + 0x340)" (* "*") (cast_expression "(long *)(uVar2 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x340)" (( "(") (binary_expression "uVar2 + 0x340" (identifier "uVar2") (+ "+") (number_literal "0x340")) () ")"))))) () ")")) (compound_statement "{\n                  lVar15 = 0;\n                  do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));\n                }" ({ "{") (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" (identifier "lVar15") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  } while (lVar15 < *(long *)(uVar2 + 0x340));" (do "do") (compound_statement "{\n                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;\n                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }\n                    lVar15 = lVar15 + 1;\n                  }" ({ "{") (expression_statement "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;" (assignment_expression "lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" (identifier "lVar12") (= "=") (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(uVar2 + 0x360) + lVar15 * 0x10)" (( "(") (binary_expression "*(long *)(uVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(uVar2 + 0x360)" (* "*") (cast_expression "(long *)(uVar2 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x360)" (( "(") (binary_expression "uVar2 + 0x360" (identifier "uVar2") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (binary_expression "lVar15 * 0x10" (identifier "lVar15") (* "*") (number_literal "0x10"))) () ")")))) (* "*") (number_literal "0x10"))) (; ";")) (if_statement "if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" (if "if") (parenthesized_expression "(((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0))" (( "(") (binary_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&\n                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" (parenthesized_expression "((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0))" (( "(") (binary_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&\n                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" (parenthesized_expression "(*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" (* "*") (cast_expression "(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(uVar3 + 0x360) + 4 + lVar12)" (( "(") (binary_expression "*(long *)(uVar3 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar3 + 0x360) + 4" (pointer_expression "*(long *)(uVar3 + 0x360)" (* "*") (cast_expression "(long *)(uVar3 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + 0x360)" (( "(") (binary_expression "uVar3 + 0x360" (identifier "uVar3") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (identifier "lVar12")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0" (pointer_expression "*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" (* "*") (cast_expression "(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(uVar2 + 0x360) + 4 + lVar12)" (( "(") (binary_expression "*(long *)(uVar2 + 0x360) + 4 + lVar12" (binary_expression "*(long *)(uVar2 + 0x360) + 4" (pointer_expression "*(long *)(uVar2 + 0x360)" (* "*") (cast_expression "(long *)(uVar2 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x360)" (( "(") (binary_expression "uVar2 + 0x360" (identifier "uVar2") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (identifier "lVar12")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)" (( "(") (comma_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0" (assignment_expression "lVar12 = lVar12 + *(long *)(uVar3 + 0x360)" (identifier "lVar12") (= "=") (binary_expression "lVar12 + *(long *)(uVar3 + 0x360)" (identifier "lVar12") (+ "+") (pointer_expression "*(long *)(uVar3 + 0x360)" (* "*") (cast_expression "(long *)(uVar3 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + 0x360)" (( "(") (binary_expression "uVar3 + 0x360" (identifier "uVar3") (+ "+") (number_literal "0x360")) () ")")))))) (, ",") (binary_expression "*(int *)(lVar12 + 4) != 0" (pointer_expression "*(int *)(lVar12 + 4)" (* "*") (cast_expression "(int *)(lVar12 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + 4)" (( "(") (binary_expression "lVar12 + 4" (identifier "lVar12") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);\n                    }" ({ "{") (expression_statement "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4);" (assignment_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =\n                           *(undefined4 *)(lVar13 + lVar15 * 4)" (pointer_expression "*(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" (* "*") (cast_expression "(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + *(long *)(lVar12 + 8) * 4)" (( "(") (binary_expression "lVar14 + *(long *)(lVar12 + 8) * 4" (identifier "lVar14") (+ "+") (binary_expression "*(long *)(lVar12 + 8) * 4" (pointer_expression "*(long *)(lVar12 + 8)" (* "*") (cast_expression "(long *)(lVar12 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + 8)" (( "(") (binary_expression "lVar12 + 8" (identifier "lVar12") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(lVar13 + lVar15 * 4)" (* "*") (cast_expression "(undefined4 *)(lVar13 + lVar15 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar13 + lVar15 * 4)" (( "(") (binary_expression "lVar13 + lVar15 * 4" (identifier "lVar13") (+ "+") (binary_expression "lVar15 * 4" (identifier "lVar15") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" (identifier "lVar15") (= "=") (binary_expression "lVar15 + 1" (identifier "lVar15") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar15 < *(long *)(uVar2 + 0x340))" (( "(") (binary_expression "lVar15 < *(long *)(uVar2 + 0x340)" (identifier "lVar15") (< "<") (pointer_expression "*(long *)(uVar2 + 0x340)" (* "*") (cast_expression "(long *)(uVar2 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x340)" (( "(") (binary_expression "uVar2 + 0x340" (identifier "uVar2") (+ "+") (number_literal "0x340")) () ")"))))) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" (else "else") (compound_statement "{\n                dVar17 = DAT_003f9608;\n                if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }\n                iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);\n                *(int *)((long)param_1 + 0x5c) = iVar9;\n                if (iVar9 == 0) break;\n              }" ({ "{") (expression_statement "dVar17 = DAT_003f9608;" (assignment_expression "dVar17 = DAT_003f9608" (identifier "dVar17") (= "=") (identifier "DAT_003f9608")) (; ";")) (if_statement "if (DAT_003fa398 < dVar19) {\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" (if "if") (parenthesized_expression "(DAT_003fa398 < dVar19)" (( "(") (binary_expression "DAT_003fa398 < dVar19" (identifier "DAT_003fa398") (< "<") (identifier "dVar19")) () ")")) (compound_statement "{\n                  if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }\n                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);\n                  dVar17 = pow(dVar19,__y);\n                }" ({ "{") (if_statement "if (dVar19 < 0.0) {\n                    sqrt(dVar19);\n                  }" (if "if") (parenthesized_expression "(dVar19 < 0.0)" (( "(") (binary_expression "dVar19 < 0.0" (identifier "dVar19") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                    sqrt(dVar19);\n                  }" ({ "{") (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" (identifier "sqrt") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))) (; ";")) (} "}"))) (expression_statement "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);" (assignment_expression "dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" (identifier "dVar19") (= "=") (call_expression "sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" (identifier "sin") (argument_list "(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28)" (( "(") (binary_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28" (parenthesized_expression "((SQRT(dVar19) * DAT_003fa3d8) / dVar1)" (( "(") (binary_expression "(SQRT(dVar19) * DAT_003fa3d8) / dVar1" (parenthesized_expression "(SQRT(dVar19) * DAT_003fa3d8)" (( "(") (binary_expression "SQRT(dVar19) * DAT_003fa3d8" (call_expression "SQRT(dVar19)" (identifier "SQRT") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))) (* "*") (identifier "DAT_003fa3d8")) () ")")) (/ "/") (identifier "dVar1")) () ")")) (* "*") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (expression_statement "dVar17 = pow(dVar19,__y);" (assignment_expression "dVar17 = pow(dVar19,__y)" (identifier "dVar17") (= "=") (call_expression "pow(dVar19,__y)" (identifier "pow") (argument_list "(dVar19,__y)" (( "(") (identifier "dVar19") (, ",") (identifier "__y") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7);" (assignment_expression "iVar9 = InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" (identifier "iVar9") (= "=") (call_expression "InterpolatePixelChannels\n                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" (identifier "InterpolatePixelChannels") (argument_list "((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]\n                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,\n                                   uVar7)" (( "(") (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]" (binary_expression "(dVar17 * dVar18) / *(double *)param_1[9]" (parenthesized_expression "(dVar17 * dVar18)" (( "(") (binary_expression "dVar17 * dVar18" (identifier "dVar17") (* "*") (identifier "dVar18")) () ")")) (/ "/") (pointer_expression "*(double *)param_1[9]" (* "*") (cast_expression "(double *)param_1[9]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))))) (+ "+") (pointer_expression "*(double *)param_1[8]" (* "*") (cast_expression "(double *)param_1[8]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))))) (, ",") (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1] +\n                                    ((double *)param_1[8])[1]" (binary_expression "(dVar20 * dVar17) / ((double *)param_1[9])[1]" (parenthesized_expression "(dVar20 * dVar17)" (( "(") (binary_expression "dVar20 * dVar17" (identifier "dVar20") (* "*") (identifier "dVar17")) () ")")) (/ "/") (subscript_expression "((double *)param_1[9])[1]" (parenthesized_expression "((double *)param_1[9])" (( "(") (cast_expression "(double *)param_1[9]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (+ "+") (subscript_expression "((double *)param_1[8])[1]" (parenthesized_expression "((double *)param_1[8])" (( "(") (cast_expression "(double *)param_1[8]" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "uVar2") (, ",") (identifier "uVar4") (, ",") (identifier "uVar3") (, ",") (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (, ",") (identifier "lVar14") (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "*(int *)((long)param_1 + 0x5c) = iVar9;" (assignment_expression "*(int *)((long)param_1 + 0x5c) = iVar9" (pointer_expression "*(int *)((long)param_1 + 0x5c)" (* "*") (cast_expression "(int *)((long)param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x5c)" (( "(") (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (iVar9 == 0) break;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (expression_statement "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;" (assignment_expression "lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4" (identifier "lVar13") (= "=") (binary_expression "lVar13 + *(long *)(uVar2 + 0x340) * 4" (identifier "lVar13") (+ "+") (binary_expression "*(long *)(uVar2 + 0x340) * 4" (pointer_expression "*(long *)(uVar2 + 0x340)" (* "*") (cast_expression "(long *)(uVar2 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x340)" (( "(") (binary_expression "uVar2 + 0x340" (identifier "uVar2") (+ "+") (number_literal "0x340")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;" (assignment_expression "lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4" (identifier "lVar14") (= "=") (binary_expression "lVar14 + *(long *)(uVar3 + 0x340) * 4" (identifier "lVar14") (+ "+") (binary_expression "*(long *)(uVar3 + 0x340) * 4" (pointer_expression "*(long *)(uVar3 + 0x340)" (* "*") (cast_expression "(long *)(uVar3 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + 0x340)" (( "(") (binary_expression "uVar3 + 0x340" (identifier "uVar3") (+ "+") (number_literal "0x340")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" (identifier "lVar16") (= "=") (binary_expression "lVar16 + 1" (identifier "lVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar16 < *(long *)(uVar2 + 0x20))" (( "(") (binary_expression "lVar16 < *(long *)(uVar2 + 0x20)" (identifier "lVar16") (< "<") (pointer_expression "*(long *)(uVar2 + 0x20)" (* "*") (cast_expression "(long *)(uVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x20)" (( "(") (binary_expression "uVar2 + 0x20" (identifier "uVar2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);" (assignment_expression "iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7)" (identifier "iVar9") (= "=") (call_expression "SyncCacheViewAuthenticPixels(uVar5,uVar7)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(uVar5,uVar7)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *(undefined4 *)((long)param_1 + 0x5c) = 0;\n          }" ({ "{") (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x5c)" (( "(") (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(long *)(uVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" (if "if") (parenthesized_expression "(*(long *)(uVar2 + 0x3c8) != 0)" (( "(") (binary_expression "*(long *)(uVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(uVar2 + 0x3c8)" (* "*") (cast_expression "(long *)(uVar2 + 0x3c8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x3c8)" (( "(") (binary_expression "uVar2 + 0x3c8" (identifier "uVar2") (+ "+") (number_literal "0x3c8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            LOCK();\n            *(long *)param_1[10] = *(long *)param_1[10] + 1;\n            UNLOCK();\n            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));\n            if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(long *)param_1[10] = *(long *)param_1[10] + 1;" (assignment_expression "*(long *)param_1[10] = *(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" (* "*") (cast_expression "(long *)param_1[10]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")))) (= "=") (binary_expression "*(long *)param_1[10] + 1" (pointer_expression "*(long *)param_1[10]" (* "*") (cast_expression "(long *)param_1[10]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28));" (assignment_expression "iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" (identifier "iVar9") (= "=") (call_expression "SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" (identifier "SetImageProgress") (argument_list "(uVar2,"Implode/Image",*(undefined8 *)param_1[10],\n                                     *(undefined8 *)(uVar2 + 0x28))" (( "(") (identifier "uVar2") (, ",") (string_literal ""Implode/Image"" (" """) (string_content "Implode/Image") (" """)) (, ",") (pointer_expression "*(undefined8 *)param_1[10]" (* "*") (cast_expression "(undefined8 *)param_1[10]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")))) (, ",") (pointer_expression "*(undefined8 *)(uVar2 + 0x28)" (* "*") (cast_expression "(undefined8 *)(uVar2 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + 0x28)" (( "(") (binary_expression "uVar2 + 0x28" (identifier "uVar2") (+ "+") (number_literal "0x28")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              *(undefined4 *)((long)param_1 + 0x5c) = 0;\n            }" ({ "{") (expression_statement "*(undefined4 *)((long)param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x5c)" (( "(") (binary_expression "(long)param_1 + 0x5c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" (identifier "local_a8") (= "=") (binary_expression "local_a8 + 1" (identifier "local_a8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar11 != local_a8)" (( "(") (binary_expression "lVar11 != local_a8" (identifier "lVar11") (!= "!=") (identifier "local_a8")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ImplodeImage._omp_fn.4(anon_struct_96_13_9513e53b * param_0) */

void __thiscall function_1(void *this)

{
  double var_13;
  type_1 method;
  type_2 PVar2;
  type_3 *source;
  size_t sVar3;
  type_3 *destination;
  type_4 *source_view;
  type_5 *cache_view;
  type_5 *cache_view_00;
  type_6 *exception;
  int iVar4;
  int var_3;
  type_7 var_26;
  long var_5;
  type_8 *var_9;
  type_8 *var_10;
  long var_16;
  long var_28;
  double __y;
  double var_25;
  double var_11;
  double var_14;
  double var_12;
  long var_4;
  
  source = *(type_3 **)((long)this + 0x30);
  sVar3 = source->rows;
  iVar4 = var_1();
  var_3 = var_2();
  var_5 = (long)sVar3 / (long)iVar4;
  var_4 = (long)sVar3 % (long)iVar4;
  if (var_3 < var_4) {
    var_5 = var_5 + 1;
    var_4 = 0;
  }
  var_4 = var_3 * var_5 + var_4;
  var_5 = var_5 + var_4;
  if (var_4 < var_5) {
    destination = *(type_3 **)((long)this + 0x38);
    var_13 = *(double *)((long)this + 0x28);
    source_view = *(type_4 **)((long)this + 0x20);
    cache_view = *(type_5 **)((long)this + 0x18);
    cache_view_00 = *(type_5 **)((long)this + 0x10);
    exception = *(type_6 **)((long)this + 8);
    method = *(type_1 *)((long)this + 0x58);
                    /* WARNING: Load size is inaccurate */
    __y = (double)(*this ^ var_6);
    do {
      if (*(int *)((long)this + 0x5c) != 0) {
        var_9 = var_7(cache_view_00,0,var_4,source->columns,1,exception);
        var_10 = var_8
                          (cache_view,0,var_4,destination->columns,1,exception);
        if ((var_9 == (type_8 *)0x0) || (var_10 == (type_8 *)0x0)) {
          *(type_9 *)((long)this + 0x5c) = 0;
        }
        else {
          var_12 = ((double)var_4 - *(double *)(*(long *)((long)this + 0x40) + 8)) *
                   *(double *)(*(long *)((long)this + 0x48) + 8);
          if (0 < (long)source->columns) {
            var_28 = 0;
            do {
              var_11 = ((double)var_28 - **(double **)((long)this + 0x40)) *
                       **(double **)((long)this + 0x48);
              var_14 = var_11 * var_11 + var_12 * var_12;
              if (var_13 * var_13 <= var_14) {
                if (0 < (long)source->number_channels) {
                  var_16 = 0;
                  do {
                    PVar2 = source->channel_map[var_16].channel;
                    if (((destination->channel_map[PVar2].traits != var_15) &&
                        (source->channel_map[PVar2].traits != var_15)) &&
                       (destination->channel_map[PVar2].traits != var_15)) {
                      var_10[destination->channel_map[PVar2].offset] = var_9[var_16];
                    }
                    var_16 = var_16 + 1;
                  } while (var_16 < (long)source->number_channels);
                }
              }
              else {
                var_25 = DAT_003f9608;
                if (var_17 < var_14) {
                  if (var_14 < 0.0) {
                    var_18(var_14);
                  }
                  var_14 = var_19(((var_20(var_14) * var_21) / var_13) * var_22);
                  var_25 = var_23(var_14,__y);
                }
                var_26 = var_24
                                  (source,source_view,destination,method,
                                   (var_25 * var_11) / **(double **)((long)this + 0x48) +
                                   **(double **)((long)this + 0x40),
                                   (var_12 * var_25) / (*(double **)((long)this + 0x48))[1] +
                                   (*(double **)((long)this + 0x40))[1],var_10,exception);
                *(type_7 *)((long)this + 0x5c) = var_26;
                if (var_26 == var_27) break;
              }
              var_9 = var_9 + source->number_channels;
              var_10 = var_10 + destination->number_channels;
              var_28 = var_28 + 1;
            } while (var_28 < (long)source->columns);
          }
          var_26 = var_29(cache_view,exception);
          if (var_26 == var_27) {
            *(type_9 *)((long)this + 0x5c) = 0;
          }
          if (source->progress_monitor != (type_10)0x0) {
            var_30();
            **(long **)((long)this + 0x50) = **(long **)((long)this + 0x50) + 1;
            var_31();
            var_26 = var_32(source,"Implode/Image",
                                     **(type_11 **)((long)this + 0x50),source->rows);
            if (var_26 == var_27) {
              *(type_9 *)((long)this + 0x5c) = 0;
            }
          }
        }
      }
      var_4 = var_4 + 1;
    } while (var_5 != var_4);
  }
  return;
}


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

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(ulong *param_1)

{
  double dVar1;
  ulong uVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  ulong uVar6;
  ulong uVar7;
  ulong uVar8;
  int iVar9;
  int iVar10;
  long lVar11;
  long lVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long lVar16;
  double __y;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  long local_a8;
  
  uVar2 = param_1[6];
  local_a8 = *(long *)(uVar2 + 0x28);
  iVar9 = omp_get_num_threads();
  iVar10 = omp_get_thread_num();
  lVar11 = local_a8 / (long)iVar9;
  local_a8 = local_a8 % (long)iVar9;
  if (iVar10 < local_a8) {
    lVar11 = lVar11 + 1;
    local_a8 = 0;
  }
  local_a8 = iVar10 * lVar11 + local_a8;
  lVar11 = lVar11 + local_a8;
  if (local_a8 < lVar11) {
    uVar3 = param_1[7];
    dVar1 = (double)param_1[5];
    uVar4 = param_1[4];
    uVar5 = param_1[3];
    uVar6 = param_1[2];
    uVar7 = param_1[1];
    uVar8 = param_1[0xb];
    __y = (double)(*param_1 ^ DAT_003f9610);
    do {
      if (*(int *)((long)param_1 + 0x5c) != 0) {
        lVar13 = GetCacheViewVirtualPixels(uVar6,0,local_a8,*(undefined8 *)(uVar2 + 0x20),1,uVar7);
        lVar14 = QueueCacheViewAuthenticPixels
                           (uVar5,0,local_a8,*(undefined8 *)(uVar3 + 0x20),1,uVar7);
        if ((lVar13 == 0) || (lVar14 == 0)) {
          *(undefined4 *)((long)param_1 + 0x5c) = 0;
        }
        else {
          dVar20 = ((double)local_a8 - *(double *)(param_1[8] + 8)) * *(double *)(param_1[9] + 8);
          if (0 < *(long *)(uVar2 + 0x20)) {
            lVar16 = 0;
            do {
              dVar18 = ((double)lVar16 - *(double *)param_1[8]) * *(double *)param_1[9];
              dVar19 = dVar18 * dVar18 + dVar20 * dVar20;
              if (dVar1 * dVar1 <= dVar19) {
                if (0 < *(long *)(uVar2 + 0x340)) {
                  lVar15 = 0;
                  do {
                    lVar12 = (ulong)*(uint *)(*(long *)(uVar2 + 0x360) + lVar15 * 0x10) * 0x10;
                    if (((*(int *)(*(long *)(uVar3 + 0x360) + 4 + lVar12) != 0) &&
                        (*(int *)(*(long *)(uVar2 + 0x360) + 4 + lVar12) != 0)) &&
                       (lVar12 = lVar12 + *(long *)(uVar3 + 0x360), *(int *)(lVar12 + 4) != 0)) {
                      *(undefined4 *)(lVar14 + *(long *)(lVar12 + 8) * 4) =
                           *(undefined4 *)(lVar13 + lVar15 * 4);
                    }
                    lVar15 = lVar15 + 1;
                  } while (lVar15 < *(long *)(uVar2 + 0x340));
                }
              }
              else {
                dVar17 = DAT_003f9608;
                if (DAT_003fa398 < dVar19) {
                  if (dVar19 < 0.0) {
                    sqrt(dVar19);
                  }
                  dVar19 = sin(((SQRT(dVar19) * DAT_003fa3d8) / dVar1) * DAT_003f9c28);
                  dVar17 = pow(dVar19,__y);
                }
                iVar9 = InterpolatePixelChannels
                                  ((dVar17 * dVar18) / *(double *)param_1[9] + *(double *)param_1[8]
                                   ,(dVar20 * dVar17) / ((double *)param_1[9])[1] +
                                    ((double *)param_1[8])[1],uVar2,uVar4,uVar3,(int)uVar8,lVar14,
                                   uVar7);
                *(int *)((long)param_1 + 0x5c) = iVar9;
                if (iVar9 == 0) break;
              }
              lVar13 = lVar13 + *(long *)(uVar2 + 0x340) * 4;
              lVar14 = lVar14 + *(long *)(uVar3 + 0x340) * 4;
              lVar16 = lVar16 + 1;
            } while (lVar16 < *(long *)(uVar2 + 0x20));
          }
          iVar9 = SyncCacheViewAuthenticPixels(uVar5,uVar7);
          if (iVar9 == 0) {
            *(undefined4 *)((long)param_1 + 0x5c) = 0;
          }
          if (*(long *)(uVar2 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[10] = *(long *)param_1[10] + 1;
            UNLOCK();
            iVar9 = SetImageProgress(uVar2,"Implode/Image",*(undefined8 *)param_1[10],
                                     *(undefined8 *)(uVar2 + 0x28));
            if (iVar9 == 0) {
              *(undefined4 *)((long)param_1 + 0x5c) = 0;
            }
          }
        }
      }
      local_a8 = local_a8 + 1;
    } while (lVar11 != local_a8);
  }
  return;
}

