
/* DWARF original prototype: void TextureImage._omp_fn.4(anon_struct_24_6_f8787885 * param_0) */

void __thiscall TextureImage__omp_fn_4(void *this)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined *puVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  uint uVar15;
  uint uVar16;
  uint uVar17;
  undefined4 uVar18;
  int iVar19;
  
                    /* WARNING: Load size is inaccurate */
  iVar13 = *this;
  iVar14 = *(int *)(iVar13 + 0x1c);
  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar19 = iVar14 / iVar1;
  iVar14 = iVar14 % iVar1;
  if (iVar2 < iVar14) {
    iVar19 = iVar19 + 1;
    iVar14 = 0;
  }
  uVar15 = iVar19 * iVar2 + iVar14;
  uVar17 = iVar19 + uVar15;
  if ((int)uVar15 < (int)uVar17) {
    iVar1 = *(int *)((int)this + 0x10);
    uVar3 = *(undefined4 *)((int)this + 0xc);
    uVar4 = *(undefined4 *)((int)this + 8);
    uVar18 = *(undefined4 *)((int)this + 4);
    iVar2 = (int)uVar15 >> 0x1f;
    puVar5 = PTR_UINT_003f98e4 + -0x438;
    uVar16 = uVar15;
    do {
      if (*(int *)((int)this + 0x14) != 0) {
        if (*(uint *)(iVar1 + 0x1c) == 0) {
          trap(7);
        }
        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)
                           (uVar3,*(undefined4 *)(iVar1 + 0x298),
                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),
                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);
        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)
                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);
        if ((iVar14 == 0) || (iVar19 == 0)) {
          *(undefined4 *)((int)this + 0x14) = 0;
        }
        else {
          iVar7 = *(int *)(iVar13 + 0x18);
          if (0 < iVar7) {
            iVar12 = 0;
            do {
              iVar11 = *(int *)(iVar1 + 0x18);
              if (iVar7 < iVar11 + iVar12) {
                iVar11 = iVar7 - iVar12;
              }
              if (0 < iVar11) {
                iVar10 = 0;
                iVar7 = iVar14;
                do {
                  iVar6 = *(int *)(iVar1 + 0x2c0);
                  iVar9 = 0;
                  if (0 < iVar6) {
                    iVar8 = 0;
                    do {
                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;
                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&
                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {
                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;
                        if (*(int *)(iVar6 + 4) != 0) {
                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =
                               *(undefined4 *)(iVar7 + iVar8 * 4);
                        }
                      }
                      iVar8 = iVar8 + 1;
                      iVar6 = *(int *)(iVar1 + 0x2c0);
                      iVar9 = iVar9 + 0xc;
                    } while (iVar8 < iVar6);
                  }
                  iVar7 = iVar7 + iVar6 * 4;
                  iVar10 = iVar10 + 1;
                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;
                } while (iVar10 != iVar11);
              }
              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);
              iVar7 = *(int *)(iVar13 + 0x18);
            } while (iVar12 < iVar7);
          }
          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);
          if (iVar14 == 0) {
            *(undefined4 *)((int)this + 0x14) = 0;
          }
          if (*(int *)(iVar13 + 0x328) != 0) {
            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)
                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));
            if (iVar14 == 0) {
              *(undefined4 *)((int)this + 0x14) = 0;
            }
          }
        }
      }
      uVar15 = uVar15 + 1;
      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;
      uVar16 = uVar16 + 1;
    } while (uVar17 != uVar15);
  }
  return;
}



void FUN_0007b668(int *param_1)

{
  int iVar1;
  int iVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  uint uVar15;
  uint uVar16;
  uint uVar17;
  int iVar18;
  int iVar19;
  
  iVar13 = *param_1;
  iVar14 = *(int *)(iVar13 + 0x1c);
  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar19 = iVar14 / iVar1;
  iVar14 = iVar14 % iVar1;
  if (iVar2 < iVar14) {
    iVar19 = iVar19 + 1;
    iVar14 = 0;
  }
  uVar15 = iVar19 * iVar2 + iVar14;
  uVar17 = iVar19 + uVar15;
  if ((int)uVar15 < (int)uVar17) {
    iVar14 = param_1[4];
    iVar1 = param_1[3];
    iVar2 = param_1[2];
    iVar18 = param_1[1];
    iVar19 = (int)uVar15 >> 0x1f;
    puVar3 = PTR_UINT_003f98e4 + -0x438;
    uVar16 = uVar15;
    do {
      if (param_1[5] != 0) {
        if (*(uint *)(iVar14 + 0x1c) == 0) {
          trap(7);
        }
        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)
                          (iVar1,*(undefined4 *)(iVar14 + 0x298),
                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),
                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);
        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)
                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);
        if ((iVar4 == 0) || (iVar5 == 0)) {
          param_1[5] = 0;
        }
        else {
          iVar7 = *(int *)(iVar13 + 0x18);
          if (0 < iVar7) {
            iVar12 = 0;
            do {
              iVar11 = *(int *)(iVar14 + 0x18);
              if (iVar7 < iVar11 + iVar12) {
                iVar11 = iVar7 - iVar12;
              }
              if (0 < iVar11) {
                iVar10 = 0;
                iVar7 = iVar4;
                do {
                  iVar6 = *(int *)(iVar14 + 0x2c0);
                  iVar9 = 0;
                  if (0 < iVar6) {
                    iVar8 = 0;
                    do {
                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;
                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&
                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {
                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;
                        if (*(int *)(iVar6 + 4) != 0) {
                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =
                               *(undefined4 *)(iVar7 + iVar8 * 4);
                        }
                      }
                      iVar8 = iVar8 + 1;
                      iVar6 = *(int *)(iVar14 + 0x2c0);
                      iVar9 = iVar9 + 0xc;
                    } while (iVar8 < iVar6);
                  }
                  iVar7 = iVar7 + iVar6 * 4;
                  iVar10 = iVar10 + 1;
                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;
                } while (iVar10 != iVar11);
              }
              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);
              iVar7 = *(int *)(iVar13 + 0x18);
            } while (iVar12 < iVar7);
          }
          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);
          if (iVar4 == 0) {
            param_1[5] = 0;
          }
          if (*(int *)(iVar13 + 0x328) != 0) {
            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)
                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));
            if (iVar4 == 0) {
              param_1[5] = 0;
            }
          }
        }
      }
      uVar15 = uVar15 + 1;
      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;
      uVar16 = uVar16 + 1;
    } while (uVar17 != uVar15);
  }
  return;
}


lui gp,0x38
addiu gp,gp,0x6248
addu gp,gp,t9
addiu sp,sp,-0x58
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
sw gp,0x18(sp)
or s6,a0,zero
lw s1,0x0(a0)
lw s2,0x1c(s1)
lw t9,-0x6f8c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw t9,-0x7390(gp)
jalr t9
_nop
lw gp,0x18(sp)
teq s0,zero
div s2,s0
mfhi s0
or v1,s0,zero
slt s0,v0,s0
bne s0,zero,0x0007b948
_mflo s5
mul a0,s5,v0
addu s2,a0,v1
addu s5,s5,s2
slt v0,s2,s5
beq v0,zero,0x0007b954
_or s3,s2,zero
lw s0,0x10(s6)
lw v0,0xc(s6)
sw v0,0x28(sp)
lw v0,0x8(s6)
sw v0,0x24(sp)
lw s8,0x4(s6)
sra s7,s2,0x1f
li s4,0x1
lw v0,-0x7fcc(gp)
addiu v0,v0,-0x438
b 0x0007b754
_sw v0,0x2c(sp)
sw zero,0x14(s6)
addiu s2,s2,0x1
addiu v0,s3,0x1
sltu s3,v0,s3
addu s7,s3,s7
beq s5,s2,0x0007b954
_or s3,v0,zero
lw v0,0x14(s6)
beq v0,zero,0x0007b73c
_lw t9,-0x723c(gp)
lw a3,0x18(s0)
lw v0,0x29c(s0)
addu v0,s2,v0
lw v1,0x1c(s0)
teq v1,zero
divu v0,v1
mfhi a2
lw a1,0x298(s0)
sw s8,0x14(sp)
sw s4,0x10(sp)
lw a0,0x28(sp)
jalr t9
_nop
lw gp,0x18(sp)
sw v0,0x20(sp)
lw a3,0x18(s1)
sw s8,0x14(sp)
sw s4,0x10(sp)
or a2,s2,zero
or a1,zero,zero
lw a0,0x24(sp)
lw t9,-0x7c48(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x20(sp)
beq v1,zero,0x0007b738
_nop
beq v0,zero,0x0007b738
_nop
lw a0,0x18(s1)
blez a0,0x0007b7ec
_or a1,a0,zero
b 0x0007b870
_or t3,zero,zero
or a1,s8,zero
lw a0,0x24(sp)
lw t9,-0x73a0(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0007b850
_nop
lw v0,0x328(s1)
beq v0,zero,0x0007b73c
_or a2,s7,zero
lw v0,0x1c(s1)
sw v0,0x14(sp)
sw zero,0x10(sp)
or a3,s3,zero
lw a1,0x2c(sp)
or a0,s1,zero
lw t9,-0x7be4(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0007b73c
_nop
b 0x0007b73c
_sw zero,0x14(s6)
b 0x0007b80c
_sw zero,0x14(s6)
lw v1,0x18(s0)
addu t3,t3,v1
lw a0,0x18(s1)
slt v1,t3,a0
beq v1,zero,0x0007b7ec
_or a1,a0,zero
lw t2,0x18(s0)
addu v1,t2,t3
slt v1,a1,v1
bne v1,zero,0x0007b940
_nop
blez t2,0x0007b858
_lw t0,0x20(sp)
b 0x0007b8b0
_or t1,zero,zero
sll v1,v1,0x2
addu t0,t0,v1
lw v1,0x2c0(s1)
sll v1,v1,0x2
addiu t1,t1,0x1
beq t1,t2,0x0007b858
_addu v0,v0,v1
lw v1,0x2c0(s0)
blez v1,0x0007b894
_or a3,zero,zero
b 0x0007b8d8
_or a2,zero,zero
addiu a2,a2,0x1
lw v1,0x2c0(s0)
slt a0,a2,v1
beq a0,zero,0x0007b894
_addiu a3,a3,0xc
lw a0,0x2d0(s0)
addu v1,a0,a3
lw a1,0x0(v1)
sll v1,a1,0x1
addu v1,v1,a1
sll v1,v1,0x2
lw a1,0x2d0(s1)
addu a1,a1,v1
lw a1,0x4(a1)
beq a1,zero,0x0007b8c4
_addu a0,a0,v1
lw a0,0x4(a0)
beq a0,zero,0x0007b8c4
_nop
lw a0,0x2d0(s1)
addu v1,a0,v1
lw a0,0x4(v1)
beq a0,zero,0x0007b8c4
_sll a0,a2,0x2
addu a0,t0,a0
lwc1 f0,0x0(a0)
lw v1,0x8(v1)
sll v1,v1,0x2
addu v1,v0,v1
b 0x0007b8c4
_swc1 f0,0x0(v1)
b 0x0007b884
_subu t2,a0,t3
addiu s5,s5,0x1
b 0x0007b6f0
_or v1,zero,zero
lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
(translation_unit "void FUN_0007b668(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007b668(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007b668(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (expression_statement "iVar13 = *param_1;" (assignment_expression "iVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar14 = *(int *)(iVar13 + 0x1c);" (assignment_expression "iVar14 = *(int *)(iVar13 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x1c)" * (cast_expression "(int *)(iVar13 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003fa924)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003fa924)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003fa924" * (cast_expression "(code *)PTR_omp_get_num_threads_003fa924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003fa520)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003fa520)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003fa520" * (cast_expression "(code *)PTR_omp_get_thread_num_003fa520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar19 = iVar14 / iVar1;" (assignment_expression "iVar19 = iVar14 / iVar1" identifier = (binary_expression "iVar14 / iVar1" identifier / identifier)) ;) (expression_statement "iVar14 = iVar14 % iVar1;" (assignment_expression "iVar14 = iVar14 % iVar1" identifier = (binary_expression "iVar14 % iVar1" identifier % identifier)) ;) (if_statement "if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar14)" ( (binary_expression "iVar2 < iVar14" identifier < identifier) )) (compound_statement "{\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" { (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) })) (expression_statement "uVar15 = iVar19 * iVar2 + iVar14;" (assignment_expression "uVar15 = iVar19 * iVar2 + iVar14" identifier = (binary_expression "iVar19 * iVar2 + iVar14" (binary_expression "iVar19 * iVar2" identifier * identifier) + identifier)) ;) (expression_statement "uVar17 = iVar19 + uVar15;" (assignment_expression "uVar17 = iVar19 + uVar15" identifier = (binary_expression "iVar19 + uVar15" identifier + identifier)) ;) (if_statement "if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" if (parenthesized_expression "((int)uVar15 < (int)uVar17)" ( (binary_expression "(int)uVar15 < (int)uVar17" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" { (expression_statement "iVar14 = param_1[4];" (assignment_expression "iVar14 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[1];" (assignment_expression "iVar18 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar19 = (int)uVar15 >> 0x1f;" (assignment_expression "iVar19 = (int)uVar15 >> 0x1f" identifier = (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar3 = PTR_UINT_003f98e4 + -0x438;" (assignment_expression "puVar3 = PTR_UINT_003f98e4 + -0x438" identifier = (binary_expression "PTR_UINT_003f98e4 + -0x438" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar15;" (assignment_expression "uVar16 = uVar15" identifier = identifier) ;) (do_statement "do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);" do (compound_statement "{\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    }" { (if_statement "if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" { (if_statement "if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(*(uint *)(iVar14 + 0x1c) == 0)" ( (binary_expression "*(uint *)(iVar14 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar14 + 0x1c)" * (cast_expression "(uint *)(iVar14 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x1c)" ( (binary_expression "iVar14 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" identifier = (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003fa674" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003fa674" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" ( identifier , (pointer_expression "*(undefined4 *)(iVar14 + 0x298)" * (cast_expression "(undefined4 *)(iVar14 + 0x298)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x298)" ( (binary_expression "iVar14 + 0x298" identifier + number_literal) )))) , (binary_expression "(uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c)" (parenthesized_expression "(uVar15 + *(int *)(iVar14 + 0x29c))" ( (binary_expression "uVar15 + *(int *)(iVar14 + 0x29c)" identifier + (pointer_expression "*(int *)(iVar14 + 0x29c)" * (cast_expression "(int *)(iVar14 + 0x29c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x29c)" ( (binary_expression "iVar14 + 0x29c" identifier + number_literal) ))))) )) % (pointer_expression "*(uint *)(iVar14 + 0x1c)" * (cast_expression "(uint *)(iVar14 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x1c)" ( (binary_expression "iVar14 + 0x1c" identifier + number_literal) ))))) , (pointer_expression "*(undefined4 *)(iVar14 + 0x18)" * (cast_expression "(undefined4 *)(iVar14 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);" (assignment_expression "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" * (cast_expression "(undefined4 *)(iVar13 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" if (parenthesized_expression "((iVar4 == 0) || (iVar5 == 0))" ( (binary_expression "(iVar4 == 0) || (iVar5 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) ))) )) (compound_statement "{\n          param_1[5] = 0;\n        }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" else (compound_statement "{\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" { (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);" do (compound_statement "{\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            }" { (expression_statement "iVar11 = *(int *)(iVar14 + 0x18);" (assignment_expression "iVar11 = *(int *)(iVar14 + 0x18)" identifier = (pointer_expression "*(int *)(iVar14 + 0x18)" * (cast_expression "(int *)(iVar14 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }" if (parenthesized_expression "(iVar7 < iVar11 + iVar12)" ( (binary_expression "iVar7 < iVar11 + iVar12" identifier < (binary_expression "iVar11 + iVar12" identifier + identifier)) )) (compound_statement "{\n                iVar11 = iVar7 - iVar12;\n              }" { (expression_statement "iVar11 = iVar7 - iVar12;" (assignment_expression "iVar11 = iVar7 - iVar12" identifier = (binary_expression "iVar7 - iVar12" identifier - identifier)) ;) })) (if_statement "if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (compound_statement "{\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" identifier = identifier) ;) (do_statement "do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);" do (compound_statement "{\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                }" { (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar14 + 0x2c0)" * (cast_expression "(int *)(iVar14 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2c0)" ( (binary_expression "iVar14 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);" do (compound_statement "{\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    }" { (expression_statement "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;" (assignment_expression "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" identifier = (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" * (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar9)" ( (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar9" (pointer_expression "*(int *)(iVar14 + 0x2d0)" * (cast_expression "(int *)(iVar14 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2d0)" ( (binary_expression "iVar14 + 0x2d0" identifier + number_literal) )))) + identifier) )))) * number_literal)) ;) (if_statement "if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" if (parenthesized_expression "((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0))" ( (binary_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" (parenthesized_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar14 + 0x2d0)" * (cast_expression "(int *)(iVar14 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2d0)" ( (binary_expression "iVar14 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" { (expression_statement "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;" (assignment_expression "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6" identifier = (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" if (parenthesized_expression "(*(int *)(iVar6 + 4) != 0)" ( (binary_expression "*(int *)(iVar6 + 4) != 0" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" { (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4)" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar6 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar6 + 8) * 4" identifier + (binary_expression "*(int *)(iVar6 + 8) * 4" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar14 + 0x2c0)" * (cast_expression "(int *)(iVar14 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2c0)" ( (binary_expression "iVar14 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = iVar9 + 0xc;" (assignment_expression "iVar9 = iVar9 + 0xc" identifier = (binary_expression "iVar9 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) ;) })) (expression_statement "iVar7 = iVar7 + iVar6 * 4;" (assignment_expression "iVar7 = iVar7 + iVar6 * 4" identifier = (binary_expression "iVar7 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4" identifier = (binary_expression "iVar5 + *(int *)(iVar13 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar13 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar13 + 0x2c0)" * (cast_expression "(int *)(iVar13 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c0)" ( (binary_expression "iVar13 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar10 != iVar11)" ( (binary_expression "iVar10 != iVar11" identifier != identifier) )) ;) })) (expression_statement "iVar12 = iVar12 + *(int *)(iVar14 + 0x18);" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar14 + 0x18)" identifier = (binary_expression "iVar12 + *(int *)(iVar14 + 0x18)" identifier + (pointer_expression "*(int *)(iVar14 + 0x18)" * (cast_expression "(int *)(iVar14 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar12 < iVar7)" ( (binary_expression "iVar12 < iVar7" identifier < identifier) )) ;) })) (expression_statement "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar18)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n            param_1[5] = 0;\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[5] = 0;\n          }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" if (parenthesized_expression "(*(int *)(iVar13 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar13 + 0x328) != 0" (pointer_expression "*(int *)(iVar13 + 0x328)" * (cast_expression "(int *)(iVar13 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x328)" ( (binary_expression "iVar13 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" { (expression_statement "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));" (assignment_expression "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003f9ccc)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003f9ccc" * (cast_expression "(code *)PTR_SetImageProgress_003f9ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" ( identifier , identifier , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar13 + 0x1c)" * (cast_expression "(undefined4 *)(iVar13 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n              param_1[5] = 0;\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              param_1[5] = 0;\n            }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) })) })) }))) })) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (expression_statement "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;" (assignment_expression "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19" identifier = (binary_expression "(uint)(uVar16 + 1 < uVar16) + iVar19" (call_expression "(uint)(uVar16 + 1 < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + 1 < uVar16)" ( (binary_expression "uVar16 + 1 < uVar16" (binary_expression "uVar16 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar16 = uVar16 + 1;" (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 != uVar15)" ( (binary_expression "uVar17 != uVar15" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void TextureImage._omp_fn.4(anon_struct_24_6_f8787885 * param_0) */\n\nvoid __thiscall TextureImage__omp_fn_4(void *this)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined4 uVar18;\n  int iVar19;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar13 = *this;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar1 = *(int *)((int)this + 0x10);\n    uVar3 = *(undefined4 *)((int)this + 0xc);\n    uVar4 = *(undefined4 *)((int)this + 8);\n    uVar18 = *(undefined4 *)((int)this + 4);\n    iVar2 = (int)uVar15 >> 0x1f;\n    puVar5 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall TextureImage__omp_fn_4(void *this)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined4 uVar18;\n  int iVar19;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar13 = *this;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar1 = *(int *)((int)this + 0x10);\n    uVar3 = *(undefined4 *)((int)this + 0xc);\n    uVar4 = *(undefined4 *)((int)this + 8);\n    uVar18 = *(undefined4 *)((int)this + 4);\n    iVar2 = (int)uVar15 >> 0x1f;\n    puVar5 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "TextureImage__omp_fn_4(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined4 uVar18;\n  int iVar19;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar13 = *this;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar1 = *(int *)((int)this + 0x10);\n    uVar3 = *(undefined4 *)((int)this + 0xc);\n    uVar4 = *(undefined4 *)((int)this + 8);\n    uVar18 = *(undefined4 *)((int)this + 4);\n    iVar2 = (int)uVar15 >> 0x1f;\n    puVar5 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "undefined4 uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) comment (expression_statement "iVar13 = *this;" (assignment_expression "iVar13 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "iVar14 = *(int *)(iVar13 + 0x1c);" (assignment_expression "iVar14 = *(int *)(iVar13 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x1c)" * (cast_expression "(int *)(iVar13 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003fa924)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003fa924)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003fa924" * (cast_expression "(code *)PTR_omp_get_num_threads_003fa924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003fa520)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003fa520)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003fa520" * (cast_expression "(code *)PTR_omp_get_thread_num_003fa520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar19 = iVar14 / iVar1;" (assignment_expression "iVar19 = iVar14 / iVar1" identifier = (binary_expression "iVar14 / iVar1" identifier / identifier)) ;) (expression_statement "iVar14 = iVar14 % iVar1;" (assignment_expression "iVar14 = iVar14 % iVar1" identifier = (binary_expression "iVar14 % iVar1" identifier % identifier)) ;) (if_statement "if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar14)" ( (binary_expression "iVar2 < iVar14" identifier < identifier) )) (compound_statement "{\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" { (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) })) (expression_statement "uVar15 = iVar19 * iVar2 + iVar14;" (assignment_expression "uVar15 = iVar19 * iVar2 + iVar14" identifier = (binary_expression "iVar19 * iVar2 + iVar14" (binary_expression "iVar19 * iVar2" identifier * identifier) + identifier)) ;) (expression_statement "uVar17 = iVar19 + uVar15;" (assignment_expression "uVar17 = iVar19 + uVar15" identifier = (binary_expression "iVar19 + uVar15" identifier + identifier)) ;) (if_statement "if ((int)uVar15 < (int)uVar17) {\n    iVar1 = *(int *)((int)this + 0x10);\n    uVar3 = *(undefined4 *)((int)this + 0xc);\n    uVar4 = *(undefined4 *)((int)this + 8);\n    uVar18 = *(undefined4 *)((int)this + 4);\n    iVar2 = (int)uVar15 >> 0x1f;\n    puVar5 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" if (parenthesized_expression "((int)uVar15 < (int)uVar17)" ( (binary_expression "(int)uVar15 < (int)uVar17" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar1 = *(int *)((int)this + 0x10);\n    uVar3 = *(undefined4 *)((int)this + 0xc);\n    uVar4 = *(undefined4 *)((int)this + 8);\n    uVar18 = *(undefined4 *)((int)this + 4);\n    iVar2 = (int)uVar15 >> 0x1f;\n    puVar5 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" { (expression_statement "iVar1 = *(int *)((int)this + 0x10);" (assignment_expression "iVar1 = *(int *)((int)this + 0x10)" identifier = (pointer_expression "*(int *)((int)this + 0x10)" * (cast_expression "(int *)((int)this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x10)" ( (binary_expression "(int)this + 0x10" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)((int)this + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)((int)this + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0xc)" * (cast_expression "(undefined4 *)((int)this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0xc)" ( (binary_expression "(int)this + 0xc" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)((int)this + 8);" (assignment_expression "uVar4 = *(undefined4 *)((int)this + 8)" identifier = (pointer_expression "*(undefined4 *)((int)this + 8)" * (cast_expression "(undefined4 *)((int)this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar18 = *(undefined4 *)((int)this + 4);" (assignment_expression "uVar18 = *(undefined4 *)((int)this + 4)" identifier = (pointer_expression "*(undefined4 *)((int)this + 4)" * (cast_expression "(undefined4 *)((int)this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar2 = (int)uVar15 >> 0x1f;" (assignment_expression "iVar2 = (int)uVar15 >> 0x1f" identifier = (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar5 = PTR_UINT_003f98e4 + -0x438;" (assignment_expression "puVar5 = PTR_UINT_003f98e4 + -0x438" identifier = (binary_expression "PTR_UINT_003f98e4 + -0x438" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar15;" (assignment_expression "uVar16 = uVar15" identifier = identifier) ;) (do_statement "do {\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);" do (compound_statement "{\n      if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;\n      uVar16 = uVar16 + 1;\n    }" { (if_statement "if (*(int *)((int)this + 0x14) != 0) {\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)this + 0x14) != 0)" ( (binary_expression "*(int *)((int)this + 0x14) != 0" (pointer_expression "*(int *)((int)this + 0x14)" * (cast_expression "(int *)((int)this + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);\n        iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);\n        if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }\n      }" { (if_statement "if (*(uint *)(iVar1 + 0x1c) == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(*(uint *)(iVar1 + 0x1c) == 0)" ( (binary_expression "*(uint *)(iVar1 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18);" (assignment_expression "iVar14 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18)" identifier = (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                           (uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003fa674" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003fa674" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3,*(undefined4 *)(iVar1 + 0x298),\n                            (uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c),\n                            *(undefined4 *)(iVar1 + 0x18),1,uVar18)" ( identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0x298)" * (cast_expression "(undefined4 *)(iVar1 + 0x298)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x298)" ( (binary_expression "iVar1 + 0x298" identifier + number_literal) )))) , (binary_expression "(uVar15 + *(int *)(iVar1 + 0x29c)) % *(uint *)(iVar1 + 0x1c)" (parenthesized_expression "(uVar15 + *(int *)(iVar1 + 0x29c))" ( (binary_expression "uVar15 + *(int *)(iVar1 + 0x29c)" identifier + (pointer_expression "*(int *)(iVar1 + 0x29c)" * (cast_expression "(int *)(iVar1 + 0x29c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29c)" ( (binary_expression "iVar1 + 0x29c" identifier + number_literal) ))))) )) % (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" * (cast_expression "(undefined4 *)(iVar1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18);" (assignment_expression "iVar19 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                           (uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,uVar18)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" * (cast_expression "(undefined4 *)(iVar13 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((iVar14 == 0) || (iVar19 == 0)) {\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }" if (parenthesized_expression "((iVar14 == 0) || (iVar19 == 0))" ( (binary_expression "(iVar14 == 0) || (iVar19 == 0)" (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) ))) )) (compound_statement "{\n          *(undefined4 *)((int)this + 0x14) = 0;\n        }" { (expression_statement "*(undefined4 *)((int)this + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x14)" * (cast_expression "(undefined4 *)((int)this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);\n          if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }\n        }" { (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);" do (compound_statement "{\n              iVar11 = *(int *)(iVar1 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar1 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            }" { (expression_statement "iVar11 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar11 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }" if (parenthesized_expression "(iVar7 < iVar11 + iVar12)" ( (binary_expression "iVar7 < iVar11 + iVar12" identifier < (binary_expression "iVar11 + iVar12" identifier + identifier)) )) (compound_statement "{\n                iVar11 = iVar7 - iVar12;\n              }" { (expression_statement "iVar11 = iVar7 - iVar12;" (assignment_expression "iVar11 = iVar7 - iVar12" identifier = (binary_expression "iVar7 - iVar12" identifier - identifier)) ;) })) (if_statement "if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (compound_statement "{\n                iVar10 = 0;\n                iVar7 = iVar14;\n                do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = iVar14;" (assignment_expression "iVar7 = iVar14" identifier = identifier) ;) (do_statement "do {\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);" do (compound_statement "{\n                  iVar6 = *(int *)(iVar1 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;\n                }" { (expression_statement "iVar6 = *(int *)(iVar1 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar1 + 0x2c0)" * (cast_expression "(int *)(iVar1 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c0)" ( (binary_expression "iVar1 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);" do (compound_statement "{\n                      iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar1 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    }" { (expression_statement "iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc;" (assignment_expression "iVar6 = *(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc" identifier = (binary_expression "*(int *)(*(int *)(iVar1 + 0x2d0) + iVar9) * 0xc" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2d0) + iVar9)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2d0) + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2d0) + iVar9)" ( (binary_expression "*(int *)(iVar1 + 0x2d0) + iVar9" (pointer_expression "*(int *)(iVar1 + 0x2d0)" * (cast_expression "(int *)(iVar1 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2d0)" ( (binary_expression "iVar1 + 0x2d0" identifier + number_literal) )))) + identifier) )))) * number_literal)) ;) (if_statement "if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" if (parenthesized_expression "((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0))" ( (binary_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)" (parenthesized_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar1 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar1 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar1 + 0x2d0)" * (cast_expression "(int *)(iVar1 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2d0)" ( (binary_expression "iVar1 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" { (expression_statement "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;" (assignment_expression "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6" identifier = (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" if (parenthesized_expression "(*(int *)(iVar6 + 4) != 0)" ( (binary_expression "*(int *)(iVar6 + 4) != 0" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                          *(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" { (expression_statement "*(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);" (assignment_expression "*(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4)" (pointer_expression "*(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar19 + *(int *)(iVar6 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + *(int *)(iVar6 + 8) * 4)" ( (binary_expression "iVar19 + *(int *)(iVar6 + 8) * 4" identifier + (binary_expression "*(int *)(iVar6 + 8) * 4" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(iVar1 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar1 + 0x2c0)" * (cast_expression "(int *)(iVar1 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c0)" ( (binary_expression "iVar1 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = iVar9 + 0xc;" (assignment_expression "iVar9 = iVar9 + 0xc" identifier = (binary_expression "iVar9 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) ;) })) (expression_statement "iVar7 = iVar7 + iVar6 * 4;" (assignment_expression "iVar7 = iVar7 + iVar6 * 4" identifier = (binary_expression "iVar7 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4;" (assignment_expression "iVar19 = iVar19 + *(int *)(iVar13 + 0x2c0) * 4" identifier = (binary_expression "iVar19 + *(int *)(iVar13 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar13 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar13 + 0x2c0)" * (cast_expression "(int *)(iVar13 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c0)" ( (binary_expression "iVar13 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar10 != iVar11)" ( (binary_expression "iVar10 != iVar11" identifier != identifier) )) ;) })) (expression_statement "iVar12 = iVar12 + *(int *)(iVar1 + 0x18);" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar1 + 0x18)" identifier = (binary_expression "iVar12 + *(int *)(iVar1 + 0x18)" identifier + (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar12 < iVar7)" ( (binary_expression "iVar12 < iVar7" identifier < identifier) )) ;) })) (expression_statement "iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);" (assignment_expression "iVar14 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,uVar18)" ( identifier , identifier )))) ;) (if_statement "if (iVar14 == 0) {\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((int)this + 0x14) = 0;\n          }" { (expression_statement "*(undefined4 *)((int)this + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x14)" * (cast_expression "(undefined4 *)((int)this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }" if (parenthesized_expression "(*(int *)(iVar13 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar13 + 0x328) != 0" (pointer_expression "*(int *)(iVar13 + 0x328)" * (cast_expression "(int *)(iVar13 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x328)" ( (binary_expression "iVar13 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }\n          }" { (expression_statement "iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));" (assignment_expression "iVar14 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003f9ccc)\n                               (iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003f9ccc)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003f9ccc" * (cast_expression "(code *)PTR_SetImageProgress_003f9ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,puVar5,iVar2,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" ( identifier , identifier , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar13 + 0x1c)" * (cast_expression "(undefined4 *)(iVar13 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar14 == 0) {\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined4 *)((int)this + 0x14) = 0;\n            }" { (expression_statement "*(undefined4 *)((int)this + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x14)" * (cast_expression "(undefined4 *)((int)this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2;" (assignment_expression "iVar2 = (uint)(uVar16 + 1 < uVar16) + iVar2" identifier = (binary_expression "(uint)(uVar16 + 1 < uVar16) + iVar2" (call_expression "(uint)(uVar16 + 1 < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + 1 < uVar16)" ( (binary_expression "uVar16 + 1 < uVar16" (binary_expression "uVar16 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar16 = uVar16 + 1;" (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 != uVar15)" ( (binary_expression "uVar17 != uVar15" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007b668(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007b668(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007b668(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (expression_statement "iVar13 = *param_1;" (assignment_expression "iVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar14 = *(int *)(iVar13 + 0x1c);" (assignment_expression "iVar14 = *(int *)(iVar13 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x1c)" * (cast_expression "(int *)(iVar13 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003fa924)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003fa924)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003fa924" * (cast_expression "(code *)PTR_omp_get_num_threads_003fa924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003fa520)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003fa520)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003fa520" * (cast_expression "(code *)PTR_omp_get_thread_num_003fa520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar19 = iVar14 / iVar1;" (assignment_expression "iVar19 = iVar14 / iVar1" identifier = (binary_expression "iVar14 / iVar1" identifier / identifier)) ;) (expression_statement "iVar14 = iVar14 % iVar1;" (assignment_expression "iVar14 = iVar14 % iVar1" identifier = (binary_expression "iVar14 % iVar1" identifier % identifier)) ;) (if_statement "if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar14)" ( (binary_expression "iVar2 < iVar14" identifier < identifier) )) (compound_statement "{\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" { (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) })) (expression_statement "uVar15 = iVar19 * iVar2 + iVar14;" (assignment_expression "uVar15 = iVar19 * iVar2 + iVar14" identifier = (binary_expression "iVar19 * iVar2 + iVar14" (binary_expression "iVar19 * iVar2" identifier * identifier) + identifier)) ;) (expression_statement "uVar17 = iVar19 + uVar15;" (assignment_expression "uVar17 = iVar19 + uVar15" identifier = (binary_expression "iVar19 + uVar15" identifier + identifier)) ;) (if_statement "if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" if (parenthesized_expression "((int)uVar15 < (int)uVar17)" ( (binary_expression "(int)uVar15 < (int)uVar17" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" { (expression_statement "iVar14 = param_1[4];" (assignment_expression "iVar14 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[1];" (assignment_expression "iVar18 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar19 = (int)uVar15 >> 0x1f;" (assignment_expression "iVar19 = (int)uVar15 >> 0x1f" identifier = (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar3 = PTR_UINT_003f98e4 + -0x438;" (assignment_expression "puVar3 = PTR_UINT_003f98e4 + -0x438" identifier = (binary_expression "PTR_UINT_003f98e4 + -0x438" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar15;" (assignment_expression "uVar16 = uVar15" identifier = identifier) ;) (do_statement "do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);" do (compound_statement "{\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    }" { (if_statement "if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" { (if_statement "if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(*(uint *)(iVar14 + 0x1c) == 0)" ( (binary_expression "*(uint *)(iVar14 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar14 + 0x1c)" * (cast_expression "(uint *)(iVar14 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x1c)" ( (binary_expression "iVar14 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" identifier = (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003fa674" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003fa674" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" ( identifier , (pointer_expression "*(undefined4 *)(iVar14 + 0x298)" * (cast_expression "(undefined4 *)(iVar14 + 0x298)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x298)" ( (binary_expression "iVar14 + 0x298" identifier + number_literal) )))) , (binary_expression "(uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c)" (parenthesized_expression "(uVar15 + *(int *)(iVar14 + 0x29c))" ( (binary_expression "uVar15 + *(int *)(iVar14 + 0x29c)" identifier + (pointer_expression "*(int *)(iVar14 + 0x29c)" * (cast_expression "(int *)(iVar14 + 0x29c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x29c)" ( (binary_expression "iVar14 + 0x29c" identifier + number_literal) ))))) )) % (pointer_expression "*(uint *)(iVar14 + 0x1c)" * (cast_expression "(uint *)(iVar14 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x1c)" ( (binary_expression "iVar14 + 0x1c" identifier + number_literal) ))))) , (pointer_expression "*(undefined4 *)(iVar14 + 0x18)" * (cast_expression "(undefined4 *)(iVar14 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);" (assignment_expression "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" * (cast_expression "(undefined4 *)(iVar13 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" if (parenthesized_expression "((iVar4 == 0) || (iVar5 == 0))" ( (binary_expression "(iVar4 == 0) || (iVar5 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) ))) )) (compound_statement "{\n          param_1[5] = 0;\n        }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" else (compound_statement "{\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" { (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);" do (compound_statement "{\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            }" { (expression_statement "iVar11 = *(int *)(iVar14 + 0x18);" (assignment_expression "iVar11 = *(int *)(iVar14 + 0x18)" identifier = (pointer_expression "*(int *)(iVar14 + 0x18)" * (cast_expression "(int *)(iVar14 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }" if (parenthesized_expression "(iVar7 < iVar11 + iVar12)" ( (binary_expression "iVar7 < iVar11 + iVar12" identifier < (binary_expression "iVar11 + iVar12" identifier + identifier)) )) (compound_statement "{\n                iVar11 = iVar7 - iVar12;\n              }" { (expression_statement "iVar11 = iVar7 - iVar12;" (assignment_expression "iVar11 = iVar7 - iVar12" identifier = (binary_expression "iVar7 - iVar12" identifier - identifier)) ;) })) (if_statement "if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (compound_statement "{\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" identifier = identifier) ;) (do_statement "do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);" do (compound_statement "{\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                }" { (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar14 + 0x2c0)" * (cast_expression "(int *)(iVar14 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2c0)" ( (binary_expression "iVar14 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);" do (compound_statement "{\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    }" { (expression_statement "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;" (assignment_expression "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" identifier = (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" * (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar9)" ( (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar9" (pointer_expression "*(int *)(iVar14 + 0x2d0)" * (cast_expression "(int *)(iVar14 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2d0)" ( (binary_expression "iVar14 + 0x2d0" identifier + number_literal) )))) + identifier) )))) * number_literal)) ;) (if_statement "if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" if (parenthesized_expression "((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0))" ( (binary_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" (parenthesized_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" * (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" ( (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar14 + 0x2d0)" * (cast_expression "(int *)(iVar14 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2d0)" ( (binary_expression "iVar14 + 0x2d0" identifier + number_literal) )))) + identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" { (expression_statement "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;" (assignment_expression "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6" identifier = (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" * (cast_expression "(int *)(iVar13 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2d0)" ( (binary_expression "iVar13 + 0x2d0" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" if (parenthesized_expression "(*(int *)(iVar6 + 4) != 0)" ( (binary_expression "*(int *)(iVar6 + 4) != 0" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" { (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4)" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar6 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar6 + 8) * 4" identifier + (binary_expression "*(int *)(iVar6 + 8) * 4" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar14 + 0x2c0)" * (cast_expression "(int *)(iVar14 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x2c0)" ( (binary_expression "iVar14 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = iVar9 + 0xc;" (assignment_expression "iVar9 = iVar9 + 0xc" identifier = (binary_expression "iVar9 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) ;) })) (expression_statement "iVar7 = iVar7 + iVar6 * 4;" (assignment_expression "iVar7 = iVar7 + iVar6 * 4" identifier = (binary_expression "iVar7 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4" identifier = (binary_expression "iVar5 + *(int *)(iVar13 + 0x2c0) * 4" identifier + (binary_expression "*(int *)(iVar13 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar13 + 0x2c0)" * (cast_expression "(int *)(iVar13 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c0)" ( (binary_expression "iVar13 + 0x2c0" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar10 != iVar11)" ( (binary_expression "iVar10 != iVar11" identifier != identifier) )) ;) })) (expression_statement "iVar12 = iVar12 + *(int *)(iVar14 + 0x18);" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar14 + 0x18)" identifier = (binary_expression "iVar12 + *(int *)(iVar14 + 0x18)" identifier + (pointer_expression "*(int *)(iVar14 + 0x18)" * (cast_expression "(int *)(iVar14 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 0x18)" ( (binary_expression "iVar14 + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" identifier = (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar12 < iVar7)" ( (binary_expression "iVar12 < iVar7" identifier < identifier) )) ;) })) (expression_statement "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar18)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n            param_1[5] = 0;\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[5] = 0;\n          }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" if (parenthesized_expression "(*(int *)(iVar13 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar13 + 0x328) != 0" (pointer_expression "*(int *)(iVar13 + 0x328)" * (cast_expression "(int *)(iVar13 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x328)" ( (binary_expression "iVar13 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" { (expression_statement "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));" (assignment_expression "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003f9ccc)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003f9ccc" * (cast_expression "(code *)PTR_SetImageProgress_003f9ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" ( identifier , identifier , identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar13 + 0x1c)" * (cast_expression "(undefined4 *)(iVar13 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n              param_1[5] = 0;\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              param_1[5] = 0;\n            }" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) })) })) }))) })) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (expression_statement "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;" (assignment_expression "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19" identifier = (binary_expression "(uint)(uVar16 + 1 < uVar16) + iVar19" (call_expression "(uint)(uVar16 + 1 < uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar16 + 1 < uVar16)" ( (binary_expression "uVar16 + 1 < uVar16" (binary_expression "uVar16 + 1" identifier + number_literal) < identifier) ))) + identifier)) ;) (expression_statement "uVar16 = uVar16 + 1;" (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 != uVar15)" ( (binary_expression "uVar17 != uVar15" 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression 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 = (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) * LIT)) ;) (if_statement if (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) + LIT) )))) != 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (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 TYPE (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)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0007b668(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007b668(int *param_1)" (identifier "FUN_0007b668") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  int iVar18;\n  int iVar19;\n  \n  iVar13 = *param_1;\n  iVar14 = *(int *)(iVar13 + 0x1c);\n  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar19 = iVar14 / iVar1;\n  iVar14 = iVar14 % iVar1;\n  if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }\n  uVar15 = iVar19 * iVar2 + iVar14;\n  uVar17 = iVar19 + uVar15;\n  if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (expression_statement "iVar13 = *param_1;" (assignment_expression "iVar13 = *param_1" (identifier "iVar13") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar13 + 0x1c);" (assignment_expression "iVar14 = *(int *)(iVar13 + 0x1c)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar13 + 0x1c)" (* "*") (cast_expression "(int *)(iVar13 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x1c)" (( "(") (binary_expression "iVar13 + 0x1c" (identifier "iVar13") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_omp_get_num_threads_003fa924)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003fa924)" (( "(") (pointer_expression "*(code *)PTR_omp_get_num_threads_003fa924" (* "*") (cast_expression "(code *)PTR_omp_get_num_threads_003fa924" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_num_threads_003fa924"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_omp_get_thread_num_003fa520)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003fa520)" (( "(") (pointer_expression "*(code *)PTR_omp_get_thread_num_003fa520" (* "*") (cast_expression "(code *)PTR_omp_get_thread_num_003fa520" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_thread_num_003fa520"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    trap(7);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    trap(7);\n  }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar19 = iVar14 / iVar1;" (assignment_expression "iVar19 = iVar14 / iVar1" (identifier "iVar19") (= "=") (binary_expression "iVar14 / iVar1" (identifier "iVar14") (/ "/") (identifier "iVar1"))) (; ";")) (expression_statement "iVar14 = iVar14 % iVar1;" (assignment_expression "iVar14 = iVar14 % iVar1" (identifier "iVar14") (= "=") (binary_expression "iVar14 % iVar1" (identifier "iVar14") (% "%") (identifier "iVar1"))) (; ";")) (if_statement "if (iVar2 < iVar14) {\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 < iVar14)" (( "(") (binary_expression "iVar2 < iVar14" (identifier "iVar2") (< "<") (identifier "iVar14")) () ")")) (compound_statement "{\n    iVar19 = iVar19 + 1;\n    iVar14 = 0;\n  }" ({ "{") (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" (identifier "iVar19") (= "=") (binary_expression "iVar19 + 1" (identifier "iVar19") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar15 = iVar19 * iVar2 + iVar14;" (assignment_expression "uVar15 = iVar19 * iVar2 + iVar14" (identifier "uVar15") (= "=") (binary_expression "iVar19 * iVar2 + iVar14" (binary_expression "iVar19 * iVar2" (identifier "iVar19") (* "*") (identifier "iVar2")) (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "uVar17 = iVar19 + uVar15;" (assignment_expression "uVar17 = iVar19 + uVar15" (identifier "uVar17") (= "=") (binary_expression "iVar19 + uVar15" (identifier "iVar19") (+ "+") (identifier "uVar15"))) (; ";")) (if_statement "if ((int)uVar15 < (int)uVar17) {\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" (if "if") (parenthesized_expression "((int)uVar15 < (int)uVar17)" (( "(") (binary_expression "(int)uVar15 < (int)uVar17" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (< "<") (cast_expression "(int)uVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar17"))) () ")")) (compound_statement "{\n    iVar14 = param_1[4];\n    iVar1 = param_1[3];\n    iVar2 = param_1[2];\n    iVar18 = param_1[1];\n    iVar19 = (int)uVar15 >> 0x1f;\n    puVar3 = PTR_UINT_003f98e4 + -0x438;\n    uVar16 = uVar15;\n    do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);\n  }" ({ "{") (expression_statement "iVar14 = param_1[4];" (assignment_expression "iVar14 = param_1[4]" (identifier "iVar14") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" (identifier "iVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" (identifier "iVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar18 = param_1[1];" (assignment_expression "iVar18 = param_1[1]" (identifier "iVar18") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar19 = (int)uVar15 >> 0x1f;" (assignment_expression "iVar19 = (int)uVar15 >> 0x1f" (identifier "iVar19") (= "=") (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "puVar3 = PTR_UINT_003f98e4 + -0x438;" (assignment_expression "puVar3 = PTR_UINT_003f98e4 + -0x438" (identifier "puVar3") (= "=") (binary_expression "PTR_UINT_003f98e4 + -0x438" (identifier "PTR_UINT_003f98e4") (+ "+") (number_literal "-0x438"))) (; ";")) (expression_statement "uVar16 = uVar15;" (assignment_expression "uVar16 = uVar15" (identifier "uVar16") (= "=") (identifier "uVar15")) (; ";")) (do_statement "do {\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    } while (uVar17 != uVar15);" (do "do") (compound_statement "{\n      if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }\n      uVar15 = uVar15 + 1;\n      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;\n      uVar16 = uVar16 + 1;\n    }" ({ "{") (if_statement "if (param_1[5] != 0) {\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "(param_1[5] != 0)" (( "(") (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }\n        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);\n        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);\n        if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }\n      }" ({ "{") (if_statement "if (*(uint *)(iVar14 + 0x1c) == 0) {\n          trap(7);\n        }" (if "if") (parenthesized_expression "(*(uint *)(iVar14 + 0x1c) == 0)" (( "(") (binary_expression "*(uint *)(iVar14 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar14 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar14 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x1c)" (( "(") (binary_expression "iVar14 + 0x1c" (identifier "iVar14") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          trap(7);\n        }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)\n                          (iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003fa674)" (( "(") (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003fa674" (* "*") (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003fa674" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetCacheViewVirtualPixels_003fa674"))) () ")")) (argument_list "(iVar1,*(undefined4 *)(iVar14 + 0x298),\n                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),\n                           *(undefined4 *)(iVar14 + 0x18),1,iVar18)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "*(undefined4 *)(iVar14 + 0x298)" (* "*") (cast_expression "(undefined4 *)(iVar14 + 0x298)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x298)" (( "(") (binary_expression "iVar14 + 0x298" (identifier "iVar14") (+ "+") (number_literal "0x298")) () ")")))) (, ",") (binary_expression "(uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c)" (parenthesized_expression "(uVar15 + *(int *)(iVar14 + 0x29c))" (( "(") (binary_expression "uVar15 + *(int *)(iVar14 + 0x29c)" (identifier "uVar15") (+ "+") (pointer_expression "*(int *)(iVar14 + 0x29c)" (* "*") (cast_expression "(int *)(iVar14 + 0x29c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x29c)" (( "(") (binary_expression "iVar14 + 0x29c" (identifier "iVar14") (+ "+") (number_literal "0x29c")) () ")"))))) () ")")) (% "%") (pointer_expression "*(uint *)(iVar14 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar14 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x1c)" (( "(") (binary_expression "iVar14 + 0x1c" (identifier "iVar14") (+ "+") (number_literal "0x1c")) () ")"))))) (, ",") (pointer_expression "*(undefined4 *)(iVar14 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar14 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x18)" (( "(") (binary_expression "iVar14 + 0x18" (identifier "iVar14") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar18") () ")")))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);" (assignment_expression "iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)\n                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)" (( "(") (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" (* "*") (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_QueueCacheViewAuthenticPixels_003f9c68"))) () ")")) (argument_list "(iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18)" (( "(") (identifier "iVar2") (, ",") (number_literal "0") (, ",") (identifier "uVar15") (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x18)" (( "(") (binary_expression "iVar13 + 0x18" (identifier "iVar13") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar18") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) || (iVar5 == 0)) {\n          param_1[5] = 0;\n        }\n        else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" (if "if") (parenthesized_expression "((iVar4 == 0) || (iVar5 == 0))" (( "(") (binary_expression "(iVar4 == 0) || (iVar5 == 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          param_1[5] = 0;\n        }" ({ "{") (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          iVar7 = *(int *)(iVar13 + 0x18);\n          if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }\n          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);\n          if (iVar4 == 0) {\n            param_1[5] = 0;\n          }\n          if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }\n        }" ({ "{") (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar13 + 0x18)" (* "*") (cast_expression "(int *)(iVar13 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x18)" (( "(") (binary_expression "iVar13 + 0x18" (identifier "iVar13") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar7) {\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n            iVar12 = 0;\n            do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);\n          }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            } while (iVar12 < iVar7);" (do "do") (compound_statement "{\n              iVar11 = *(int *)(iVar14 + 0x18);\n              if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }\n              if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }\n              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);\n              iVar7 = *(int *)(iVar13 + 0x18);\n            }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar14 + 0x18);" (assignment_expression "iVar11 = *(int *)(iVar14 + 0x18)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar14 + 0x18)" (* "*") (cast_expression "(int *)(iVar14 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x18)" (( "(") (binary_expression "iVar14 + 0x18" (identifier "iVar14") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar7 < iVar11 + iVar12) {\n                iVar11 = iVar7 - iVar12;\n              }" (if "if") (parenthesized_expression "(iVar7 < iVar11 + iVar12)" (( "(") (binary_expression "iVar7 < iVar11 + iVar12" (identifier "iVar7") (< "<") (binary_expression "iVar11 + iVar12" (identifier "iVar11") (+ "+") (identifier "iVar12"))) () ")")) (compound_statement "{\n                iVar11 = iVar7 - iVar12;\n              }" ({ "{") (expression_statement "iVar11 = iVar7 - iVar12;" (assignment_expression "iVar11 = iVar7 - iVar12" (identifier "iVar11") (= "=") (binary_expression "iVar7 - iVar12" (identifier "iVar7") (- "-") (identifier "iVar12"))) (; ";")) (} "}"))) (if_statement "if (0 < iVar11) {\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" (if "if") (parenthesized_expression "(0 < iVar11)" (( "(") (binary_expression "0 < iVar11" (number_literal "0") (< "<") (identifier "iVar11")) () ")")) (compound_statement "{\n                iVar10 = 0;\n                iVar7 = iVar4;\n                do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);\n              }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" (identifier "iVar7") (= "=") (identifier "iVar4")) (; ";")) (do_statement "do {\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                } while (iVar10 != iVar11);" (do "do") (compound_statement "{\n                  iVar6 = *(int *)(iVar14 + 0x2c0);\n                  iVar9 = 0;\n                  if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }\n                  iVar7 = iVar7 + iVar6 * 4;\n                  iVar10 = iVar10 + 1;\n                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;\n                }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar14 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar14 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x2c0)" (( "(") (binary_expression "iVar14 + 0x2c0" (identifier "iVar14") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar6) {\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" (if "if") (parenthesized_expression "(0 < iVar6)" (( "(") (binary_expression "0 < iVar6" (number_literal "0") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n                    iVar8 = 0;\n                    do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);\n                  }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    } while (iVar8 < iVar6);" (do "do") (compound_statement "{\n                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;\n                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }\n                      iVar8 = iVar8 + 1;\n                      iVar6 = *(int *)(iVar14 + 0x2c0);\n                      iVar9 = iVar9 + 0xc;\n                    }" ({ "{") (expression_statement "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;" (assignment_expression "iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" (identifier "iVar6") (= "=") (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" (* "*") (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar9)" (( "(") (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar9" (pointer_expression "*(int *)(iVar14 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar14 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x2d0)" (( "(") (binary_expression "iVar14 + 0x2d0" (identifier "iVar14") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (identifier "iVar9")) () ")")))) (* "*") (number_literal "0xc"))) (; ";")) (if_statement "if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" (if "if") (parenthesized_expression "((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0))" (( "(") (binary_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&\n                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" (parenthesized_expression "(*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" (* "*") (cast_expression "(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar13 + 0x2d0) + iVar6 + 4)" (( "(") (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar13 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2d0)" (( "(") (binary_expression "iVar13 + 0x2d0" (identifier "iVar13") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0" (pointer_expression "*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" (* "*") (cast_expression "(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar14 + 0x2d0) + iVar6 + 4)" (( "(") (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6 + 4" (binary_expression "*(int *)(iVar14 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar14 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar14 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x2d0)" (( "(") (binary_expression "iVar14 + 0x2d0" (identifier "iVar14") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;\n                        if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }\n                      }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;" (assignment_expression "iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6" (identifier "iVar6") (= "=") (binary_expression "*(int *)(iVar13 + 0x2d0) + iVar6" (pointer_expression "*(int *)(iVar13 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar13 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2d0)" (( "(") (binary_expression "iVar13 + 0x2d0" (identifier "iVar13") (+ "+") (number_literal "0x2d0")) () ")")))) (+ "+") (identifier "iVar6"))) (; ";")) (if_statement "if (*(int *)(iVar6 + 4) != 0) {\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar6 + 4) != 0" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);\n                        }" ({ "{") (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4);" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =\n                               *(undefined4 *)(iVar7 + iVar8 * 4)" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar6 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar6 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar6 + 8) * 4" (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar7 + iVar8 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + iVar8 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + iVar8 * 4)" (( "(") (binary_expression "iVar7 + iVar8 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = *(int *)(iVar14 + 0x2c0);" (assignment_expression "iVar6 = *(int *)(iVar14 + 0x2c0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar14 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar14 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x2c0)" (( "(") (binary_expression "iVar14 + 0x2c0" (identifier "iVar14") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar9 + 0xc;" (assignment_expression "iVar9 = iVar9 + 0xc" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 0xc" (identifier "iVar9") (+ "+") (number_literal "0xc"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 < iVar6)" (( "(") (binary_expression "iVar8 < iVar6" (identifier "iVar8") (< "<") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + iVar6 * 4;" (assignment_expression "iVar7 = iVar7 + iVar6 * 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + iVar6 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4")))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;" (assignment_expression "iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + *(int *)(iVar13 + 0x2c0) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar13 + 0x2c0) * 4" (pointer_expression "*(int *)(iVar13 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar13 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2c0)" (( "(") (binary_expression "iVar13 + 0x2c0" (identifier "iVar13") (+ "+") (number_literal "0x2c0")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != iVar11)" (( "(") (binary_expression "iVar10 != iVar11" (identifier "iVar10") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = iVar12 + *(int *)(iVar14 + 0x18);" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar14 + 0x18)" (identifier "iVar12") (= "=") (binary_expression "iVar12 + *(int *)(iVar14 + 0x18)" (identifier "iVar12") (+ "+") (pointer_expression "*(int *)(iVar14 + 0x18)" (* "*") (cast_expression "(int *)(iVar14 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + 0x18)" (( "(") (binary_expression "iVar14 + 0x18" (identifier "iVar14") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar13 + 0x18);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x18)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar13 + 0x18)" (* "*") (cast_expression "(int *)(iVar13 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x18)" (( "(") (binary_expression "iVar13 + 0x18" (identifier "iVar13") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar12 < iVar7)" (( "(") (binary_expression "iVar12 < iVar7" (identifier "iVar12") (< "<") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);" (assignment_expression "iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)" (( "(") (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" (* "*") (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003fa510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncCacheViewAuthenticPixels_003fa510"))) () ")")) (argument_list "(iVar2,iVar18)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar18") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n            param_1[5] = 0;\n          }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            param_1[5] = 0;\n          }" ({ "{") (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar13 + 0x328) != 0) {\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar13 + 0x328) != 0)" (( "(") (binary_expression "*(int *)(iVar13 + 0x328) != 0" (pointer_expression "*(int *)(iVar13 + 0x328)" (* "*") (cast_expression "(int *)(iVar13 + 0x328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x328)" (( "(") (binary_expression "iVar13 + 0x328" (identifier "iVar13") (+ "+") (number_literal "0x328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));\n            if (iVar4 == 0) {\n              param_1[5] = 0;\n            }\n          }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));" (assignment_expression "iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003f9ccc)\n                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003f9ccc)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003f9ccc" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003f9ccc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003f9ccc"))) () ")")) (argument_list "(iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c))" (( "(") (identifier "iVar13") (, ",") (identifier "puVar3") (, ",") (identifier "iVar19") (, ",") (identifier "uVar16") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x1c)" (( "(") (binary_expression "iVar13 + 0x1c" (identifier "iVar13") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n              param_1[5] = 0;\n            }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              param_1[5] = 0;\n            }" ({ "{") (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" (identifier "uVar15") (= "=") (binary_expression "uVar15 + 1" (identifier "uVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;" (assignment_expression "iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19" (identifier "iVar19") (= "=") (binary_expression "(uint)(uVar16 + 1 < uVar16) + iVar19" (call_expression "(uint)(uVar16 + 1 < uVar16)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar16 + 1 < uVar16)" (( "(") (binary_expression "uVar16 + 1 < uVar16" (binary_expression "uVar16 + 1" (identifier "uVar16") (+ "+") (number_literal "1")) (< "<") (identifier "uVar16")) () ")"))) (+ "+") (identifier "iVar19"))) (; ";")) (expression_statement "uVar16 = uVar16 + 1;" (assignment_expression "uVar16 = uVar16 + 1" (identifier "uVar16") (= "=") (binary_expression "uVar16 + 1" (identifier "uVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar17 != uVar15)" (( "(") (binary_expression "uVar17 != uVar15" (identifier "uVar17") (!= "!=") (identifier "uVar15")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void TextureImage._omp_fn.4(anon_struct_24_6_f8787885 * param_0) */

void __thiscall function_1(void *this)

{
  int var_2;
  int var_5;
  type_1 uVar3;
  type_1 uVar4;
  type_2 *puVar5;
  int var_12;
  int var_9;
  int var_14;
  int var_13;
  int var_15;
  int var_10;
  int var_11;
  int var_1;
  int var_4;
  type_3 var_7;
  type_3 var_16;
  type_3 var_17;
  type_1 uVar18;
  int var_6;
  
                    /* WARNING: Load size is inaccurate */
  var_1 = *this;
  var_4 = *(int *)(var_1 + 0x1c);
  var_2 = (*(type_4 *)PTR_omp_get_num_threads_003fa924)();
  var_5 = (*(type_4 *)PTR_omp_get_thread_num_003fa520)();
  if (var_2 == 0) {
    var_3(7);
  }
  var_6 = var_4 / var_2;
  var_4 = var_4 % var_2;
  if (var_5 < var_4) {
    var_6 = var_6 + 1;
    var_4 = 0;
  }
  var_7 = var_6 * var_5 + var_4;
  var_17 = var_6 + var_7;
  if ((int)var_7 < (int)var_17) {
    var_2 = *(int *)((int)this + 0x10);
    uVar3 = *(type_1 *)((int)this + 0xc);
    uVar4 = *(type_1 *)((int)this + 8);
    uVar18 = *(type_1 *)((int)this + 4);
    var_5 = (int)var_7 >> 0x1f;
    puVar5 = var_8 + -0x438;
    var_16 = var_7;
    do {
      if (*(int *)((int)this + 0x14) != 0) {
        if (*(type_3 *)(var_2 + 0x1c) == 0) {
          var_3(7);
        }
        var_4 = (*(type_4 *)PTR_GetCacheViewVirtualPixels_003fa674)
                           (uVar3,*(type_1 *)(var_2 + 0x298),
                            (var_7 + *(int *)(var_2 + 0x29c)) % *(type_3 *)(var_2 + 0x1c),
                            *(type_1 *)(var_2 + 0x18),1,uVar18);
        var_6 = (*(type_4 *)PTR_QueueCacheViewAuthenticPixels_003f9c68)
                           (uVar4,0,var_7,*(type_1 *)(var_1 + 0x18),1,uVar18);
        if ((var_4 == 0) || (var_6 == 0)) {
          *(type_1 *)((int)this + 0x14) = 0;
        }
        else {
          var_9 = *(int *)(var_1 + 0x18);
          if (0 < var_9) {
            var_11 = 0;
            do {
              var_10 = *(int *)(var_2 + 0x18);
              if (var_9 < var_10 + var_11) {
                var_10 = var_9 - var_11;
              }
              if (0 < var_10) {
                var_15 = 0;
                var_9 = var_4;
                do {
                  var_12 = *(int *)(var_2 + 0x2c0);
                  var_13 = 0;
                  if (0 < var_12) {
                    var_14 = 0;
                    do {
                      var_12 = *(int *)(*(int *)(var_2 + 0x2d0) + var_13) * 0xc;
                      if ((*(int *)(*(int *)(var_1 + 0x2d0) + var_12 + 4) != 0) &&
                         (*(int *)(*(int *)(var_2 + 0x2d0) + var_12 + 4) != 0)) {
                        var_12 = *(int *)(var_1 + 0x2d0) + var_12;
                        if (*(int *)(var_12 + 4) != 0) {
                          *(type_1 *)(var_6 + *(int *)(var_12 + 8) * 4) =
                               *(type_1 *)(var_9 + var_14 * 4);
                        }
                      }
                      var_14 = var_14 + 1;
                      var_12 = *(int *)(var_2 + 0x2c0);
                      var_13 = var_13 + 0xc;
                    } while (var_14 < var_12);
                  }
                  var_9 = var_9 + var_12 * 4;
                  var_15 = var_15 + 1;
                  var_6 = var_6 + *(int *)(var_1 + 0x2c0) * 4;
                } while (var_15 != var_10);
              }
              var_11 = var_11 + *(int *)(var_2 + 0x18);
              var_9 = *(int *)(var_1 + 0x18);
            } while (var_11 < var_9);
          }
          var_4 = (*(type_4 *)PTR_SyncCacheViewAuthenticPixels_003fa510)(uVar4,uVar18);
          if (var_4 == 0) {
            *(type_1 *)((int)this + 0x14) = 0;
          }
          if (*(int *)(var_1 + 0x328) != 0) {
            var_4 = (*(type_4 *)PTR_SetImageProgress_003f9ccc)
                               (var_1,puVar5,var_5,var_16,0,*(type_1 *)(var_1 + 0x1c));
            if (var_4 == 0) {
              *(type_1 *)((int)this + 0x14) = 0;
            }
          }
        }
      }
      var_7 = var_7 + 1;
      var_5 = (type_3)(var_16 + 1 < var_16) + var_5;
      var_16 = var_16 + 1;
    } while (var_17 != var_7);
  }
  return;
}


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

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  uint uVar15;
  uint uVar16;
  uint uVar17;
  int iVar18;
  int iVar19;
  
  iVar13 = *param_1;
  iVar14 = *(int *)(iVar13 + 0x1c);
  iVar1 = (*(code *)PTR_omp_get_num_threads_003fa924)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003fa520)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar19 = iVar14 / iVar1;
  iVar14 = iVar14 % iVar1;
  if (iVar2 < iVar14) {
    iVar19 = iVar19 + 1;
    iVar14 = 0;
  }
  uVar15 = iVar19 * iVar2 + iVar14;
  uVar17 = iVar19 + uVar15;
  if ((int)uVar15 < (int)uVar17) {
    iVar14 = param_1[4];
    iVar1 = param_1[3];
    iVar2 = param_1[2];
    iVar18 = param_1[1];
    iVar19 = (int)uVar15 >> 0x1f;
    puVar3 = PTR_UINT_003f98e4 + -0x438;
    uVar16 = uVar15;
    do {
      if (param_1[5] != 0) {
        if (*(uint *)(iVar14 + 0x1c) == 0) {
          trap(7);
        }
        iVar4 = (*(code *)PTR_GetCacheViewVirtualPixels_003fa674)
                          (iVar1,*(undefined4 *)(iVar14 + 0x298),
                           (uVar15 + *(int *)(iVar14 + 0x29c)) % *(uint *)(iVar14 + 0x1c),
                           *(undefined4 *)(iVar14 + 0x18),1,iVar18);
        iVar5 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003f9c68)
                          (iVar2,0,uVar15,*(undefined4 *)(iVar13 + 0x18),1,iVar18);
        if ((iVar4 == 0) || (iVar5 == 0)) {
          param_1[5] = 0;
        }
        else {
          iVar7 = *(int *)(iVar13 + 0x18);
          if (0 < iVar7) {
            iVar12 = 0;
            do {
              iVar11 = *(int *)(iVar14 + 0x18);
              if (iVar7 < iVar11 + iVar12) {
                iVar11 = iVar7 - iVar12;
              }
              if (0 < iVar11) {
                iVar10 = 0;
                iVar7 = iVar4;
                do {
                  iVar6 = *(int *)(iVar14 + 0x2c0);
                  iVar9 = 0;
                  if (0 < iVar6) {
                    iVar8 = 0;
                    do {
                      iVar6 = *(int *)(*(int *)(iVar14 + 0x2d0) + iVar9) * 0xc;
                      if ((*(int *)(*(int *)(iVar13 + 0x2d0) + iVar6 + 4) != 0) &&
                         (*(int *)(*(int *)(iVar14 + 0x2d0) + iVar6 + 4) != 0)) {
                        iVar6 = *(int *)(iVar13 + 0x2d0) + iVar6;
                        if (*(int *)(iVar6 + 4) != 0) {
                          *(undefined4 *)(iVar5 + *(int *)(iVar6 + 8) * 4) =
                               *(undefined4 *)(iVar7 + iVar8 * 4);
                        }
                      }
                      iVar8 = iVar8 + 1;
                      iVar6 = *(int *)(iVar14 + 0x2c0);
                      iVar9 = iVar9 + 0xc;
                    } while (iVar8 < iVar6);
                  }
                  iVar7 = iVar7 + iVar6 * 4;
                  iVar10 = iVar10 + 1;
                  iVar5 = iVar5 + *(int *)(iVar13 + 0x2c0) * 4;
                } while (iVar10 != iVar11);
              }
              iVar12 = iVar12 + *(int *)(iVar14 + 0x18);
              iVar7 = *(int *)(iVar13 + 0x18);
            } while (iVar12 < iVar7);
          }
          iVar4 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003fa510)(iVar2,iVar18);
          if (iVar4 == 0) {
            param_1[5] = 0;
          }
          if (*(int *)(iVar13 + 0x328) != 0) {
            iVar4 = (*(code *)PTR_SetImageProgress_003f9ccc)
                              (iVar13,puVar3,iVar19,uVar16,0,*(undefined4 *)(iVar13 + 0x1c));
            if (iVar4 == 0) {
              param_1[5] = 0;
            }
          }
        }
      }
      uVar15 = uVar15 + 1;
      iVar19 = (uint)(uVar16 + 1 < uVar16) + iVar19;
      uVar16 = uVar16 + 1;
    } while (uVar17 != uVar15);
  }
  return;
}

