
/* DWARF original prototype: void CopyImageRegion._omp_fn.6(anon_struct_48_12_2111ad29 * param_0) */

void __thiscall CopyImageRegion__omp_fn_6(void *this)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int *piVar10;
  undefined4 *puVar11;
  int *piVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  undefined4 uVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  int iVar23;
  
  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar23 = *(int *)((int)this + 0xc) / iVar1;
  iVar1 = *(int *)((int)this + 0xc) % iVar1;
  if (iVar2 < iVar1) {
    iVar23 = iVar23 + 1;
    iVar1 = 0;
  }
  iVar1 = iVar23 * iVar2 + iVar1;
  if (iVar1 < iVar23 + iVar1) {
    iVar2 = *(int *)((int)this + 0x14);
    iVar17 = *(int *)((int)this + 0x1c);
    uVar8 = *(undefined4 *)((int)this + 0x28);
    iVar21 = iVar1 + iVar2;
    uVar3 = *(undefined4 *)((int)this + 0x18);
    uVar16 = *(undefined4 *)((int)this + 0x20);
    iVar19 = *(int *)((int)this + 8);
                    /* WARNING: Load size is inaccurate */
    iVar20 = *this;
    uVar9 = *(undefined4 *)((int)this + 0x24);
    uVar4 = *(undefined4 *)((int)this + 0x10);
    iVar18 = *(int *)((int)this + 4);
    do {
      if (*(int *)((int)this + 0x2c) != 0) {
        puVar5 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);
        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)
                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);
        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {
          iVar14 = 0;
          if (0 < iVar19) {
            iVar15 = *(int *)(iVar18 + 0x2c0);
            iVar22 = *(int *)(iVar20 + 0x2c0);
            do {
              if (0 < iVar15) {
                piVar12 = *(int **)(iVar18 + 0x2d0);
                iVar13 = *(int *)(iVar20 + 0x2d0);
                piVar10 = piVar12;
                puVar11 = puVar5;
                do {
                  iVar7 = iVar13 + *piVar10 * 0xc;
                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {
                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;
                  }
                  piVar10 = piVar10 + 3;
                  puVar11 = puVar11 + 1;
                } while (piVar12 + iVar15 * 3 != piVar10);
              }
              iVar14 = iVar14 + 1;
              puVar5 = puVar5 + iVar15;
              iVar6 = iVar6 + iVar22 * 4;
            } while (iVar14 != iVar19);
          }
          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);
          if (iVar6 != 0) goto LAB_001c5ddc;
        }
        *(undefined4 *)((int)this + 0x2c) = 0;
      }
LAB_001c5ddc:
      iVar21 = iVar21 + 1;
    } while (iVar21 != iVar23 + iVar1 + iVar2);
  }
  return;
}



void FUN_001c5be0(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  undefined4 *puVar11;
  int *piVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  int iVar23;
  
  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar23 = param_1[3] / iVar1;
  iVar1 = param_1[3] % iVar1;
  if (iVar2 < iVar1) {
    iVar23 = iVar23 + 1;
    iVar1 = 0;
  }
  iVar1 = iVar23 * iVar2 + iVar1;
  if (iVar1 < iVar23 + iVar1) {
    iVar6 = param_1[5];
    iVar17 = param_1[7];
    iVar8 = param_1[10];
    iVar21 = iVar1 + iVar6;
    iVar2 = param_1[6];
    iVar16 = param_1[8];
    iVar19 = param_1[2];
    iVar20 = *param_1;
    iVar9 = param_1[9];
    iVar3 = param_1[4];
    iVar18 = param_1[1];
    do {
      if (param_1[0xb] != 0) {
        puVar4 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);
        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)
                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);
        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {
          iVar14 = 0;
          if (0 < iVar19) {
            iVar15 = *(int *)(iVar18 + 0x2c0);
            iVar22 = *(int *)(iVar20 + 0x2c0);
            do {
              if (0 < iVar15) {
                piVar12 = *(int **)(iVar18 + 0x2d0);
                iVar13 = *(int *)(iVar20 + 0x2d0);
                piVar10 = piVar12;
                puVar11 = puVar4;
                do {
                  iVar7 = iVar13 + *piVar10 * 0xc;
                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {
                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;
                  }
                  piVar10 = piVar10 + 3;
                  puVar11 = puVar11 + 1;
                } while (piVar12 + iVar15 * 3 != piVar10);
              }
              iVar14 = iVar14 + 1;
              puVar4 = puVar4 + iVar15;
              iVar5 = iVar5 + iVar22 * 4;
            } while (iVar14 != iVar19);
          }
          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);
          if (iVar5 != 0) goto LAB_001c5ddc;
        }
        param_1[0xb] = 0;
      }
LAB_001c5ddc:
      iVar21 = iVar21 + 1;
    } while (iVar21 != iVar23 + iVar1 + iVar6);
  }
  return;
}


lui gp,0x1f
addiu gp,gp,-0x5330
addu gp,gp,t9
addiu sp,sp,-0x60
lw t9,-0x6fa4(gp)
sw gp,0x18(sp)
sw ra,0x5c(sp)
sw s7,0x54(sp)
sw s5,0x4c(sp)
or s5,a0,zero
sw s0,0x38(sp)
sw s8,0x58(sp)
sw s6,0x50(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
jalr t9
_sw s1,0x3c(sp)
lw gp,0x18(sp)
lw t9,-0x73a8(gp)
jalr t9
_or s7,v0,zero
lw s0,0xc(s5)
lw gp,0x18(sp)
teq s7,zero
div s0,s7
mfhi s7
slt v1,v0,s7
beq v1,zero,0x001c5c60
_mflo s0
addiu s0,s0,0x1
or s7,zero,zero
mul v1,s0,v0
addu v0,v1,s7
addu s0,s0,v0
slt v1,v0,s0
beq v1,zero,0x001c5de8
_li s2,0x1
lw v1,0x14(s5)
lw s3,0x1c(s5)
lw a0,0x28(s5)
addu s7,v0,v1
lw v0,0x18(s5)
lw s1,0x20(s5)
addu s0,s0,v1
lw s4,0x8(s5)
lw s6,0x0(s5)
sw v0,0x2c(sp)
subu v0,s3,v1
sw a0,0x24(sp)
sw v0,0x34(sp)
lw a0,0x24(s5)
lw v0,0x10(s5)
lw s3,0x4(s5)
sw a0,0x28(sp)
sw v0,0x30(sp)
lw v0,0x2c(s5)
beq v0,zero,0x001c5ddc
_lw t9,-0x7254(gp)
or a3,s4,zero
lw a1,0x30(sp)
or a2,s7,zero
lw a0,0x28(sp)
sw s1,0x14(sp)
jalr t9
_sw s2,0x10(sp)
or a3,s4,zero
lw gp,0x18(sp)
or s8,v0,zero
lw v1,0x34(sp)
lw a1,0x2c(sp)
lw a0,0x24(sp)
lw t9,-0x7264(gp)
addu a2,v1,s7
sw s1,0x14(sp)
jalr t9
_sw s2,0x10(sp)
beq s8,zero,0x001c5dd8
_lw gp,0x18(sp)
beq v0,zero,0x001c5dd8
_nop
blez s4,0x001c5dc0
_or t5,zero,zero
lw t6,0x2c0(s3)
lw t8,0x2c0(s6)
sll t7,t6,0x1
sll t8,t8,0x2
addu t7,t7,t6
sll t9,t6,0x2
sll t7,t7,0x2
blez t6,0x001c5db0
_nop
lw a2,0x2d0(s3)
or a1,s8,zero
lw t4,0x2d0(s6)
addu a3,a2,t7
or a0,a2,zero
lw ra,0x0(a0)
sll v1,ra,0x1
addu v1,v1,ra
sll v1,v1,0x2
addu ra,a2,v1
lw ra,0x4(ra)
beq ra,zero,0x001c5da4
_addu v1,t4,v1
lw ra,0x4(v1)
beq ra,zero,0x001c5da4
_nop
lwc1 f0,0x0(a1)
lw v1,0x8(v1)
sll v1,v1,0x2
addu v1,v0,v1
swc1 f0,0x0(v1)
addiu a0,a0,0xc
bne a3,a0,0x001c5d64
_addiu a1,a1,0x4
addiu t5,t5,0x1
addu s8,s8,t9
bne t5,s4,0x001c5d48
_addu v0,v0,t8
lw t9,-0x73b8(gp)
or a1,s1,zero
jalr t9
_lw a0,0x24(sp)
bne v0,zero,0x001c5ddc
_lw gp,0x18(sp)
sw zero,0x2c(s5)
addiu s7,s7,0x1
bne s7,s0,0x001c5cc0
_nop
lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
(translation_unit "void FUN_001c5be0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001c5be0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001c5be0(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  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * 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 *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (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 "iVar23 = param_1[3] / iVar1;" (assignment_expression "iVar23 = param_1[3] / iVar1" identifier = (binary_expression "param_1[3] / iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) / identifier)) ;) (expression_statement "iVar1 = param_1[3] % iVar1;" (assignment_expression "iVar1 = param_1[3] % iVar1" identifier = (binary_expression "param_1[3] % iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) % identifier)) ;) (if_statement "if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) (compound_statement "{\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" { (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = iVar23 * iVar2 + iVar1;" (assignment_expression "iVar1 = iVar23 * iVar2 + iVar1" identifier = (binary_expression "iVar23 * iVar2 + iVar1" (binary_expression "iVar23 * iVar2" identifier * identifier) + identifier)) ;) (if_statement "if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" if (parenthesized_expression "(iVar1 < iVar23 + iVar1)" ( (binary_expression "iVar1 < iVar23 + iVar1" identifier < (binary_expression "iVar23 + iVar1" identifier + identifier)) )) (compound_statement "{\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" { (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = param_1[7];" (assignment_expression "iVar17 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "iVar21 = iVar1 + iVar6;" (assignment_expression "iVar21 = iVar1 + iVar6" identifier = (binary_expression "iVar1 + iVar6" identifier + identifier)) ;) (expression_statement "iVar2 = param_1[6];" (assignment_expression "iVar2 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar16 = param_1[8];" (assignment_expression "iVar16 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "iVar19 = param_1[2];" (assignment_expression "iVar19 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar20 = *param_1;" (assignment_expression "iVar20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = param_1[9];" (assignment_expression "iVar9 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[1];" (assignment_expression "iVar18 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);" do (compound_statement "{\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    }" { (if_statement "if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" if (parenthesized_expression "(param_1[0xb] != 0)" ( (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" { (expression_statement "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);" (assignment_expression "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar3,iVar21,iVar19,1,iVar16)" ( identifier , identifier , identifier , identifier , number_literal , identifier ))))) ;) (expression_statement "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" identifier = (call_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)" ( (pointer_expression "*(code *)PTR_GetCacheViewAuthenticPixels_003a964c" * (cast_expression "(code *)PTR_GetCacheViewAuthenticPixels_003a964c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" ( identifier , identifier , (binary_expression "(iVar17 - iVar6) + iVar21" (parenthesized_expression "(iVar17 - iVar6)" ( (binary_expression "iVar17 - iVar6" identifier - identifier) )) + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" if (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (iVar5 != 0))" ( (binary_expression "(puVar4 != (undefined4 *)0x0) && (iVar5 != 0)" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" if (parenthesized_expression "(0 < iVar19)" ( (binary_expression "0 < iVar19" number_literal < identifier) )) (compound_statement "{\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" { (expression_statement "iVar15 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2c0)" * (cast_expression "(int *)(iVar18 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2c0)" ( (binary_expression "iVar18 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar20 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar20 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2c0)" * (cast_expression "(int *)(iVar20 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2c0)" ( (binary_expression "iVar20 + 0x2c0" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);" do (compound_statement "{\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            }" { (if_statement "if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" { (expression_statement "piVar12 = *(int **)(iVar18 + 0x2d0);" (assignment_expression "piVar12 = *(int **)(iVar18 + 0x2d0)" identifier = (pointer_expression "*(int **)(iVar18 + 0x2d0)" * (cast_expression "(int **)(iVar18 + 0x2d0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar18 + 0x2d0)" ( (binary_expression "iVar18 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar20 + 0x2d0);" (assignment_expression "iVar13 = *(int *)(iVar20 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2d0)" * (cast_expression "(int *)(iVar20 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2d0)" ( (binary_expression "iVar20 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar4;" (assignment_expression "puVar11 = puVar4" identifier = identifier) ;) (do_statement "do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);" do (compound_statement "{\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" { (expression_statement "iVar7 = iVar13 + *piVar10 * 0xc;" (assignment_expression "iVar7 = iVar13 + *piVar10 * 0xc" identifier = (binary_expression "iVar13 + *piVar10 * 0xc" identifier + (binary_expression "*piVar10 * 0xc" (pointer_expression "*piVar10" * identifier) * number_literal))) ;) (if_statement "if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" if (parenthesized_expression "((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0))" ( (binary_expression "(piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)" (parenthesized_expression "(piVar12[*piVar10 * 3 + 1] != 0)" ( (binary_expression "piVar12[*piVar10 * 3 + 1] != 0" (subscript_expression "piVar12[*piVar10 * 3 + 1]" identifier [ (binary_expression "*piVar10 * 3 + 1" (binary_expression "*piVar10 * 3" (pointer_expression "*piVar10" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar7 + 4) != 0)" ( (binary_expression "*(int *)(iVar7 + 4) != 0" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" { (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar7 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar7 + 8) * 4" identifier + (binary_expression "*(int *)(iVar7 + 8) * 4" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) })) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" identifier = (binary_expression "piVar10 + 3" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar12 + iVar15 * 3 != piVar10)" ( (binary_expression "piVar12 + iVar15 * 3 != piVar10" (binary_expression "piVar12 + iVar15 * 3" identifier + (binary_expression "iVar15 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + iVar15;" (assignment_expression "puVar4 = puVar4 + iVar15" identifier = (binary_expression "puVar4 + iVar15" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + iVar22 * 4;" (assignment_expression "iVar5 = iVar5 + iVar22 * 4" identifier = (binary_expression "iVar5 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar14 != iVar19)" ( (binary_expression "iVar14 != iVar19" identifier != identifier) )) ;) })) (expression_statement "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar16)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) goto LAB_001c5ddc;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001c5ddc;" goto statement_identifier ;)) })) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_001c5ddc:\n      iVar21 = iVar21 + 1;" statement_identifier : (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar21 != iVar23 + iVar1 + iVar6)" ( (binary_expression "iVar21 != iVar23 + iVar1 + iVar6" identifier != (binary_expression "iVar23 + iVar1 + iVar6" (binary_expression "iVar23 + iVar1" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void CopyImageRegion._omp_fn.6(anon_struct_48_12_2111ad29 * param_0) */\n\nvoid __thiscall CopyImageRegion__omp_fn_6(void *this)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  undefined4 uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = *(int *)((int)this + 0xc) / iVar1;\n  iVar1 = *(int *)((int)this + 0xc) % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar2 = *(int *)((int)this + 0x14);\n    iVar17 = *(int *)((int)this + 0x1c);\n    uVar8 = *(undefined4 *)((int)this + 0x28);\n    iVar21 = iVar1 + iVar2;\n    uVar3 = *(undefined4 *)((int)this + 0x18);\n    uVar16 = *(undefined4 *)((int)this + 0x20);\n    iVar19 = *(int *)((int)this + 8);\n                    /* WARNING: Load size is inaccurate */\n    iVar20 = *this;\n    uVar9 = *(undefined4 *)((int)this + 0x24);\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar18 = *(int *)((int)this + 4);\n    do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall CopyImageRegion__omp_fn_6(void *this)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  undefined4 uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = *(int *)((int)this + 0xc) / iVar1;\n  iVar1 = *(int *)((int)this + 0xc) % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar2 = *(int *)((int)this + 0x14);\n    iVar17 = *(int *)((int)this + 0x1c);\n    uVar8 = *(undefined4 *)((int)this + 0x28);\n    iVar21 = iVar1 + iVar2;\n    uVar3 = *(undefined4 *)((int)this + 0x18);\n    uVar16 = *(undefined4 *)((int)this + 0x20);\n    iVar19 = *(int *)((int)this + 8);\n                    /* WARNING: Load size is inaccurate */\n    iVar20 = *this;\n    uVar9 = *(undefined4 *)((int)this + 0x24);\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar18 = *(int *)((int)this + 4);\n    do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "CopyImageRegion__omp_fn_6(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  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  undefined4 uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = *(int *)((int)this + 0xc) / iVar1;\n  iVar1 = *(int *)((int)this + 0xc) % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar2 = *(int *)((int)this + 0x14);\n    iVar17 = *(int *)((int)this + 0x1c);\n    uVar8 = *(undefined4 *)((int)this + 0x28);\n    iVar21 = iVar1 + iVar2;\n    uVar3 = *(undefined4 *)((int)this + 0x18);\n    uVar16 = *(undefined4 *)((int)this + 0x20);\n    iVar19 = *(int *)((int)this + 8);\n                    /* WARNING: Load size is inaccurate */\n    iVar20 = *this;\n    uVar9 = *(undefined4 *)((int)this + 0x24);\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar18 = *(int *)((int)this + 4);\n    do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);\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 "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (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 "iVar23 = *(int *)((int)this + 0xc) / iVar1;" (assignment_expression "iVar23 = *(int *)((int)this + 0xc) / iVar1" identifier = (binary_expression "*(int *)((int)this + 0xc) / iVar1" (pointer_expression "*(int *)((int)this + 0xc)" * (cast_expression "(int *)((int)this + 0xc)" ( (type_descriptor "int *" primitive_type (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) )))) / identifier)) ;) (expression_statement "iVar1 = *(int *)((int)this + 0xc) % iVar1;" (assignment_expression "iVar1 = *(int *)((int)this + 0xc) % iVar1" identifier = (binary_expression "*(int *)((int)this + 0xc) % iVar1" (pointer_expression "*(int *)((int)this + 0xc)" * (cast_expression "(int *)((int)this + 0xc)" ( (type_descriptor "int *" primitive_type (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) )))) % identifier)) ;) (if_statement "if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) (compound_statement "{\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" { (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = iVar23 * iVar2 + iVar1;" (assignment_expression "iVar1 = iVar23 * iVar2 + iVar1" identifier = (binary_expression "iVar23 * iVar2 + iVar1" (binary_expression "iVar23 * iVar2" identifier * identifier) + identifier)) ;) (if_statement "if (iVar1 < iVar23 + iVar1) {\n    iVar2 = *(int *)((int)this + 0x14);\n    iVar17 = *(int *)((int)this + 0x1c);\n    uVar8 = *(undefined4 *)((int)this + 0x28);\n    iVar21 = iVar1 + iVar2;\n    uVar3 = *(undefined4 *)((int)this + 0x18);\n    uVar16 = *(undefined4 *)((int)this + 0x20);\n    iVar19 = *(int *)((int)this + 8);\n                    /* WARNING: Load size is inaccurate */\n    iVar20 = *this;\n    uVar9 = *(undefined4 *)((int)this + 0x24);\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar18 = *(int *)((int)this + 4);\n    do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);\n  }" if (parenthesized_expression "(iVar1 < iVar23 + iVar1)" ( (binary_expression "iVar1 < iVar23 + iVar1" identifier < (binary_expression "iVar23 + iVar1" identifier + identifier)) )) (compound_statement "{\n    iVar2 = *(int *)((int)this + 0x14);\n    iVar17 = *(int *)((int)this + 0x1c);\n    uVar8 = *(undefined4 *)((int)this + 0x28);\n    iVar21 = iVar1 + iVar2;\n    uVar3 = *(undefined4 *)((int)this + 0x18);\n    uVar16 = *(undefined4 *)((int)this + 0x20);\n    iVar19 = *(int *)((int)this + 8);\n                    /* WARNING: Load size is inaccurate */\n    iVar20 = *this;\n    uVar9 = *(undefined4 *)((int)this + 0x24);\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar18 = *(int *)((int)this + 4);\n    do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);\n  }" { (expression_statement "iVar2 = *(int *)((int)this + 0x14);" (assignment_expression "iVar2 = *(int *)((int)this + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar17 = *(int *)((int)this + 0x1c);" (assignment_expression "iVar17 = *(int *)((int)this + 0x1c)" identifier = (pointer_expression "*(int *)((int)this + 0x1c)" * (cast_expression "(int *)((int)this + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)((int)this + 0x28);" (assignment_expression "uVar8 = *(undefined4 *)((int)this + 0x28)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x28)" * (cast_expression "(undefined4 *)((int)this + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x28)" ( (binary_expression "(int)this + 0x28" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar21 = iVar1 + iVar2;" (assignment_expression "iVar21 = iVar1 + iVar2" identifier = (binary_expression "iVar1 + iVar2" identifier + identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)((int)this + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)((int)this + 0x18)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x18)" * (cast_expression "(undefined4 *)((int)this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar16 = *(undefined4 *)((int)this + 0x20);" (assignment_expression "uVar16 = *(undefined4 *)((int)this + 0x20)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x20)" * (cast_expression "(undefined4 *)((int)this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x20)" ( (binary_expression "(int)this + 0x20" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar19 = *(int *)((int)this + 8);" (assignment_expression "iVar19 = *(int *)((int)this + 8)" identifier = (pointer_expression "*(int *)((int)this + 8)" * (cast_expression "(int *)((int)this + 8)" ( (type_descriptor "int *" primitive_type (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) ))))) ;) comment (expression_statement "iVar20 = *this;" (assignment_expression "iVar20 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)((int)this + 0x24);" (assignment_expression "uVar9 = *(undefined4 *)((int)this + 0x24)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x24)" * (cast_expression "(undefined4 *)((int)this + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x24)" ( (binary_expression "(int)this + 0x24" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)((int)this + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)((int)this + 0x10)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x10)" * (cast_expression "(undefined4 *)((int)this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (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 "iVar18 = *(int *)((int)this + 4);" (assignment_expression "iVar18 = *(int *)((int)this + 4)" identifier = (pointer_expression "*(int *)((int)this + 4)" * (cast_expression "(int *)((int)this + 4)" ( (type_descriptor "int *" primitive_type (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) ))))) ;) (do_statement "do {\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar2);" do (compound_statement "{\n      if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    }" { (if_statement "if (*(int *)((int)this + 0x2c) != 0) {\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }" if (parenthesized_expression "(*(int *)((int)this + 0x2c) != 0)" ( (binary_expression "*(int *)((int)this + 0x2c) != 0" (pointer_expression "*(int *)((int)this + 0x2c)" * (cast_expression "(int *)((int)this + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x2c)" ( (binary_expression "(int)this + 0x2c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);\n        iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);\n        if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }\n        *(undefined4 *)((int)this + 0x2c) = 0;\n      }" { (expression_statement "puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16);" (assignment_expression "puVar5 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar9,uVar4,iVar21,iVar19,1,uVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,uVar4,iVar21,iVar19,1,uVar16)" ( identifier , identifier , identifier , identifier , number_literal , identifier ))))) ;) (expression_statement "iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16);" (assignment_expression "iVar6 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16)" identifier = (call_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)" ( (pointer_expression "*(code *)PTR_GetCacheViewAuthenticPixels_003a964c" * (cast_expression "(code *)PTR_GetCacheViewAuthenticPixels_003a964c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,uVar3,(iVar17 - iVar2) + iVar21,iVar19,1,uVar16)" ( identifier , identifier , (binary_expression "(iVar17 - iVar2) + iVar21" (parenthesized_expression "(iVar17 - iVar2)" ( (binary_expression "iVar17 - iVar2" identifier - identifier) )) + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if ((puVar5 != (undefined4 *)0x0) && (iVar6 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }" if (parenthesized_expression "((puVar5 != (undefined4 *)0x0) && (iVar6 != 0))" ( (binary_expression "(puVar5 != (undefined4 *)0x0) && (iVar6 != 0)" (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);\n          if (iVar6 != 0) goto LAB_001c5ddc;\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" if (parenthesized_expression "(0 < iVar19)" ( (binary_expression "0 < iVar19" number_literal < identifier) )) (compound_statement "{\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" { (expression_statement "iVar15 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2c0)" * (cast_expression "(int *)(iVar18 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2c0)" ( (binary_expression "iVar18 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar20 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar20 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2c0)" * (cast_expression "(int *)(iVar20 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2c0)" ( (binary_expression "iVar20 + 0x2c0" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            } while (iVar14 != iVar19);" do (compound_statement "{\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar5 = puVar5 + iVar15;\n              iVar6 = iVar6 + iVar22 * 4;\n            }" { (if_statement "if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar5;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" { (expression_statement "piVar12 = *(int **)(iVar18 + 0x2d0);" (assignment_expression "piVar12 = *(int **)(iVar18 + 0x2d0)" identifier = (pointer_expression "*(int **)(iVar18 + 0x2d0)" * (cast_expression "(int **)(iVar18 + 0x2d0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar18 + 0x2d0)" ( (binary_expression "iVar18 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar20 + 0x2d0);" (assignment_expression "iVar13 = *(int *)(iVar20 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2d0)" * (cast_expression "(int *)(iVar20 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2d0)" ( (binary_expression "iVar20 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar5;" (assignment_expression "puVar11 = puVar5" identifier = identifier) ;) (do_statement "do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);" do (compound_statement "{\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" { (expression_statement "iVar7 = iVar13 + *piVar10 * 0xc;" (assignment_expression "iVar7 = iVar13 + *piVar10 * 0xc" identifier = (binary_expression "iVar13 + *piVar10 * 0xc" identifier + (binary_expression "*piVar10 * 0xc" (pointer_expression "*piVar10" * identifier) * number_literal))) ;) (if_statement "if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" if (parenthesized_expression "((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0))" ( (binary_expression "(piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)" (parenthesized_expression "(piVar12[*piVar10 * 3 + 1] != 0)" ( (binary_expression "piVar12[*piVar10 * 3 + 1] != 0" (subscript_expression "piVar12[*piVar10 * 3 + 1]" identifier [ (binary_expression "*piVar10 * 3 + 1" (binary_expression "*piVar10 * 3" (pointer_expression "*piVar10" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar7 + 4) != 0)" ( (binary_expression "*(int *)(iVar7 + 4) != 0" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" { (expression_statement "*(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar6 + *(int *)(iVar7 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(iVar7 + 8) * 4)" ( (binary_expression "iVar6 + *(int *)(iVar7 + 8) * 4" identifier + (binary_expression "*(int *)(iVar7 + 8) * 4" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) })) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" identifier = (binary_expression "piVar10 + 3" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar12 + iVar15 * 3 != piVar10)" ( (binary_expression "piVar12 + iVar15 * 3 != piVar10" (binary_expression "piVar12 + iVar15 * 3" identifier + (binary_expression "iVar15 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + iVar15;" (assignment_expression "puVar5 = puVar5 + iVar15" identifier = (binary_expression "puVar5 + iVar15" identifier + identifier)) ;) (expression_statement "iVar6 = iVar6 + iVar22 * 4;" (assignment_expression "iVar6 = iVar6 + iVar22 * 4" identifier = (binary_expression "iVar6 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar14 != iVar19)" ( (binary_expression "iVar14 != iVar19" identifier != identifier) )) ;) })) (expression_statement "iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);" (assignment_expression "iVar6 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,uVar16)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_001c5ddc;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001c5ddc;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)((int)this + 0x2c) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x2c) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x2c)" * (cast_expression "(undefined4 *)((int)this + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x2c)" ( (binary_expression "(int)this + 0x2c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_001c5ddc:\n      iVar21 = iVar21 + 1;" statement_identifier : (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar21 != iVar23 + iVar1 + iVar2)" ( (binary_expression "iVar21 != iVar23 + iVar1 + iVar2" identifier != (binary_expression "iVar23 + iVar1 + iVar2" (binary_expression "iVar23 + iVar1" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001c5be0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001c5be0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001c5be0(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  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * 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 *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (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 "iVar23 = param_1[3] / iVar1;" (assignment_expression "iVar23 = param_1[3] / iVar1" identifier = (binary_expression "param_1[3] / iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) / identifier)) ;) (expression_statement "iVar1 = param_1[3] % iVar1;" (assignment_expression "iVar1 = param_1[3] % iVar1" identifier = (binary_expression "param_1[3] % iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) % identifier)) ;) (if_statement "if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) (compound_statement "{\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" { (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" identifier = (binary_expression "iVar23 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (expression_statement "iVar1 = iVar23 * iVar2 + iVar1;" (assignment_expression "iVar1 = iVar23 * iVar2 + iVar1" identifier = (binary_expression "iVar23 * iVar2 + iVar1" (binary_expression "iVar23 * iVar2" identifier * identifier) + identifier)) ;) (if_statement "if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" if (parenthesized_expression "(iVar1 < iVar23 + iVar1)" ( (binary_expression "iVar1 < iVar23 + iVar1" identifier < (binary_expression "iVar23 + iVar1" identifier + identifier)) )) (compound_statement "{\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" { (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = param_1[7];" (assignment_expression "iVar17 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "iVar21 = iVar1 + iVar6;" (assignment_expression "iVar21 = iVar1 + iVar6" identifier = (binary_expression "iVar1 + iVar6" identifier + identifier)) ;) (expression_statement "iVar2 = param_1[6];" (assignment_expression "iVar2 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar16 = param_1[8];" (assignment_expression "iVar16 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "iVar19 = param_1[2];" (assignment_expression "iVar19 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar20 = *param_1;" (assignment_expression "iVar20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = param_1[9];" (assignment_expression "iVar9 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[1];" (assignment_expression "iVar18 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);" do (compound_statement "{\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    }" { (if_statement "if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" if (parenthesized_expression "(param_1[0xb] != 0)" ( (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" { (expression_statement "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);" (assignment_expression "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar3,iVar21,iVar19,1,iVar16)" ( identifier , identifier , identifier , identifier , number_literal , identifier ))))) ;) (expression_statement "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" identifier = (call_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)" ( (pointer_expression "*(code *)PTR_GetCacheViewAuthenticPixels_003a964c" * (cast_expression "(code *)PTR_GetCacheViewAuthenticPixels_003a964c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" ( identifier , identifier , (binary_expression "(iVar17 - iVar6) + iVar21" (parenthesized_expression "(iVar17 - iVar6)" ( (binary_expression "iVar17 - iVar6" identifier - identifier) )) + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" if (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (iVar5 != 0))" ( (binary_expression "(puVar4 != (undefined4 *)0x0) && (iVar5 != 0)" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" if (parenthesized_expression "(0 < iVar19)" ( (binary_expression "0 < iVar19" number_literal < identifier) )) (compound_statement "{\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" { (expression_statement "iVar15 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2c0)" * (cast_expression "(int *)(iVar18 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2c0)" ( (binary_expression "iVar18 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar20 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar20 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2c0)" * (cast_expression "(int *)(iVar20 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2c0)" ( (binary_expression "iVar20 + 0x2c0" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);" do (compound_statement "{\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            }" { (if_statement "if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" { (expression_statement "piVar12 = *(int **)(iVar18 + 0x2d0);" (assignment_expression "piVar12 = *(int **)(iVar18 + 0x2d0)" identifier = (pointer_expression "*(int **)(iVar18 + 0x2d0)" * (cast_expression "(int **)(iVar18 + 0x2d0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar18 + 0x2d0)" ( (binary_expression "iVar18 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar20 + 0x2d0);" (assignment_expression "iVar13 = *(int *)(iVar20 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar20 + 0x2d0)" * (cast_expression "(int *)(iVar20 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2d0)" ( (binary_expression "iVar20 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar4;" (assignment_expression "puVar11 = puVar4" identifier = identifier) ;) (do_statement "do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);" do (compound_statement "{\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" { (expression_statement "iVar7 = iVar13 + *piVar10 * 0xc;" (assignment_expression "iVar7 = iVar13 + *piVar10 * 0xc" identifier = (binary_expression "iVar13 + *piVar10 * 0xc" identifier + (binary_expression "*piVar10 * 0xc" (pointer_expression "*piVar10" * identifier) * number_literal))) ;) (if_statement "if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" if (parenthesized_expression "((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0))" ( (binary_expression "(piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)" (parenthesized_expression "(piVar12[*piVar10 * 3 + 1] != 0)" ( (binary_expression "piVar12[*piVar10 * 3 + 1] != 0" (subscript_expression "piVar12[*piVar10 * 3 + 1]" identifier [ (binary_expression "*piVar10 * 3 + 1" (binary_expression "*piVar10 * 3" (pointer_expression "*piVar10" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar7 + 4) != 0)" ( (binary_expression "*(int *)(iVar7 + 4) != 0" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" { (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar7 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar7 + 8) * 4" identifier + (binary_expression "*(int *)(iVar7 + 8) * 4" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) })) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" identifier = (binary_expression "piVar10 + 3" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar12 + iVar15 * 3 != piVar10)" ( (binary_expression "piVar12 + iVar15 * 3 != piVar10" (binary_expression "piVar12 + iVar15 * 3" identifier + (binary_expression "iVar15 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + iVar15;" (assignment_expression "puVar4 = puVar4 + iVar15" identifier = (binary_expression "puVar4 + iVar15" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + iVar22 * 4;" (assignment_expression "iVar5 = iVar5 + iVar22 * 4" identifier = (binary_expression "iVar5 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar14 != iVar19)" ( (binary_expression "iVar14 != iVar19" identifier != identifier) )) ;) })) (expression_statement "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar16)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) goto LAB_001c5ddc;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_001c5ddc;" goto statement_identifier ;)) })) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_001c5ddc:\n      iVar21 = iVar21 + 1;" statement_identifier : (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar21 != iVar23 + iVar1 + iVar6)" ( (binary_expression "iVar21 != iVar23 + iVar1 + iVar6" identifier != (binary_expression "iVar23 + iVar1 + iVar6" (binary_expression "iVar23 + iVar1" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (subscript_expression IDENT [ LIT ]) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) % 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)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + 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 = (binary_expression IDENT + IDENT)) ;) (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 = (pointer_expression * IDENT)) ;) (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 ])) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , 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 , IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + IDENT) , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + LIT) ]) != LIT) )) && (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 * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (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) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001c5be0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c5be0(int *param_1)" (identifier "FUN_001c5be0") (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  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  int *piVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  \n  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar1 == 0) {\n    trap(7);\n  }\n  iVar23 = param_1[3] / iVar1;\n  iVar1 = param_1[3] % iVar1;\n  if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }\n  iVar1 = iVar23 * iVar2 + iVar1;\n  if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (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 *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" (( "(") (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" (* "*") (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_num_threads_003a990c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" (( "(") (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" (* "*") (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_thread_num_003a9508"))) () ")")) (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 "iVar23 = param_1[3] / iVar1;" (assignment_expression "iVar23 = param_1[3] / iVar1" (identifier "iVar23") (= "=") (binary_expression "param_1[3] / iVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (/ "/") (identifier "iVar1"))) (; ";")) (expression_statement "iVar1 = param_1[3] % iVar1;" (assignment_expression "iVar1 = param_1[3] % iVar1" (identifier "iVar1") (= "=") (binary_expression "param_1[3] % iVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (% "%") (identifier "iVar1"))) (; ";")) (if_statement "if (iVar2 < iVar1) {\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 < iVar1)" (( "(") (binary_expression "iVar2 < iVar1" (identifier "iVar2") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    iVar23 = iVar23 + 1;\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "iVar23 = iVar23 + 1;" (assignment_expression "iVar23 = iVar23 + 1" (identifier "iVar23") (= "=") (binary_expression "iVar23 + 1" (identifier "iVar23") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar1 = iVar23 * iVar2 + iVar1;" (assignment_expression "iVar1 = iVar23 * iVar2 + iVar1" (identifier "iVar1") (= "=") (binary_expression "iVar23 * iVar2 + iVar1" (binary_expression "iVar23 * iVar2" (identifier "iVar23") (* "*") (identifier "iVar2")) (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (iVar1 < iVar23 + iVar1) {\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" (if "if") (parenthesized_expression "(iVar1 < iVar23 + iVar1)" (( "(") (binary_expression "iVar1 < iVar23 + iVar1" (identifier "iVar1") (< "<") (binary_expression "iVar23 + iVar1" (identifier "iVar23") (+ "+") (identifier "iVar1"))) () ")")) (compound_statement "{\n    iVar6 = param_1[5];\n    iVar17 = param_1[7];\n    iVar8 = param_1[10];\n    iVar21 = iVar1 + iVar6;\n    iVar2 = param_1[6];\n    iVar16 = param_1[8];\n    iVar19 = param_1[2];\n    iVar20 = *param_1;\n    iVar9 = param_1[9];\n    iVar3 = param_1[4];\n    iVar18 = param_1[1];\n    do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);\n  }" ({ "{") (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" (identifier "iVar6") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar17 = param_1[7];" (assignment_expression "iVar17 = param_1[7]" (identifier "iVar17") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" (identifier "iVar8") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "iVar21 = iVar1 + iVar6;" (assignment_expression "iVar21 = iVar1 + iVar6" (identifier "iVar21") (= "=") (binary_expression "iVar1 + iVar6" (identifier "iVar1") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "iVar2 = param_1[6];" (assignment_expression "iVar2 = param_1[6]" (identifier "iVar2") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "iVar16 = param_1[8];" (assignment_expression "iVar16 = param_1[8]" (identifier "iVar16") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "iVar19 = param_1[2];" (assignment_expression "iVar19 = param_1[2]" (identifier "iVar19") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar20 = *param_1;" (assignment_expression "iVar20 = *param_1" (identifier "iVar20") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar9 = param_1[9];" (assignment_expression "iVar9 = param_1[9]" (identifier "iVar9") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" (identifier "iVar3") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (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") (] "]"))) (; ";")) (do_statement "do {\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    } while (iVar21 != iVar23 + iVar1 + iVar6);" (do "do") (compound_statement "{\n      if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }\nLAB_001c5ddc:\n      iVar21 = iVar21 + 1;\n    }" ({ "{") (if_statement "if (param_1[0xb] != 0) {\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" (if "if") (parenthesized_expression "(param_1[0xb] != 0)" (( "(") (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);\n        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);\n        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }\n        param_1[0xb] = 0;\n      }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);" (assignment_expression "puVar4 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar9,iVar3,iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" (( "(") (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" (* "*") (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetCacheViewVirtualPixels_003a965c"))) () ")")) (argument_list "(iVar9,iVar3,iVar21,iVar19,1,iVar16)" (( "(") (identifier "iVar9") (, ",") (identifier "iVar3") (, ",") (identifier "iVar21") (, ",") (identifier "iVar19") (, ",") (number_literal "1") (, ",") (identifier "iVar16") () ")"))))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)\n                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" (parenthesized_expression "(*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)" (( "(") (pointer_expression "*(code *)PTR_GetCacheViewAuthenticPixels_003a964c" (* "*") (cast_expression "(code *)PTR_GetCacheViewAuthenticPixels_003a964c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetCacheViewAuthenticPixels_003a964c"))) () ")")) (argument_list "(iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16)" (( "(") (identifier "iVar8") (, ",") (identifier "iVar2") (, ",") (binary_expression "(iVar17 - iVar6) + iVar21" (parenthesized_expression "(iVar17 - iVar6)" (( "(") (binary_expression "iVar17 - iVar6" (identifier "iVar17") (- "-") (identifier "iVar6")) () ")")) (+ "+") (identifier "iVar21")) (, ",") (identifier "iVar19") (, ",") (number_literal "1") (, ",") (identifier "iVar16") () ")")))) (; ";")) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" (if "if") (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (iVar5 != 0))" (( "(") (binary_expression "(puVar4 != (undefined4 *)0x0) && (iVar5 != 0)" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          iVar14 = 0;\n          if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }\n          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);\n          if (iVar5 != 0) goto LAB_001c5ddc;\n        }" ({ "{") (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar19) {\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" (if "if") (parenthesized_expression "(0 < iVar19)" (( "(") (binary_expression "0 < iVar19" (number_literal "0") (< "<") (identifier "iVar19")) () ")")) (compound_statement "{\n            iVar15 = *(int *)(iVar18 + 0x2c0);\n            iVar22 = *(int *)(iVar20 + 0x2c0);\n            do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);\n          }" ({ "{") (expression_statement "iVar15 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2c0)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar18 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar18 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x2c0)" (( "(") (binary_expression "iVar18 + 0x2c0" (identifier "iVar18") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (expression_statement "iVar22 = *(int *)(iVar20 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar20 + 0x2c0)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(iVar20 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar20 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x2c0)" (( "(") (binary_expression "iVar20 + 0x2c0" (identifier "iVar20") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (do_statement "do {\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            } while (iVar14 != iVar19);" (do "do") (compound_statement "{\n              if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar4 = puVar4 + iVar15;\n              iVar5 = iVar5 + iVar22 * 4;\n            }" ({ "{") (if_statement "if (0 < iVar15) {\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" (if "if") (parenthesized_expression "(0 < iVar15)" (( "(") (binary_expression "0 < iVar15" (number_literal "0") (< "<") (identifier "iVar15")) () ")")) (compound_statement "{\n                piVar12 = *(int **)(iVar18 + 0x2d0);\n                iVar13 = *(int *)(iVar20 + 0x2d0);\n                piVar10 = piVar12;\n                puVar11 = puVar4;\n                do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);\n              }" ({ "{") (expression_statement "piVar12 = *(int **)(iVar18 + 0x2d0);" (assignment_expression "piVar12 = *(int **)(iVar18 + 0x2d0)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(iVar18 + 0x2d0)" (* "*") (cast_expression "(int **)(iVar18 + 0x2d0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar18 + 0x2d0)" (( "(") (binary_expression "iVar18 + 0x2d0" (identifier "iVar18") (+ "+") (number_literal "0x2d0")) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar20 + 0x2d0);" (assignment_expression "iVar13 = *(int *)(iVar20 + 0x2d0)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar20 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar20 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x2d0)" (( "(") (binary_expression "iVar20 + 0x2d0" (identifier "iVar20") (+ "+") (number_literal "0x2d0")) () ")"))))) (; ";")) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" (identifier "piVar10") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "puVar11 = puVar4;" (assignment_expression "puVar11 = puVar4" (identifier "puVar11") (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (piVar12 + iVar15 * 3 != piVar10);" (do "do") (compound_statement "{\n                  iVar7 = iVar13 + *piVar10 * 0xc;\n                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }\n                  piVar10 = piVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" ({ "{") (expression_statement "iVar7 = iVar13 + *piVar10 * 0xc;" (assignment_expression "iVar7 = iVar13 + *piVar10 * 0xc" (identifier "iVar7") (= "=") (binary_expression "iVar13 + *piVar10 * 0xc" (identifier "iVar13") (+ "+") (binary_expression "*piVar10 * 0xc" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (* "*") (number_literal "0xc")))) (; ";")) (if_statement "if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" (if "if") (parenthesized_expression "((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0))" (( "(") (binary_expression "(piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)" (parenthesized_expression "(piVar12[*piVar10 * 3 + 1] != 0)" (( "(") (binary_expression "piVar12[*piVar10 * 3 + 1] != 0" (subscript_expression "piVar12[*piVar10 * 3 + 1]" (identifier "piVar12") ([ "[") (binary_expression "*piVar10 * 3 + 1" (binary_expression "*piVar10 * 3" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar7 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar7 + 4) != 0" (pointer_expression "*(int *)(iVar7 + 4)" (* "*") (cast_expression "(int *)(iVar7 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 4)" (( "(") (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;\n                  }" ({ "{") (expression_statement "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar7 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar7 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar7 + 8) * 4" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (} "}"))) (expression_statement "piVar10 = piVar10 + 3;" (assignment_expression "piVar10 = piVar10 + 3" (identifier "piVar10") (= "=") (binary_expression "piVar10 + 3" (identifier "piVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar12 + iVar15 * 3 != piVar10)" (( "(") (binary_expression "piVar12 + iVar15 * 3 != piVar10" (binary_expression "piVar12 + iVar15 * 3" (identifier "piVar12") (+ "+") (binary_expression "iVar15 * 3" (identifier "iVar15") (* "*") (number_literal "3"))) (!= "!=") (identifier "piVar10")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar4 + iVar15;" (assignment_expression "puVar4 = puVar4 + iVar15" (identifier "puVar4") (= "=") (binary_expression "puVar4 + iVar15" (identifier "puVar4") (+ "+") (identifier "iVar15"))) (; ";")) (expression_statement "iVar5 = iVar5 + iVar22 * 4;" (assignment_expression "iVar5 = iVar5 + iVar22 * 4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + iVar22 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar22 * 4" (identifier "iVar22") (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar14 != iVar19)" (( "(") (binary_expression "iVar14 != iVar19" (identifier "iVar14") (!= "!=") (identifier "iVar19")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);" (assignment_expression "iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" (( "(") (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" (* "*") (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncCacheViewAuthenticPixels_003a94f8"))) () ")")) (argument_list "(iVar8,iVar16)" (( "(") (identifier "iVar8") (, ",") (identifier "iVar16") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) goto LAB_001c5ddc;" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_001c5ddc;" (goto "goto") (statement_identifier "LAB_001c5ddc") (; ";"))) (} "}"))) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (labeled_statement "LAB_001c5ddc:\n      iVar21 = iVar21 + 1;" (statement_identifier "LAB_001c5ddc") (: ":") (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" (identifier "iVar21") (= "=") (binary_expression "iVar21 + 1" (identifier "iVar21") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar21 != iVar23 + iVar1 + iVar6)" (( "(") (binary_expression "iVar21 != iVar23 + iVar1 + iVar6" (identifier "iVar21") (!= "!=") (binary_expression "iVar23 + iVar1 + iVar6" (binary_expression "iVar23 + iVar1" (identifier "iVar23") (+ "+") (identifier "iVar1")) (+ "+") (identifier "iVar6"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void CopyImageRegion._omp_fn.6(anon_struct_48_12_2111ad29 * param_0) */

void __thiscall function_1(void *this)

{
  int var_1;
  int var_3;
  type_1 uVar3;
  type_1 uVar4;
  type_1 *var_7;
  int var_8;
  int var_14;
  type_1 uVar8;
  type_1 uVar9;
  int *var_15;
  type_1 *var_16;
  int *var_17;
  int var_13;
  int var_18;
  int var_12;
  type_1 uVar16;
  int var_5;
  int var_10;
  int var_9;
  int var_11;
  int var_6;
  int var_19;
  int var_4;
  
  var_1 = (*(type_2 *)PTR_omp_get_num_threads_003a990c)();
  var_3 = (*(type_2 *)PTR_omp_get_thread_num_003a9508)();
  if (var_1 == 0) {
    var_2(7);
  }
  var_4 = *(int *)((int)this + 0xc) / var_1;
  var_1 = *(int *)((int)this + 0xc) % var_1;
  if (var_3 < var_1) {
    var_4 = var_4 + 1;
    var_1 = 0;
  }
  var_1 = var_4 * var_3 + var_1;
  if (var_1 < var_4 + var_1) {
    var_3 = *(int *)((int)this + 0x14);
    var_5 = *(int *)((int)this + 0x1c);
    uVar8 = *(type_1 *)((int)this + 0x28);
    var_6 = var_1 + var_3;
    uVar3 = *(type_1 *)((int)this + 0x18);
    uVar16 = *(type_1 *)((int)this + 0x20);
    var_9 = *(int *)((int)this + 8);
                    /* WARNING: Load size is inaccurate */
    var_11 = *this;
    uVar9 = *(type_1 *)((int)this + 0x24);
    uVar4 = *(type_1 *)((int)this + 0x10);
    var_10 = *(int *)((int)this + 4);
    do {
      if (*(int *)((int)this + 0x2c) != 0) {
        var_7 = (type_1 *)
                 (*(type_2 *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (uVar9,uVar4,var_6,var_9,1,uVar16);
        var_8 = (*(type_2 *)PTR_GetCacheViewAuthenticPixels_003a964c)
                          (uVar8,uVar3,(var_5 - var_3) + var_6,var_9,1,uVar16);
        if ((var_7 != (type_1 *)0x0) && (var_8 != 0)) {
          var_18 = 0;
          if (0 < var_9) {
            var_12 = *(int *)(var_10 + 0x2c0);
            var_19 = *(int *)(var_11 + 0x2c0);
            do {
              if (0 < var_12) {
                var_17 = *(int **)(var_10 + 0x2d0);
                var_13 = *(int *)(var_11 + 0x2d0);
                var_15 = var_17;
                var_16 = var_7;
                do {
                  var_14 = var_13 + *var_15 * 0xc;
                  if ((var_17[*var_15 * 3 + 1] != 0) && (*(int *)(var_14 + 4) != 0)) {
                    *(type_1 *)(var_8 + *(int *)(var_14 + 8) * 4) = *var_16;
                  }
                  var_15 = var_15 + 3;
                  var_16 = var_16 + 1;
                } while (var_17 + var_12 * 3 != var_15);
              }
              var_18 = var_18 + 1;
              var_7 = var_7 + var_12;
              var_8 = var_8 + var_19 * 4;
            } while (var_18 != var_9);
          }
          var_8 = (*(type_2 *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar8,uVar16);
          if (var_8 != 0) goto LAB_001c5ddc;
        }
        *(type_1 *)((int)this + 0x2c) = 0;
      }
LAB_001c5ddc:
      var_6 = var_6 + 1;
    } while (var_6 != var_4 + var_1 + var_3);
  }
  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: (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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)) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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)))) (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: (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: (identifier) right: (identifier)))) (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: (pointer_expression argument: (identifier)))) (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)))) (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 (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (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) (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) 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: (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: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))))) (return_statement))))

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  undefined4 *puVar11;
  int *piVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  int iVar23;
  
  iVar1 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar2 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar1 == 0) {
    trap(7);
  }
  iVar23 = param_1[3] / iVar1;
  iVar1 = param_1[3] % iVar1;
  if (iVar2 < iVar1) {
    iVar23 = iVar23 + 1;
    iVar1 = 0;
  }
  iVar1 = iVar23 * iVar2 + iVar1;
  if (iVar1 < iVar23 + iVar1) {
    iVar6 = param_1[5];
    iVar17 = param_1[7];
    iVar8 = param_1[10];
    iVar21 = iVar1 + iVar6;
    iVar2 = param_1[6];
    iVar16 = param_1[8];
    iVar19 = param_1[2];
    iVar20 = *param_1;
    iVar9 = param_1[9];
    iVar3 = param_1[4];
    iVar18 = param_1[1];
    do {
      if (param_1[0xb] != 0) {
        puVar4 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (iVar9,iVar3,iVar21,iVar19,1,iVar16);
        iVar5 = (*(code *)PTR_GetCacheViewAuthenticPixels_003a964c)
                          (iVar8,iVar2,(iVar17 - iVar6) + iVar21,iVar19,1,iVar16);
        if ((puVar4 != (undefined4 *)0x0) && (iVar5 != 0)) {
          iVar14 = 0;
          if (0 < iVar19) {
            iVar15 = *(int *)(iVar18 + 0x2c0);
            iVar22 = *(int *)(iVar20 + 0x2c0);
            do {
              if (0 < iVar15) {
                piVar12 = *(int **)(iVar18 + 0x2d0);
                iVar13 = *(int *)(iVar20 + 0x2d0);
                piVar10 = piVar12;
                puVar11 = puVar4;
                do {
                  iVar7 = iVar13 + *piVar10 * 0xc;
                  if ((piVar12[*piVar10 * 3 + 1] != 0) && (*(int *)(iVar7 + 4) != 0)) {
                    *(undefined4 *)(iVar5 + *(int *)(iVar7 + 8) * 4) = *puVar11;
                  }
                  piVar10 = piVar10 + 3;
                  puVar11 = puVar11 + 1;
                } while (piVar12 + iVar15 * 3 != piVar10);
              }
              iVar14 = iVar14 + 1;
              puVar4 = puVar4 + iVar15;
              iVar5 = iVar5 + iVar22 * 4;
            } while (iVar14 != iVar19);
          }
          iVar5 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar8,iVar16);
          if (iVar5 != 0) goto LAB_001c5ddc;
        }
        param_1[0xb] = 0;
      }
LAB_001c5ddc:
      iVar21 = iVar21 + 1;
    } while (iVar21 != iVar23 + iVar1 + iVar6);
  }
  return;
}

