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

MontageInfo * CloneMontageInfo(ImageInfo *image_info,MontageInfo *montage_info)

{
  undefined *puVar1;
  MontageInfo *pMVar2;
  char *pcVar3;
  PixelInfo *pPVar4;
  PixelInfo *pPVar5;
  PixelInfo *pPVar6;
  GravityType GVar7;
  MagickBooleanType MVar8;
  undefined4 uVar9;
  PixelInfo *pPVar10;
  PixelTrait PVar11;
  ColorspaceType CVar12;
  double dVar13;
  
  pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);
  (*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);
  if (montage_info != (MontageInfo *)0x0) {
    if (montage_info->geometry != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->geometry = pcVar3;
    }
    if (montage_info->tile != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->tile = pcVar3;
    }
    if (montage_info->title != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->title = pcVar3;
    }
    if (montage_info->frame != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->frame = pcVar3;
    }
    if (montage_info->texture != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->texture = pcVar3;
    }
    if (montage_info->font != (char *)0x0) {
      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();
      pMVar2->font = pcVar3;
    }
    dVar13 = montage_info->pointsize;
    MVar8 = montage_info->shadow;
    pMVar2->border_width = montage_info->border_width;
    pMVar2->shadow = MVar8;
    pMVar2->pointsize = dVar13;
    pPVar4 = &montage_info->fill;
    pPVar10 = &pMVar2->fill;
    do {
      pPVar6 = pPVar10;
      pPVar5 = pPVar4;
      pPVar4 = (PixelInfo *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(undefined4 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(undefined4 *)&pPVar6->field_0xc = uVar9;
      pPVar10 = (PixelInfo *)&pPVar6->fuzz;
    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);
    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);
    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;
    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;
    pPVar4 = &pMVar2->stroke;
    pPVar10 = &montage_info->stroke;
    do {
      pPVar6 = pPVar10;
      pPVar5 = pPVar4;
      pPVar10 = (PixelInfo *)&pPVar6->fuzz;
      CVar12 = pPVar6->colorspace;
      PVar11 = pPVar6->alpha_trait;
      uVar9 = *(undefined4 *)&pPVar6->field_0xc;
      pPVar5->storage_class = pPVar6->storage_class;
      pPVar5->colorspace = CVar12;
      pPVar5->alpha_trait = PVar11;
      *(undefined4 *)&pPVar5->field_0xc = uVar9;
      pPVar4 = (PixelInfo *)&pPVar5->fuzz;
    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);
    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);
    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;
    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;
    pPVar4 = &montage_info->matte_color;
    pPVar10 = &pMVar2->matte_color;
    do {
      pPVar6 = pPVar10;
      pPVar5 = pPVar4;
      pPVar4 = (PixelInfo *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(undefined4 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(undefined4 *)&pPVar6->field_0xc = uVar9;
      pPVar10 = (PixelInfo *)&pPVar6->fuzz;
    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);
    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);
    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;
    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;
    pPVar4 = &montage_info->background_color;
    pPVar10 = &pMVar2->background_color;
    do {
      pPVar6 = pPVar10;
      pPVar5 = pPVar4;
      pPVar4 = (PixelInfo *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(undefined4 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(undefined4 *)&pPVar6->field_0xc = uVar9;
      pPVar10 = (PixelInfo *)&pPVar6->fuzz;
    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);
    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);
    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;
    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;
    pPVar4 = &pMVar2->border_color;
    pPVar10 = &montage_info->border_color;
    do {
      pPVar6 = pPVar10;
      pPVar5 = pPVar4;
      pPVar10 = (PixelInfo *)&pPVar6->fuzz;
      CVar12 = pPVar6->colorspace;
      PVar11 = pPVar6->alpha_trait;
      uVar9 = *(undefined4 *)&pPVar6->field_0xc;
      pPVar5->storage_class = pPVar6->storage_class;
      pPVar5->colorspace = CVar12;
      pPVar5->alpha_trait = PVar11;
      *(undefined4 *)&pPVar5->field_0xc = uVar9;
      puVar1 = PTR_CopyMagickString_003a983c;
      pPVar4 = (PixelInfo *)&pPVar5->fuzz;
    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);
    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);
    GVar7 = montage_info->gravity;
    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;
    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;
    pMVar2->gravity = GVar7;
    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);
    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();
    pMVar2->debug = MVar8;
  }
  return pMVar2;
}



undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  int *piVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  undefined8 uVar11;
  
  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);
  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);
  if (param_2 != (int *)0x0) {
    if (*param_2 != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      *puVar2 = uVar3;
    }
    if (param_2[1] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[1] = uVar3;
    }
    if (param_2[2] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[2] = uVar3;
    }
    if (param_2[3] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[3] = uVar3;
    }
    if (param_2[4] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[4] = uVar3;
    }
    if (param_2[5] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[5] = uVar3;
    }
    uVar11 = *(undefined8 *)(param_2 + 6);
    iVar7 = param_2[9];
    puVar2[8] = param_2[8];
    puVar2[9] = iVar7;
    *(undefined8 *)(puVar2 + 6) = uVar11;
    piVar4 = param_2 + 0x4c;
    piVar8 = puVar2 + 0x4c;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x60);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = puVar2 + 0x62;
    piVar8 = param_2 + 0x62;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar8 = piVar6 + 4;
      iVar10 = piVar6[1];
      iVar9 = piVar6[2];
      iVar7 = piVar6[3];
      *piVar5 = *piVar6;
      piVar5[1] = iVar10;
      piVar5[2] = iVar9;
      piVar5[3] = iVar7;
      piVar4 = piVar5 + 4;
    } while (piVar8 != param_2 + 0x76);
    iVar7 = piVar6[5];
    piVar5[4] = *piVar8;
    piVar5[5] = iVar7;
    piVar4 = param_2 + 0x47c;
    piVar8 = puVar2 + 0x47c;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x490);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = param_2 + 0x20;
    piVar8 = puVar2 + 0x20;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x34);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = puVar2 + 0x36;
    piVar8 = param_2 + 0x36;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar8 = piVar6 + 4;
      iVar10 = piVar6[1];
      iVar9 = piVar6[2];
      iVar7 = piVar6[3];
      *piVar5 = *piVar6;
      piVar5[1] = iVar10;
      piVar5[2] = iVar9;
      piVar5[3] = iVar7;
      puVar1 = PTR_CopyMagickString_003a983c;
      piVar4 = piVar5 + 4;
    } while (piVar8 != param_2 + 0x4a);
    iVar9 = piVar6[5];
    iVar7 = param_2[0x78];
    piVar5[4] = *piVar8;
    piVar5[5] = iVar9;
    puVar2[0x78] = iVar7;
    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);
    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();
    puVar2[0x479] = uVar3;
  }
  return puVar2;
}


lui gp,0x2a
addiu gp,gp,-0x5bdc
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x755c(gp)
sw s1,0x20(sp)
or s1,a0,zero
li a0,0x1248
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s0,0x1c(sp)
jalr t9
_or s0,a1,zero
or a0,s1,zero
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x79c8(gp)
jalr t9
_or s1,v0,zero
beq s0,zero,0x00116738
_lw gp,0x10(sp)
lw a0,0x0(s0)
beq a0,zero,0x001164fc
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x0(s1)
lw a0,0x4(s0)
beq a0,zero,0x00116518
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x4(s1)
lw a0,0x8(s0)
beq a0,zero,0x00116534
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x8(s1)
lw a0,0xc(s0)
beq a0,zero,0x00116550
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0xc(s1)
lw a0,0x10(s0)
beq a0,zero,0x0011656c
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x10(s1)
lw a0,0x14(s0)
beq a0,zero,0x00116588
_lw t9,-0x709c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x14(s1)
ldc1 f0,0x18(s0)
addiu v0,s0,0x130
lw a1,0x20(s0)
addiu v1,s1,0x130
lw a0,0x24(s0)
addiu a2,s0,0x180
sw a1,0x20(s1)
sw a0,0x24(s1)
sdc1 f0,0x18(s1)
lw t0,0x0(v0)
addiu v0,v0,0x10
addiu v1,v1,0x10
lw a3,-0xc(v0)
lw a1,-0x8(v0)
lw a0,-0x4(v0)
sw t0,-0x10(v1)
sw a3,-0xc(v1)
sw a1,-0x8(v1)
bne v0,a2,0x001165ac
_sw a0,-0x4(v1)
lw a2,0x0(v0)
addiu a0,s0,0x188
lw a1,0x4(v0)
addiu a3,s0,0x1d8
addiu v0,s1,0x188
sw a2,0x0(v1)
sw a1,0x4(v1)
lw t0,0x0(a0)
addiu a0,a0,0x10
addiu v0,v0,0x10
lw a2,-0xc(a0)
lw a1,-0x8(a0)
lw v1,-0x4(a0)
sw t0,-0x10(v0)
sw a2,-0xc(v0)
sw a1,-0x8(v0)
bne a0,a3,0x001165f4
_sw v1,-0x4(v0)
lw a2,0x0(a0)
addiu v1,s0,0x11f0
lw a1,0x4(a0)
addiu a3,s0,0x1240
addiu a0,s1,0x11f0
sw a2,0x0(v0)
sw a1,0x4(v0)
lw t0,0x0(v1)
addiu v1,v1,0x10
addiu a0,a0,0x10
lw a2,-0xc(v1)
lw a1,-0x8(v1)
lw v0,-0x4(v1)
sw t0,-0x10(a0)
sw a2,-0xc(a0)
sw a1,-0x8(a0)
bne v1,a3,0x0011663c
_sw v0,-0x4(a0)
lw a2,0x0(v1)
addiu v0,s0,0x80
lw a1,0x4(v1)
addiu a3,s0,0xd0
addiu v1,s1,0x80
sw a2,0x0(a0)
sw a1,0x4(a0)
lw t0,0x0(v0)
addiu v0,v0,0x10
addiu v1,v1,0x10
lw a2,-0xc(v0)
lw a1,-0x8(v0)
lw a0,-0x4(v0)
sw t0,-0x10(v1)
sw a2,-0xc(v1)
sw a1,-0x8(v1)
bne v0,a3,0x00116684
_sw a0,-0x4(v1)
lw a2,0x0(v0)
addiu a0,s0,0xd8
lw a1,0x4(v0)
addiu a3,s0,0x128
addiu v0,s1,0xd8
sw a2,0x0(v1)
sw a1,0x4(v1)
lw t0,0x0(a0)
addiu a0,a0,0x10
addiu v0,v0,0x10
lw a2,-0xc(a0)
lw a1,-0x8(a0)
lw v1,-0x4(a0)
sw t0,-0x10(v0)
sw a2,-0xc(v0)
sw a1,-0x8(v0)
bne a0,a3,0x001166cc
_sw v1,-0x4(v0)
lw t0,0x0(a0)
li a2,0x1000
lw a3,0x4(a0)
addiu a1,s0,0x1e4
lw v1,0x1e0(s0)
addiu a0,s1,0x1e4
lw t9,-0x7074(gp)
sw t0,0x0(v0)
sw a3,0x4(v0)
jalr t9
_sw v1,0x1e0(s1)
lw gp,0x10(sp)
lw t9,-0x7108(gp)
jalr t9
_nop
sw v0,0x11e4(s1)
lw ra,0x24(sp)
or v0,s1,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}\n\n" (function_definition "undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" type_identifier (pointer_declarator "* CloneMontageInfo(undefined4 param_1,int *param_2)" * (function_declarator "CloneMontageInfo(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1248)" ( number_literal ))))) ;) (expression_statement "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);" (call_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2)" (parenthesized_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)" ( (pointer_expression "*(code *)PTR_GetMontageInfo_003a8ee8" * (cast_expression "(code *)PTR_GetMontageInfo_003a8ee8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar2)" ( identifier , identifier ))) ;) (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" { (if_statement "if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) })) (if_statement "if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[2] = uVar3;" (assignment_expression "puVar2[2] = uVar3" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" if (parenthesized_expression "(param_2[3] != 0)" ( (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[3] = uVar3;" (assignment_expression "puVar2[3] = uVar3" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" if (parenthesized_expression "(param_2[4] != 0)" ( (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[4] = uVar3;" (assignment_expression "puVar2[4] = uVar3" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" if (parenthesized_expression "(param_2[5] != 0)" ( (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar11 = *(undefined8 *)(param_2 + 6);" (assignment_expression "uVar11 = *(undefined8 *)(param_2 + 6)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = param_2[9];" (assignment_expression "iVar7 = param_2[9]" identifier = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) (expression_statement "puVar2[8] = param_2[8];" (assignment_expression "puVar2[8] = param_2[8]" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "puVar2[9] = iVar7;" (assignment_expression "puVar2[9] = iVar7" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(puVar2 + 6) = uVar11;" (assignment_expression "*(undefined8 *)(puVar2 + 6) = uVar11" (pointer_expression "*(undefined8 *)(puVar2 + 6)" * (cast_expression "(undefined8 *)(puVar2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 6)" ( (binary_expression "puVar2 + 6" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x4c;" (assignment_expression "piVar4 = param_2 + 0x4c" identifier = (binary_expression "param_2 + 0x4c" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x4c;" (assignment_expression "piVar8 = puVar2 + 0x4c" identifier = (binary_expression "puVar2 + 0x4c" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x60)" ( (binary_expression "piVar4 != param_2 + 0x60" identifier != (binary_expression "param_2 + 0x60" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = puVar2 + 0x62;" (assignment_expression "piVar4 = puVar2 + 0x62" identifier = (binary_expression "puVar2 + 0x62" identifier + number_literal)) ;) (expression_statement "piVar8 = param_2 + 0x62;" (assignment_expression "piVar8 = param_2 + 0x62" identifier = (binary_expression "param_2 + 0x62" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" identifier = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar8 != param_2 + 0x76)" ( (binary_expression "piVar8 != param_2 + 0x76" identifier != (binary_expression "param_2 + 0x76" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar6[5];" (assignment_expression "iVar7 = piVar6[5]" identifier = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" identifier [ number_literal ]) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "piVar5[5] = iVar7;" (assignment_expression "piVar5[5] = iVar7" (subscript_expression "piVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x47c;" (assignment_expression "piVar4 = param_2 + 0x47c" identifier = (binary_expression "param_2 + 0x47c" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x47c;" (assignment_expression "piVar8 = puVar2 + 0x47c" identifier = (binary_expression "puVar2 + 0x47c" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x490)" ( (binary_expression "piVar4 != param_2 + 0x490" identifier != (binary_expression "param_2 + 0x490" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x20;" (assignment_expression "piVar4 = param_2 + 0x20" identifier = (binary_expression "param_2 + 0x20" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x20;" (assignment_expression "piVar8 = puVar2 + 0x20" identifier = (binary_expression "puVar2 + 0x20" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x34)" ( (binary_expression "piVar4 != param_2 + 0x34" identifier != (binary_expression "param_2 + 0x34" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = puVar2 + 0x36;" (assignment_expression "piVar4 = puVar2 + 0x36" identifier = (binary_expression "puVar2 + 0x36" identifier + number_literal)) ;) (expression_statement "piVar8 = param_2 + 0x36;" (assignment_expression "piVar8 = param_2 + 0x36" identifier = (binary_expression "param_2 + 0x36" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" identifier = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_CopyMagickString_003a983c;" (assignment_expression "puVar1 = PTR_CopyMagickString_003a983c" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar8 != param_2 + 0x4a)" ( (binary_expression "piVar8 != param_2 + 0x4a" identifier != (binary_expression "param_2 + 0x4a" identifier + number_literal)) )) ;) (expression_statement "iVar9 = piVar6[5];" (assignment_expression "iVar9 = piVar6[5]" identifier = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_2[0x78];" (assignment_expression "iVar7 = param_2[0x78]" identifier = (subscript_expression "param_2[0x78]" identifier [ number_literal ])) ;) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" identifier [ number_literal ]) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "piVar5[5] = iVar9;" (assignment_expression "piVar5[5] = iVar9" (subscript_expression "piVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x78] = iVar7;" (assignment_expression "puVar2[0x78] = iVar7" (subscript_expression "puVar2[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);" (call_expression "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2 + 0x79,param_2 + 0x79,0x1000)" ( (binary_expression "puVar2 + 0x79" identifier + number_literal) , (binary_expression "param_2 + 0x79" identifier + number_literal) , number_literal ))) ;) (expression_statement "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();" (assignment_expression "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_003a97a8)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_003a97a8)" ( (pointer_expression "*(code *)PTR_IsEventLogging_003a97a8" * (cast_expression "(code *)PTR_IsEventLogging_003a97a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[0x479] = uVar3;" (assignment_expression "puVar2[0x479] = uVar3" (subscript_expression "puVar2[0x479]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return puVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nMontageInfo * CloneMontageInfo(ImageInfo *image_info,MontageInfo *montage_info)\n\n{\n  undefined *puVar1;\n  MontageInfo *pMVar2;\n  char *pcVar3;\n  PixelInfo *pPVar4;\n  PixelInfo *pPVar5;\n  PixelInfo *pPVar6;\n  GravityType GVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  PixelInfo *pPVar10;\n  PixelTrait PVar11;\n  ColorspaceType CVar12;\n  double dVar13;\n  \n  pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);\n  if (montage_info != (MontageInfo *)0x0) {\n    if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }\n    if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }\n    if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }\n    if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }\n    if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }\n    if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }\n    dVar13 = montage_info->pointsize;\n    MVar8 = montage_info->shadow;\n    pMVar2->border_width = montage_info->border_width;\n    pMVar2->shadow = MVar8;\n    pMVar2->pointsize = dVar13;\n    pPVar4 = &montage_info->fill;\n    pPVar10 = &pMVar2->fill;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->stroke;\n    pPVar10 = &montage_info->stroke;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->matte_color;\n    pPVar10 = &pMVar2->matte_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->background_color;\n    pPVar10 = &pMVar2->background_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->border_color;\n    pPVar10 = &montage_info->border_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    GVar7 = montage_info->gravity;\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pMVar2->gravity = GVar7;\n    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);\n    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    pMVar2->debug = MVar8;\n  }\n  return pMVar2;\n}\n\n" comment comment comment comment (function_definition "MontageInfo * CloneMontageInfo(ImageInfo *image_info,MontageInfo *montage_info)\n\n{\n  undefined *puVar1;\n  MontageInfo *pMVar2;\n  char *pcVar3;\n  PixelInfo *pPVar4;\n  PixelInfo *pPVar5;\n  PixelInfo *pPVar6;\n  GravityType GVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  PixelInfo *pPVar10;\n  PixelTrait PVar11;\n  ColorspaceType CVar12;\n  double dVar13;\n  \n  pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);\n  if (montage_info != (MontageInfo *)0x0) {\n    if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }\n    if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }\n    if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }\n    if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }\n    if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }\n    if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }\n    dVar13 = montage_info->pointsize;\n    MVar8 = montage_info->shadow;\n    pMVar2->border_width = montage_info->border_width;\n    pMVar2->shadow = MVar8;\n    pMVar2->pointsize = dVar13;\n    pPVar4 = &montage_info->fill;\n    pPVar10 = &pMVar2->fill;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->stroke;\n    pPVar10 = &montage_info->stroke;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->matte_color;\n    pPVar10 = &pMVar2->matte_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->background_color;\n    pPVar10 = &pMVar2->background_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->border_color;\n    pPVar10 = &montage_info->border_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    GVar7 = montage_info->gravity;\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pMVar2->gravity = GVar7;\n    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);\n    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    pMVar2->debug = MVar8;\n  }\n  return pMVar2;\n}" type_identifier (pointer_declarator "* CloneMontageInfo(ImageInfo *image_info,MontageInfo *montage_info)" * (function_declarator "CloneMontageInfo(ImageInfo *image_info,MontageInfo *montage_info)" identifier (parameter_list "(ImageInfo *image_info,MontageInfo *montage_info)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "MontageInfo *montage_info" type_identifier (pointer_declarator "*montage_info" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  MontageInfo *pMVar2;\n  char *pcVar3;\n  PixelInfo *pPVar4;\n  PixelInfo *pPVar5;\n  PixelInfo *pPVar6;\n  GravityType GVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  PixelInfo *pPVar10;\n  PixelTrait PVar11;\n  ColorspaceType CVar12;\n  double dVar13;\n  \n  pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);\n  if (montage_info != (MontageInfo *)0x0) {\n    if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }\n    if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }\n    if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }\n    if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }\n    if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }\n    if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }\n    dVar13 = montage_info->pointsize;\n    MVar8 = montage_info->shadow;\n    pMVar2->border_width = montage_info->border_width;\n    pMVar2->shadow = MVar8;\n    pMVar2->pointsize = dVar13;\n    pPVar4 = &montage_info->fill;\n    pPVar10 = &pMVar2->fill;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->stroke;\n    pPVar10 = &montage_info->stroke;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->matte_color;\n    pPVar10 = &pMVar2->matte_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->background_color;\n    pPVar10 = &pMVar2->background_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->border_color;\n    pPVar10 = &montage_info->border_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    GVar7 = montage_info->gravity;\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pMVar2->gravity = GVar7;\n    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);\n    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    pMVar2->debug = MVar8;\n  }\n  return pMVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "MontageInfo *pMVar2;" type_identifier (pointer_declarator "*pMVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "PixelInfo *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "PixelInfo *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "PixelInfo *pPVar6;" type_identifier (pointer_declarator "*pPVar6" * identifier) ;) (declaration "GravityType GVar7;" type_identifier identifier ;) (declaration "MagickBooleanType MVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "PixelInfo *pPVar10;" type_identifier (pointer_declarator "*pPVar10" * identifier) ;) (declaration "PixelTrait PVar11;" type_identifier identifier ;) (declaration "ColorspaceType CVar12;" type_identifier identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (expression_statement "pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);" (assignment_expression "pMVar2 = (MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" identifier = (cast_expression "(MontageInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" ( (type_descriptor "MontageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1248)" ( number_literal ))))) ;) (expression_statement "(*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);" (call_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2)" (parenthesized_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)" ( (pointer_expression "*(code *)PTR_GetMontageInfo_003a8ee8" * (cast_expression "(code *)PTR_GetMontageInfo_003a8ee8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,pMVar2)" ( identifier , identifier ))) ;) (if_statement "if (montage_info != (MontageInfo *)0x0) {\n    if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }\n    if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }\n    if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }\n    if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }\n    if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }\n    if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }\n    dVar13 = montage_info->pointsize;\n    MVar8 = montage_info->shadow;\n    pMVar2->border_width = montage_info->border_width;\n    pMVar2->shadow = MVar8;\n    pMVar2->pointsize = dVar13;\n    pPVar4 = &montage_info->fill;\n    pPVar10 = &pMVar2->fill;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->stroke;\n    pPVar10 = &montage_info->stroke;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->matte_color;\n    pPVar10 = &pMVar2->matte_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->background_color;\n    pPVar10 = &pMVar2->background_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->border_color;\n    pPVar10 = &montage_info->border_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    GVar7 = montage_info->gravity;\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pMVar2->gravity = GVar7;\n    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);\n    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    pMVar2->debug = MVar8;\n  }" if (parenthesized_expression "(montage_info != (MontageInfo *)0x0)" ( (binary_expression "montage_info != (MontageInfo *)0x0" identifier != (cast_expression "(MontageInfo *)0x0" ( (type_descriptor "MontageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }\n    if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }\n    if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }\n    if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }\n    if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }\n    if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }\n    dVar13 = montage_info->pointsize;\n    MVar8 = montage_info->shadow;\n    pMVar2->border_width = montage_info->border_width;\n    pMVar2->shadow = MVar8;\n    pMVar2->pointsize = dVar13;\n    pPVar4 = &montage_info->fill;\n    pPVar10 = &pMVar2->fill;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->stroke;\n    pPVar10 = &montage_info->stroke;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->matte_color;\n    pPVar10 = &pMVar2->matte_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &montage_info->background_color;\n    pPVar10 = &pMVar2->background_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);\n    *(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;\n    *(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;\n    pPVar4 = &pMVar2->border_color;\n    pPVar10 = &montage_info->border_color;\n    do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);\n    uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);\n    GVar7 = montage_info->gravity;\n    *(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;\n    *(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;\n    pMVar2->gravity = GVar7;\n    (*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);\n    MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    pMVar2->debug = MVar8;\n  }" { (if_statement "if (montage_info->geometry != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }" if (parenthesized_expression "(montage_info->geometry != (char *)0x0)" ( (binary_expression "montage_info->geometry != (char *)0x0" (field_expression "montage_info->geometry" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->geometry = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->geometry = pcVar3;" (assignment_expression "pMVar2->geometry = pcVar3" (field_expression "pMVar2->geometry" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (montage_info->tile != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }" if (parenthesized_expression "(montage_info->tile != (char *)0x0)" ( (binary_expression "montage_info->tile != (char *)0x0" (field_expression "montage_info->tile" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->tile = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->tile = pcVar3;" (assignment_expression "pMVar2->tile = pcVar3" (field_expression "pMVar2->tile" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (montage_info->title != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }" if (parenthesized_expression "(montage_info->title != (char *)0x0)" ( (binary_expression "montage_info->title != (char *)0x0" (field_expression "montage_info->title" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->title = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->title = pcVar3;" (assignment_expression "pMVar2->title = pcVar3" (field_expression "pMVar2->title" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (montage_info->frame != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }" if (parenthesized_expression "(montage_info->frame != (char *)0x0)" ( (binary_expression "montage_info->frame != (char *)0x0" (field_expression "montage_info->frame" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->frame = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->frame = pcVar3;" (assignment_expression "pMVar2->frame = pcVar3" (field_expression "pMVar2->frame" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (montage_info->texture != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }" if (parenthesized_expression "(montage_info->texture != (char *)0x0)" ( (binary_expression "montage_info->texture != (char *)0x0" (field_expression "montage_info->texture" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->texture = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->texture = pcVar3;" (assignment_expression "pMVar2->texture = pcVar3" (field_expression "pMVar2->texture" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (montage_info->font != (char *)0x0) {\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }" if (parenthesized_expression "(montage_info->font != (char *)0x0)" ( (binary_expression "montage_info->font != (char *)0x0" (field_expression "montage_info->font" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();\n      pMVar2->font = pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireString_003a9814)()" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireString_003a9814)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "pMVar2->font = pcVar3;" (assignment_expression "pMVar2->font = pcVar3" (field_expression "pMVar2->font" identifier -> field_identifier) = identifier) ;) })) (expression_statement "dVar13 = montage_info->pointsize;" (assignment_expression "dVar13 = montage_info->pointsize" identifier = (field_expression "montage_info->pointsize" identifier -> field_identifier)) ;) (expression_statement "MVar8 = montage_info->shadow;" (assignment_expression "MVar8 = montage_info->shadow" identifier = (field_expression "montage_info->shadow" identifier -> field_identifier)) ;) (expression_statement "pMVar2->border_width = montage_info->border_width;" (assignment_expression "pMVar2->border_width = montage_info->border_width" (field_expression "pMVar2->border_width" identifier -> field_identifier) = (field_expression "montage_info->border_width" identifier -> field_identifier)) ;) (expression_statement "pMVar2->shadow = MVar8;" (assignment_expression "pMVar2->shadow = MVar8" (field_expression "pMVar2->shadow" identifier -> field_identifier) = identifier) ;) (expression_statement "pMVar2->pointsize = dVar13;" (assignment_expression "pMVar2->pointsize = dVar13" (field_expression "pMVar2->pointsize" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar4 = &montage_info->fill;" (assignment_expression "pPVar4 = &montage_info->fill" identifier = (pointer_expression "&montage_info->fill" & (field_expression "montage_info->fill" identifier -> field_identifier))) ;) (expression_statement "pPVar10 = &pMVar2->fill;" (assignment_expression "pPVar10 = &pMVar2->fill" identifier = (pointer_expression "&pMVar2->fill" & (field_expression "pMVar2->fill" identifier -> field_identifier))) ;) (do_statement "do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->fill).index);" do (compound_statement "{\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    }" { (expression_statement "pPVar6 = pPVar10;" (assignment_expression "pPVar6 = pPVar10" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar4;" (assignment_expression "pPVar5 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar4 = (PixelInfo *)&pPVar5->fuzz;" (assignment_expression "pPVar4 = (PixelInfo *)&pPVar5->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar5->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) ;) (expression_statement "CVar12 = pPVar5->colorspace;" (assignment_expression "CVar12 = pPVar5->colorspace" identifier = (field_expression "pPVar5->colorspace" identifier -> field_identifier)) ;) (expression_statement "PVar11 = pPVar5->alpha_trait;" (assignment_expression "PVar11 = pPVar5->alpha_trait" identifier = (field_expression "pPVar5->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)&pPVar5->field_0xc;" (assignment_expression "uVar9 = *(undefined4 *)&pPVar5->field_0xc" identifier = (pointer_expression "*(undefined4 *)&pPVar5->field_0xc" * (cast_expression "(undefined4 *)&pPVar5->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->field_0xc" & (field_expression "pPVar5->field_0xc" identifier -> field_identifier))))) ;) (expression_statement "pPVar6->storage_class = pPVar5->storage_class;" (assignment_expression "pPVar6->storage_class = pPVar5->storage_class" (field_expression "pPVar6->storage_class" identifier -> field_identifier) = (field_expression "pPVar5->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar6->colorspace = CVar12;" (assignment_expression "pPVar6->colorspace = CVar12" (field_expression "pPVar6->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar6->alpha_trait = PVar11;" (assignment_expression "pPVar6->alpha_trait = PVar11" (field_expression "pPVar6->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar6->field_0xc = uVar9;" (assignment_expression "*(undefined4 *)&pPVar6->field_0xc = uVar9" (pointer_expression "*(undefined4 *)&pPVar6->field_0xc" * (cast_expression "(undefined4 *)&pPVar6->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->field_0xc" & (field_expression "pPVar6->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pPVar10 = (PixelInfo *)&pPVar6->fuzz;" (assignment_expression "pPVar10 = (PixelInfo *)&pPVar6->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar6->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pPVar4 != (PixelInfo *)&(montage_info->fill).index)" ( (binary_expression "pPVar4 != (PixelInfo *)&(montage_info->fill).index" identifier != (cast_expression "(PixelInfo *)&(montage_info->fill).index" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(montage_info->fill).index" & (field_expression "(montage_info->fill).index" (parenthesized_expression "(montage_info->fill)" ( (field_expression "montage_info->fill" identifier -> field_identifier) )) . field_identifier)))) )) ;) (expression_statement "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);" (assignment_expression "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5->fuzz + 4)" ( (binary_expression "(int)&pPVar5->fuzz + 4" (cast_expression "(int)&pPVar5->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;" (assignment_expression "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4" (pointer_expression "*(undefined4 *)&pPVar6->fuzz" * (cast_expression "(undefined4 *)&pPVar6->fuzz" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)pPVar4" * (cast_expression "(undefined4 *)pPVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;" (assignment_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9" (pointer_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar6->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar6->fuzz + 4)" ( (binary_expression "(int)&pPVar6->fuzz + 4" (cast_expression "(int)&pPVar6->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pPVar4 = &pMVar2->stroke;" (assignment_expression "pPVar4 = &pMVar2->stroke" identifier = (pointer_expression "&pMVar2->stroke" & (field_expression "pMVar2->stroke" identifier -> field_identifier))) ;) (expression_statement "pPVar10 = &montage_info->stroke;" (assignment_expression "pPVar10 = &montage_info->stroke" identifier = (pointer_expression "&montage_info->stroke" & (field_expression "montage_info->stroke" identifier -> field_identifier))) ;) (do_statement "do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->stroke).index);" do (compound_statement "{\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    }" { (expression_statement "pPVar6 = pPVar10;" (assignment_expression "pPVar6 = pPVar10" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar4;" (assignment_expression "pPVar5 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar10 = (PixelInfo *)&pPVar6->fuzz;" (assignment_expression "pPVar10 = (PixelInfo *)&pPVar6->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar6->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) ;) (expression_statement "CVar12 = pPVar6->colorspace;" (assignment_expression "CVar12 = pPVar6->colorspace" identifier = (field_expression "pPVar6->colorspace" identifier -> field_identifier)) ;) (expression_statement "PVar11 = pPVar6->alpha_trait;" (assignment_expression "PVar11 = pPVar6->alpha_trait" identifier = (field_expression "pPVar6->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)&pPVar6->field_0xc;" (assignment_expression "uVar9 = *(undefined4 *)&pPVar6->field_0xc" identifier = (pointer_expression "*(undefined4 *)&pPVar6->field_0xc" * (cast_expression "(undefined4 *)&pPVar6->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->field_0xc" & (field_expression "pPVar6->field_0xc" identifier -> field_identifier))))) ;) (expression_statement "pPVar5->storage_class = pPVar6->storage_class;" (assignment_expression "pPVar5->storage_class = pPVar6->storage_class" (field_expression "pPVar5->storage_class" identifier -> field_identifier) = (field_expression "pPVar6->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar5->colorspace = CVar12;" (assignment_expression "pPVar5->colorspace = CVar12" (field_expression "pPVar5->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar5->alpha_trait = PVar11;" (assignment_expression "pPVar5->alpha_trait = PVar11" (field_expression "pPVar5->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar5->field_0xc = uVar9;" (assignment_expression "*(undefined4 *)&pPVar5->field_0xc = uVar9" (pointer_expression "*(undefined4 *)&pPVar5->field_0xc" * (cast_expression "(undefined4 *)&pPVar5->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->field_0xc" & (field_expression "pPVar5->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pPVar4 = (PixelInfo *)&pPVar5->fuzz;" (assignment_expression "pPVar4 = (PixelInfo *)&pPVar5->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar5->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pPVar10 != (PixelInfo *)&(montage_info->stroke).index)" ( (binary_expression "pPVar10 != (PixelInfo *)&(montage_info->stroke).index" identifier != (cast_expression "(PixelInfo *)&(montage_info->stroke).index" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(montage_info->stroke).index" & (field_expression "(montage_info->stroke).index" (parenthesized_expression "(montage_info->stroke)" ( (field_expression "montage_info->stroke" identifier -> field_identifier) )) . field_identifier)))) )) ;) (expression_statement "uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);" (assignment_expression "uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar6->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar6->fuzz + 4)" ( (binary_expression "(int)&pPVar6->fuzz + 4" (cast_expression "(int)&pPVar6->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;" (assignment_expression "*(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10" (pointer_expression "*(undefined4 *)&pPVar5->fuzz" * (cast_expression "(undefined4 *)&pPVar5->fuzz" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)pPVar10" * (cast_expression "(undefined4 *)pPVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;" (assignment_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9" (pointer_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5->fuzz + 4)" ( (binary_expression "(int)&pPVar5->fuzz + 4" (cast_expression "(int)&pPVar5->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pPVar4 = &montage_info->matte_color;" (assignment_expression "pPVar4 = &montage_info->matte_color" identifier = (pointer_expression "&montage_info->matte_color" & (field_expression "montage_info->matte_color" identifier -> field_identifier))) ;) (expression_statement "pPVar10 = &pMVar2->matte_color;" (assignment_expression "pPVar10 = &pMVar2->matte_color" identifier = (pointer_expression "&pMVar2->matte_color" & (field_expression "pMVar2->matte_color" identifier -> field_identifier))) ;) (do_statement "do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->matte_color).index);" do (compound_statement "{\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    }" { (expression_statement "pPVar6 = pPVar10;" (assignment_expression "pPVar6 = pPVar10" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar4;" (assignment_expression "pPVar5 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar4 = (PixelInfo *)&pPVar5->fuzz;" (assignment_expression "pPVar4 = (PixelInfo *)&pPVar5->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar5->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) ;) (expression_statement "CVar12 = pPVar5->colorspace;" (assignment_expression "CVar12 = pPVar5->colorspace" identifier = (field_expression "pPVar5->colorspace" identifier -> field_identifier)) ;) (expression_statement "PVar11 = pPVar5->alpha_trait;" (assignment_expression "PVar11 = pPVar5->alpha_trait" identifier = (field_expression "pPVar5->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)&pPVar5->field_0xc;" (assignment_expression "uVar9 = *(undefined4 *)&pPVar5->field_0xc" identifier = (pointer_expression "*(undefined4 *)&pPVar5->field_0xc" * (cast_expression "(undefined4 *)&pPVar5->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->field_0xc" & (field_expression "pPVar5->field_0xc" identifier -> field_identifier))))) ;) (expression_statement "pPVar6->storage_class = pPVar5->storage_class;" (assignment_expression "pPVar6->storage_class = pPVar5->storage_class" (field_expression "pPVar6->storage_class" identifier -> field_identifier) = (field_expression "pPVar5->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar6->colorspace = CVar12;" (assignment_expression "pPVar6->colorspace = CVar12" (field_expression "pPVar6->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar6->alpha_trait = PVar11;" (assignment_expression "pPVar6->alpha_trait = PVar11" (field_expression "pPVar6->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar6->field_0xc = uVar9;" (assignment_expression "*(undefined4 *)&pPVar6->field_0xc = uVar9" (pointer_expression "*(undefined4 *)&pPVar6->field_0xc" * (cast_expression "(undefined4 *)&pPVar6->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->field_0xc" & (field_expression "pPVar6->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pPVar10 = (PixelInfo *)&pPVar6->fuzz;" (assignment_expression "pPVar10 = (PixelInfo *)&pPVar6->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar6->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pPVar4 != (PixelInfo *)&(montage_info->matte_color).index)" ( (binary_expression "pPVar4 != (PixelInfo *)&(montage_info->matte_color).index" identifier != (cast_expression "(PixelInfo *)&(montage_info->matte_color).index" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(montage_info->matte_color).index" & (field_expression "(montage_info->matte_color).index" (parenthesized_expression "(montage_info->matte_color)" ( (field_expression "montage_info->matte_color" identifier -> field_identifier) )) . field_identifier)))) )) ;) (expression_statement "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);" (assignment_expression "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5->fuzz + 4)" ( (binary_expression "(int)&pPVar5->fuzz + 4" (cast_expression "(int)&pPVar5->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;" (assignment_expression "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4" (pointer_expression "*(undefined4 *)&pPVar6->fuzz" * (cast_expression "(undefined4 *)&pPVar6->fuzz" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)pPVar4" * (cast_expression "(undefined4 *)pPVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;" (assignment_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9" (pointer_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar6->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar6->fuzz + 4)" ( (binary_expression "(int)&pPVar6->fuzz + 4" (cast_expression "(int)&pPVar6->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pPVar4 = &montage_info->background_color;" (assignment_expression "pPVar4 = &montage_info->background_color" identifier = (pointer_expression "&montage_info->background_color" & (field_expression "montage_info->background_color" identifier -> field_identifier))) ;) (expression_statement "pPVar10 = &pMVar2->background_color;" (assignment_expression "pPVar10 = &pMVar2->background_color" identifier = (pointer_expression "&pMVar2->background_color" & (field_expression "pMVar2->background_color" identifier -> field_identifier))) ;) (do_statement "do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    } while (pPVar4 != (PixelInfo *)&(montage_info->background_color).index);" do (compound_statement "{\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n      CVar12 = pPVar5->colorspace;\n      PVar11 = pPVar5->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar5->field_0xc;\n      pPVar6->storage_class = pPVar5->storage_class;\n      pPVar6->colorspace = CVar12;\n      pPVar6->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar6->field_0xc = uVar9;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n    }" { (expression_statement "pPVar6 = pPVar10;" (assignment_expression "pPVar6 = pPVar10" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar4;" (assignment_expression "pPVar5 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar4 = (PixelInfo *)&pPVar5->fuzz;" (assignment_expression "pPVar4 = (PixelInfo *)&pPVar5->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar5->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) ;) (expression_statement "CVar12 = pPVar5->colorspace;" (assignment_expression "CVar12 = pPVar5->colorspace" identifier = (field_expression "pPVar5->colorspace" identifier -> field_identifier)) ;) (expression_statement "PVar11 = pPVar5->alpha_trait;" (assignment_expression "PVar11 = pPVar5->alpha_trait" identifier = (field_expression "pPVar5->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)&pPVar5->field_0xc;" (assignment_expression "uVar9 = *(undefined4 *)&pPVar5->field_0xc" identifier = (pointer_expression "*(undefined4 *)&pPVar5->field_0xc" * (cast_expression "(undefined4 *)&pPVar5->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->field_0xc" & (field_expression "pPVar5->field_0xc" identifier -> field_identifier))))) ;) (expression_statement "pPVar6->storage_class = pPVar5->storage_class;" (assignment_expression "pPVar6->storage_class = pPVar5->storage_class" (field_expression "pPVar6->storage_class" identifier -> field_identifier) = (field_expression "pPVar5->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar6->colorspace = CVar12;" (assignment_expression "pPVar6->colorspace = CVar12" (field_expression "pPVar6->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar6->alpha_trait = PVar11;" (assignment_expression "pPVar6->alpha_trait = PVar11" (field_expression "pPVar6->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar6->field_0xc = uVar9;" (assignment_expression "*(undefined4 *)&pPVar6->field_0xc = uVar9" (pointer_expression "*(undefined4 *)&pPVar6->field_0xc" * (cast_expression "(undefined4 *)&pPVar6->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->field_0xc" & (field_expression "pPVar6->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pPVar10 = (PixelInfo *)&pPVar6->fuzz;" (assignment_expression "pPVar10 = (PixelInfo *)&pPVar6->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar6->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pPVar4 != (PixelInfo *)&(montage_info->background_color).index)" ( (binary_expression "pPVar4 != (PixelInfo *)&(montage_info->background_color).index" identifier != (cast_expression "(PixelInfo *)&(montage_info->background_color).index" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(montage_info->background_color).index" & (field_expression "(montage_info->background_color).index" (parenthesized_expression "(montage_info->background_color)" ( (field_expression "montage_info->background_color" identifier -> field_identifier) )) . field_identifier)))) )) ;) (expression_statement "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4);" (assignment_expression "uVar9 = *(undefined4 *)((int)&pPVar5->fuzz + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5->fuzz + 4)" ( (binary_expression "(int)&pPVar5->fuzz + 4" (cast_expression "(int)&pPVar5->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4;" (assignment_expression "*(undefined4 *)&pPVar6->fuzz = *(undefined4 *)pPVar4" (pointer_expression "*(undefined4 *)&pPVar6->fuzz" * (cast_expression "(undefined4 *)&pPVar6->fuzz" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)pPVar4" * (cast_expression "(undefined4 *)pPVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9;" (assignment_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4) = uVar9" (pointer_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar6->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar6->fuzz + 4)" ( (binary_expression "(int)&pPVar6->fuzz + 4" (cast_expression "(int)&pPVar6->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pPVar4 = &pMVar2->border_color;" (assignment_expression "pPVar4 = &pMVar2->border_color" identifier = (pointer_expression "&pMVar2->border_color" & (field_expression "pMVar2->border_color" identifier -> field_identifier))) ;) (expression_statement "pPVar10 = &montage_info->border_color;" (assignment_expression "pPVar10 = &montage_info->border_color" identifier = (pointer_expression "&montage_info->border_color" & (field_expression "montage_info->border_color" identifier -> field_identifier))) ;) (do_statement "do {\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    } while (pPVar10 != (PixelInfo *)&(montage_info->border_color).index);" do (compound_statement "{\n      pPVar6 = pPVar10;\n      pPVar5 = pPVar4;\n      pPVar10 = (PixelInfo *)&pPVar6->fuzz;\n      CVar12 = pPVar6->colorspace;\n      PVar11 = pPVar6->alpha_trait;\n      uVar9 = *(undefined4 *)&pPVar6->field_0xc;\n      pPVar5->storage_class = pPVar6->storage_class;\n      pPVar5->colorspace = CVar12;\n      pPVar5->alpha_trait = PVar11;\n      *(undefined4 *)&pPVar5->field_0xc = uVar9;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      pPVar4 = (PixelInfo *)&pPVar5->fuzz;\n    }" { (expression_statement "pPVar6 = pPVar10;" (assignment_expression "pPVar6 = pPVar10" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar4;" (assignment_expression "pPVar5 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar10 = (PixelInfo *)&pPVar6->fuzz;" (assignment_expression "pPVar10 = (PixelInfo *)&pPVar6->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar6->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier)))) ;) (expression_statement "CVar12 = pPVar6->colorspace;" (assignment_expression "CVar12 = pPVar6->colorspace" identifier = (field_expression "pPVar6->colorspace" identifier -> field_identifier)) ;) (expression_statement "PVar11 = pPVar6->alpha_trait;" (assignment_expression "PVar11 = pPVar6->alpha_trait" identifier = (field_expression "pPVar6->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "uVar9 = *(undefined4 *)&pPVar6->field_0xc;" (assignment_expression "uVar9 = *(undefined4 *)&pPVar6->field_0xc" identifier = (pointer_expression "*(undefined4 *)&pPVar6->field_0xc" * (cast_expression "(undefined4 *)&pPVar6->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar6->field_0xc" & (field_expression "pPVar6->field_0xc" identifier -> field_identifier))))) ;) (expression_statement "pPVar5->storage_class = pPVar6->storage_class;" (assignment_expression "pPVar5->storage_class = pPVar6->storage_class" (field_expression "pPVar5->storage_class" identifier -> field_identifier) = (field_expression "pPVar6->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar5->colorspace = CVar12;" (assignment_expression "pPVar5->colorspace = CVar12" (field_expression "pPVar5->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar5->alpha_trait = PVar11;" (assignment_expression "pPVar5->alpha_trait = PVar11" (field_expression "pPVar5->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar5->field_0xc = uVar9;" (assignment_expression "*(undefined4 *)&pPVar5->field_0xc = uVar9" (pointer_expression "*(undefined4 *)&pPVar5->field_0xc" * (cast_expression "(undefined4 *)&pPVar5->field_0xc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->field_0xc" & (field_expression "pPVar5->field_0xc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "puVar1 = PTR_CopyMagickString_003a983c;" (assignment_expression "puVar1 = PTR_CopyMagickString_003a983c" identifier = identifier) ;) (expression_statement "pPVar4 = (PixelInfo *)&pPVar5->fuzz;" (assignment_expression "pPVar4 = (PixelInfo *)&pPVar5->fuzz" identifier = (cast_expression "(PixelInfo *)&pPVar5->fuzz" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pPVar10 != (PixelInfo *)&(montage_info->border_color).index)" ( (binary_expression "pPVar10 != (PixelInfo *)&(montage_info->border_color).index" identifier != (cast_expression "(PixelInfo *)&(montage_info->border_color).index" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(montage_info->border_color).index" & (field_expression "(montage_info->border_color).index" (parenthesized_expression "(montage_info->border_color)" ( (field_expression "montage_info->border_color" identifier -> field_identifier) )) . field_identifier)))) )) ;) (expression_statement "uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4);" (assignment_expression "uVar9 = *(undefined4 *)((int)&pPVar6->fuzz + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar6->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar6->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar6->fuzz + 4)" ( (binary_expression "(int)&pPVar6->fuzz + 4" (cast_expression "(int)&pPVar6->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar6->fuzz" & (field_expression "pPVar6->fuzz" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "GVar7 = montage_info->gravity;" (assignment_expression "GVar7 = montage_info->gravity" identifier = (field_expression "montage_info->gravity" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10;" (assignment_expression "*(undefined4 *)&pPVar5->fuzz = *(undefined4 *)pPVar10" (pointer_expression "*(undefined4 *)&pPVar5->fuzz" * (cast_expression "(undefined4 *)&pPVar5->fuzz" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)pPVar10" * (cast_expression "(undefined4 *)pPVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9;" (assignment_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4) = uVar9" (pointer_expression "*(undefined4 *)((int)&pPVar5->fuzz + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5->fuzz + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5->fuzz + 4)" ( (binary_expression "(int)&pPVar5->fuzz + 4" (cast_expression "(int)&pPVar5->fuzz" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5->fuzz" & (field_expression "pPVar5->fuzz" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pMVar2->gravity = GVar7;" (assignment_expression "pMVar2->gravity = GVar7" (field_expression "pMVar2->gravity" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000);" (call_expression "(*(code *)puVar1)(pMVar2->filename,montage_info->filename,0x1000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar2->filename,montage_info->filename,0x1000)" ( (field_expression "pMVar2->filename" identifier -> field_identifier) , (field_expression "montage_info->filename" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)();" (assignment_expression "MVar8 = (*(code *)PTR_IsEventLogging_003a97a8)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_003a97a8)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_003a97a8)" ( (pointer_expression "*(code *)PTR_IsEventLogging_003a97a8" * (cast_expression "(code *)PTR_IsEventLogging_003a97a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pMVar2->debug = MVar8;" (assignment_expression "pMVar2->debug = MVar8" (field_expression "pMVar2->debug" identifier -> field_identifier) = identifier) ;) })) (return_statement "return pMVar2;" return identifier ;) })))
(translation_unit "undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}\n\n" (function_definition "undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" type_identifier (pointer_declarator "* CloneMontageInfo(undefined4 param_1,int *param_2)" * (function_declarator "CloneMontageInfo(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1248)" ( number_literal ))))) ;) (expression_statement "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);" (call_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2)" (parenthesized_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)" ( (pointer_expression "*(code *)PTR_GetMontageInfo_003a8ee8" * (cast_expression "(code *)PTR_GetMontageInfo_003a8ee8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar2)" ( identifier , identifier ))) ;) (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" { (if_statement "if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) })) (if_statement "if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[2] = uVar3;" (assignment_expression "puVar2[2] = uVar3" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" if (parenthesized_expression "(param_2[3] != 0)" ( (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[3] = uVar3;" (assignment_expression "puVar2[3] = uVar3" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" if (parenthesized_expression "(param_2[4] != 0)" ( (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[4] = uVar3;" (assignment_expression "puVar2[4] = uVar3" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" if (parenthesized_expression "(param_2[5] != 0)" ( (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" { (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" identifier = (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" ( (pointer_expression "*(code *)PTR_AcquireString_003a9814" * (cast_expression "(code *)PTR_AcquireString_003a9814" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar11 = *(undefined8 *)(param_2 + 6);" (assignment_expression "uVar11 = *(undefined8 *)(param_2 + 6)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = param_2[9];" (assignment_expression "iVar7 = param_2[9]" identifier = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) (expression_statement "puVar2[8] = param_2[8];" (assignment_expression "puVar2[8] = param_2[8]" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "puVar2[9] = iVar7;" (assignment_expression "puVar2[9] = iVar7" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(puVar2 + 6) = uVar11;" (assignment_expression "*(undefined8 *)(puVar2 + 6) = uVar11" (pointer_expression "*(undefined8 *)(puVar2 + 6)" * (cast_expression "(undefined8 *)(puVar2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 6)" ( (binary_expression "puVar2 + 6" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x4c;" (assignment_expression "piVar4 = param_2 + 0x4c" identifier = (binary_expression "param_2 + 0x4c" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x4c;" (assignment_expression "piVar8 = puVar2 + 0x4c" identifier = (binary_expression "puVar2 + 0x4c" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x60)" ( (binary_expression "piVar4 != param_2 + 0x60" identifier != (binary_expression "param_2 + 0x60" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = puVar2 + 0x62;" (assignment_expression "piVar4 = puVar2 + 0x62" identifier = (binary_expression "puVar2 + 0x62" identifier + number_literal)) ;) (expression_statement "piVar8 = param_2 + 0x62;" (assignment_expression "piVar8 = param_2 + 0x62" identifier = (binary_expression "param_2 + 0x62" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" identifier = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar8 != param_2 + 0x76)" ( (binary_expression "piVar8 != param_2 + 0x76" identifier != (binary_expression "param_2 + 0x76" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar6[5];" (assignment_expression "iVar7 = piVar6[5]" identifier = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" identifier [ number_literal ]) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "piVar5[5] = iVar7;" (assignment_expression "piVar5[5] = iVar7" (subscript_expression "piVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x47c;" (assignment_expression "piVar4 = param_2 + 0x47c" identifier = (binary_expression "param_2 + 0x47c" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x47c;" (assignment_expression "piVar8 = puVar2 + 0x47c" identifier = (binary_expression "puVar2 + 0x47c" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x490)" ( (binary_expression "piVar4 != param_2 + 0x490" identifier != (binary_expression "param_2 + 0x490" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = param_2 + 0x20;" (assignment_expression "piVar4 = param_2 + 0x20" identifier = (binary_expression "param_2 + 0x20" identifier + number_literal)) ;) (expression_statement "piVar8 = puVar2 + 0x20;" (assignment_expression "piVar8 = puVar2 + 0x20" identifier = (binary_expression "puVar2 + 0x20" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" * identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4 != param_2 + 0x34)" ( (binary_expression "piVar4 != param_2 + 0x34" identifier != (binary_expression "param_2 + 0x34" identifier + number_literal)) )) ;) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4 = puVar2 + 0x36;" (assignment_expression "piVar4 = puVar2 + 0x36" identifier = (binary_expression "puVar2 + 0x36" identifier + number_literal)) ;) (expression_statement "piVar8 = param_2 + 0x36;" (assignment_expression "piVar8 = param_2 + 0x36" identifier = (binary_expression "param_2 + 0x36" identifier + number_literal)) ;) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);" do (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    }" { (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" identifier = identifier) ;) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" identifier = identifier) ;) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" identifier = (binary_expression "piVar6 + 4" identifier + number_literal)) ;) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" identifier = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_CopyMagickString_003a983c;" (assignment_expression "puVar1 = PTR_CopyMagickString_003a983c" identifier = identifier) ;) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar8 != param_2 + 0x4a)" ( (binary_expression "piVar8 != param_2 + 0x4a" identifier != (binary_expression "param_2 + 0x4a" identifier + number_literal)) )) ;) (expression_statement "iVar9 = piVar6[5];" (assignment_expression "iVar9 = piVar6[5]" identifier = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_2[0x78];" (assignment_expression "iVar7 = param_2[0x78]" identifier = (subscript_expression "param_2[0x78]" identifier [ number_literal ])) ;) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" identifier [ number_literal ]) = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "piVar5[5] = iVar9;" (assignment_expression "piVar5[5] = iVar9" (subscript_expression "piVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x78] = iVar7;" (assignment_expression "puVar2[0x78] = iVar7" (subscript_expression "puVar2[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);" (call_expression "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2 + 0x79,param_2 + 0x79,0x1000)" ( (binary_expression "puVar2 + 0x79" identifier + number_literal) , (binary_expression "param_2 + 0x79" identifier + number_literal) , number_literal ))) ;) (expression_statement "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();" (assignment_expression "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)()" identifier = (call_expression "(*(code *)PTR_IsEventLogging_003a97a8)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_003a97a8)" ( (pointer_expression "*(code *)PTR_IsEventLogging_003a97a8" * (cast_expression "(code *)PTR_IsEventLogging_003a97a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar2[0x479] = uVar3;" (assignment_expression "puVar2[0x479] = uVar3" (subscript_expression "puVar2[0x479]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return puVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 ( LIT ))))) ;) (expression_statement (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_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 (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT ))) ;) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * CloneMontageInfo(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" (type_identifier "undefined4") (pointer_declarator "* CloneMontageInfo(undefined4 param_1,int *param_2)" (* "*") (function_declarator "CloneMontageInfo(undefined4 param_1,int *param_2)" (identifier "CloneMontageInfo") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined8 uVar11;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);\n  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }\n  return puVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" (( "(") (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" (* "*") (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireCriticalMemory_003a9354"))) () ")")) (argument_list "(0x1248)" (( "(") (number_literal "0x1248") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);" (call_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2)" (parenthesized_expression "(*(code *)PTR_GetMontageInfo_003a8ee8)" (( "(") (pointer_expression "*(code *)PTR_GetMontageInfo_003a8ee8" (* "*") (cast_expression "(code *)PTR_GetMontageInfo_003a8ee8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMontageInfo_003a8ee8"))) () ")")) (argument_list "(param_1,puVar2)" (( "(") (identifier "param_1") (, ",") (identifier "puVar2") () ")"))) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }\n    if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }\n    if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }\n    if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }\n    if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }\n    if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }\n    uVar11 = *(undefined8 *)(param_2 + 6);\n    iVar7 = param_2[9];\n    puVar2[8] = param_2[8];\n    puVar2[9] = iVar7;\n    *(undefined8 *)(puVar2 + 6) = uVar11;\n    piVar4 = param_2 + 0x4c;\n    piVar8 = puVar2 + 0x4c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x62;\n    piVar8 = param_2 + 0x62;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);\n    iVar7 = piVar6[5];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar7;\n    piVar4 = param_2 + 0x47c;\n    piVar8 = puVar2 + 0x47c;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = param_2 + 0x20;\n    piVar8 = puVar2 + 0x20;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);\n    iVar7 = piVar5[5];\n    piVar6[4] = *piVar4;\n    piVar6[5] = iVar7;\n    piVar4 = puVar2 + 0x36;\n    piVar8 = param_2 + 0x36;\n    do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);\n    iVar9 = piVar6[5];\n    iVar7 = param_2[0x78];\n    piVar5[4] = *piVar8;\n    piVar5[5] = iVar9;\n    puVar2[0x78] = iVar7;\n    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);\n    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();\n    puVar2[0x479] = uVar3;\n  }" ({ "{") (if_statement "if (*param_2 != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" (if "if") (parenthesized_expression "(*param_2 != 0)" (( "(") (binary_expression "*param_2 != 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      *puVar2 = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (param_2[1] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" (if "if") (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[1] = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (param_2[2] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" (if "if") (parenthesized_expression "(param_2[2] != 0)" (( "(") (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[2] = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[2] = uVar3;" (assignment_expression "puVar2[2] = uVar3" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (param_2[3] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" (if "if") (parenthesized_expression "(param_2[3] != 0)" (( "(") (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[3] = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[3] = uVar3;" (assignment_expression "puVar2[3] = uVar3" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (param_2[4] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" (if "if") (parenthesized_expression "(param_2[4] != 0)" (( "(") (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[4] = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[4] = uVar3;" (assignment_expression "puVar2[4] = uVar3" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (param_2[5] != 0) {\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" (if "if") (parenthesized_expression "(param_2[5] != 0)" (( "(") (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_AcquireString_003a9814)();\n      puVar2[5] = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_AcquireString_003a9814)();" (assignment_expression "uVar3 = (*(code *)PTR_AcquireString_003a9814)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_AcquireString_003a9814)()" (parenthesized_expression "(*(code *)PTR_AcquireString_003a9814)" (( "(") (pointer_expression "*(code *)PTR_AcquireString_003a9814" (* "*") (cast_expression "(code *)PTR_AcquireString_003a9814" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireString_003a9814"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (expression_statement "uVar11 = *(undefined8 *)(param_2 + 6);" (assignment_expression "uVar11 = *(undefined8 *)(param_2 + 6)" (identifier "uVar11") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 6)" (* "*") (cast_expression "(undefined8 *)(param_2 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 6)" (( "(") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "iVar7 = param_2[9];" (assignment_expression "iVar7 = param_2[9]" (identifier "iVar7") (= "=") (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "puVar2[8] = param_2[8];" (assignment_expression "puVar2[8] = param_2[8]" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "puVar2[9] = iVar7;" (assignment_expression "puVar2[9] = iVar7" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(undefined8 *)(puVar2 + 6) = uVar11;" (assignment_expression "*(undefined8 *)(puVar2 + 6) = uVar11" (pointer_expression "*(undefined8 *)(puVar2 + 6)" (* "*") (cast_expression "(undefined8 *)(puVar2 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 6)" (( "(") (binary_expression "puVar2 + 6" (identifier "puVar2") (+ "+") (number_literal "6")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "piVar4 = param_2 + 0x4c;" (assignment_expression "piVar4 = param_2 + 0x4c" (identifier "piVar4") (= "=") (binary_expression "param_2 + 0x4c" (identifier "param_2") (+ "+") (number_literal "0x4c"))) (; ";")) (expression_statement "piVar8 = puVar2 + 0x4c;" (assignment_expression "piVar8 = puVar2 + 0x4c" (identifier "piVar8") (= "=") (binary_expression "puVar2 + 0x4c" (identifier "puVar2") (+ "+") (number_literal "0x4c"))) (; ";")) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x60);" (do "do") (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" ({ "{") (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" (identifier "piVar6") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" (identifier "piVar5") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" (identifier "piVar4") (= "=") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar6 + 4" (identifier "piVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != param_2 + 0x60)" (( "(") (binary_expression "piVar4 != param_2 + 0x60" (identifier "piVar4") (!= "!=") (binary_expression "param_2 + 0x60" (identifier "param_2") (+ "+") (number_literal "0x60"))) () ")")) (; ";")) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[5]" (identifier "piVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar4 = puVar2 + 0x62;" (assignment_expression "piVar4 = puVar2 + 0x62" (identifier "piVar4") (= "=") (binary_expression "puVar2 + 0x62" (identifier "puVar2") (+ "+") (number_literal "0x62"))) (; ";")) (expression_statement "piVar8 = param_2 + 0x62;" (assignment_expression "piVar8 = param_2 + 0x62" (identifier "piVar8") (= "=") (binary_expression "param_2 + 0x62" (identifier "param_2") (+ "+") (number_literal "0x62"))) (; ";")) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x76);" (do "do") (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      piVar4 = piVar5 + 4;\n    }" ({ "{") (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" (identifier "piVar6") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" (identifier "piVar5") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar6 + 4" (identifier "piVar6") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" (identifier "piVar4") (= "=") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar8 != param_2 + 0x76)" (( "(") (binary_expression "piVar8 != param_2 + 0x76" (identifier "piVar8") (!= "!=") (binary_expression "param_2 + 0x76" (identifier "param_2") (+ "+") (number_literal "0x76"))) () ")")) (; ";")) (expression_statement "iVar7 = piVar6[5];" (assignment_expression "iVar7 = piVar6[5]" (identifier "iVar7") (= "=") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" (identifier "piVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (expression_statement "piVar5[5] = iVar7;" (assignment_expression "piVar5[5] = iVar7" (subscript_expression "piVar5[5]" (identifier "piVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar4 = param_2 + 0x47c;" (assignment_expression "piVar4 = param_2 + 0x47c" (identifier "piVar4") (= "=") (binary_expression "param_2 + 0x47c" (identifier "param_2") (+ "+") (number_literal "0x47c"))) (; ";")) (expression_statement "piVar8 = puVar2 + 0x47c;" (assignment_expression "piVar8 = puVar2 + 0x47c" (identifier "piVar8") (= "=") (binary_expression "puVar2 + 0x47c" (identifier "puVar2") (+ "+") (number_literal "0x47c"))) (; ";")) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x490);" (do "do") (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" ({ "{") (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" (identifier "piVar6") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" (identifier "piVar5") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" (identifier "piVar4") (= "=") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar6 + 4" (identifier "piVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != param_2 + 0x490)" (( "(") (binary_expression "piVar4 != param_2 + 0x490" (identifier "piVar4") (!= "!=") (binary_expression "param_2 + 0x490" (identifier "param_2") (+ "+") (number_literal "0x490"))) () ")")) (; ";")) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[5]" (identifier "piVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar4 = param_2 + 0x20;" (assignment_expression "piVar4 = param_2 + 0x20" (identifier "piVar4") (= "=") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "piVar8 = puVar2 + 0x20;" (assignment_expression "piVar8 = puVar2 + 0x20" (identifier "piVar8") (= "=") (binary_expression "puVar2 + 0x20" (identifier "puVar2") (+ "+") (number_literal "0x20"))) (; ";")) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    } while (piVar4 != param_2 + 0x34);" (do "do") (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar4 = piVar5 + 4;\n      iVar10 = piVar5[1];\n      iVar9 = piVar5[2];\n      iVar7 = piVar5[3];\n      *piVar6 = *piVar5;\n      piVar6[1] = iVar10;\n      piVar6[2] = iVar9;\n      piVar6[3] = iVar7;\n      piVar8 = piVar6 + 4;\n    }" ({ "{") (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" (identifier "piVar6") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" (identifier "piVar5") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" (identifier "piVar4") (= "=") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar10 = piVar5[1];" (assignment_expression "iVar10 = piVar5[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar5[2];" (assignment_expression "iVar9 = piVar5[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar5[3];" (assignment_expression "iVar7 = piVar5[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar6 = *piVar5;" (assignment_expression "*piVar6 = *piVar5" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "piVar6[1] = iVar10;" (assignment_expression "piVar6[1] = iVar10" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar6[2] = iVar9;" (assignment_expression "piVar6[2] = iVar9" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar6[3] = iVar7;" (assignment_expression "piVar6[3] = iVar7" (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar6 + 4" (identifier "piVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != param_2 + 0x34)" (( "(") (binary_expression "piVar4 != param_2 + 0x34" (identifier "piVar4") (!= "!=") (binary_expression "param_2 + 0x34" (identifier "param_2") (+ "+") (number_literal "0x34"))) () ")")) (; ";")) (expression_statement "iVar7 = piVar5[5];" (assignment_expression "iVar7 = piVar5[5]" (identifier "iVar7") (= "=") (subscript_expression "piVar5[5]" (identifier "piVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar6[4] = *piVar4;" (assignment_expression "piVar6[4] = *piVar4" (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "piVar6[5] = iVar7;" (assignment_expression "piVar6[5] = iVar7" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar4 = puVar2 + 0x36;" (assignment_expression "piVar4 = puVar2 + 0x36" (identifier "piVar4") (= "=") (binary_expression "puVar2 + 0x36" (identifier "puVar2") (+ "+") (number_literal "0x36"))) (; ";")) (expression_statement "piVar8 = param_2 + 0x36;" (assignment_expression "piVar8 = param_2 + 0x36" (identifier "piVar8") (= "=") (binary_expression "param_2 + 0x36" (identifier "param_2") (+ "+") (number_literal "0x36"))) (; ";")) (do_statement "do {\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    } while (piVar8 != param_2 + 0x4a);" (do "do") (compound_statement "{\n      piVar6 = piVar8;\n      piVar5 = piVar4;\n      piVar8 = piVar6 + 4;\n      iVar10 = piVar6[1];\n      iVar9 = piVar6[2];\n      iVar7 = piVar6[3];\n      *piVar5 = *piVar6;\n      piVar5[1] = iVar10;\n      piVar5[2] = iVar9;\n      piVar5[3] = iVar7;\n      puVar1 = PTR_CopyMagickString_003a983c;\n      piVar4 = piVar5 + 4;\n    }" ({ "{") (expression_statement "piVar6 = piVar8;" (assignment_expression "piVar6 = piVar8" (identifier "piVar6") (= "=") (identifier "piVar8")) (; ";")) (expression_statement "piVar5 = piVar4;" (assignment_expression "piVar5 = piVar4" (identifier "piVar5") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar8 = piVar6 + 4;" (assignment_expression "piVar8 = piVar6 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar6 + 4" (identifier "piVar6") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar10 = piVar6[1];" (assignment_expression "iVar10 = piVar6[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar6[2];" (assignment_expression "iVar9 = piVar6[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar6[3];" (assignment_expression "iVar7 = piVar6[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar5 = *piVar6;" (assignment_expression "*piVar5 = *piVar6" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "piVar5[1] = iVar10;" (assignment_expression "piVar5[1] = iVar10" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar5[2] = iVar9;" (assignment_expression "piVar5[2] = iVar9" (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar5[3] = iVar7;" (assignment_expression "piVar5[3] = iVar7" (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "puVar1 = PTR_CopyMagickString_003a983c;" (assignment_expression "puVar1 = PTR_CopyMagickString_003a983c" (identifier "puVar1") (= "=") (identifier "PTR_CopyMagickString_003a983c")) (; ";")) (expression_statement "piVar4 = piVar5 + 4;" (assignment_expression "piVar4 = piVar5 + 4" (identifier "piVar4") (= "=") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar8 != param_2 + 0x4a)" (( "(") (binary_expression "piVar8 != param_2 + 0x4a" (identifier "piVar8") (!= "!=") (binary_expression "param_2 + 0x4a" (identifier "param_2") (+ "+") (number_literal "0x4a"))) () ")")) (; ";")) (expression_statement "iVar9 = piVar6[5];" (assignment_expression "iVar9 = piVar6[5]" (identifier "iVar9") (= "=") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar7 = param_2[0x78];" (assignment_expression "iVar7 = param_2[0x78]" (identifier "iVar7") (= "=") (subscript_expression "param_2[0x78]" (identifier "param_2") ([ "[") (number_literal "0x78") (] "]"))) (; ";")) (expression_statement "piVar5[4] = *piVar8;" (assignment_expression "piVar5[4] = *piVar8" (subscript_expression "piVar5[4]" (identifier "piVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (expression_statement "piVar5[5] = iVar9;" (assignment_expression "piVar5[5] = iVar9" (subscript_expression "piVar5[5]" (identifier "piVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "puVar2[0x78] = iVar7;" (assignment_expression "puVar2[0x78] = iVar7" (subscript_expression "puVar2[0x78]" (identifier "puVar2") ([ "[") (number_literal "0x78") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);" (call_expression "(*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(puVar2 + 0x79,param_2 + 0x79,0x1000)" (( "(") (binary_expression "puVar2 + 0x79" (identifier "puVar2") (+ "+") (number_literal "0x79")) (, ",") (binary_expression "param_2 + 0x79" (identifier "param_2") (+ "+") (number_literal "0x79")) (, ",") (number_literal "0x1000") () ")"))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();" (assignment_expression "uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_IsEventLogging_003a97a8)()" (parenthesized_expression "(*(code *)PTR_IsEventLogging_003a97a8)" (( "(") (pointer_expression "*(code *)PTR_IsEventLogging_003a97a8" (* "*") (cast_expression "(code *)PTR_IsEventLogging_003a97a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_IsEventLogging_003a97a8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[0x479] = uVar3;" (assignment_expression "puVar2[0x479] = uVar3" (subscript_expression "puVar2[0x479]" (identifier "puVar2") ([ "[") (number_literal "0x479") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *image_info,type_1 *var_1)

{
  type_3 *puVar1;
  type_1 *pMVar2;
  char *pcVar3;
  type_4 *var_2;
  type_4 *pPVar5;
  type_4 *pPVar6;
  type_5 GVar7;
  type_6 MVar8;
  type_7 uVar9;
  type_4 *var_3;
  type_8 PVar11;
  type_9 CVar12;
  double dVar13;
  
  pMVar2 = (type_1 *)(*(type_10 *)PTR_AcquireCriticalMemory_003a9354)(0x1248);
  (*(type_10 *)PTR_GetMontageInfo_003a8ee8)(image_info,pMVar2);
  if (var_1 != (type_1 *)0x0) {
    if (var_1->geometry != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->geometry = pcVar3;
    }
    if (var_1->tile != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->tile = pcVar3;
    }
    if (var_1->title != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->title = pcVar3;
    }
    if (var_1->frame != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->frame = pcVar3;
    }
    if (var_1->texture != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->texture = pcVar3;
    }
    if (var_1->font != (char *)0x0) {
      pcVar3 = (char *)(*(type_10 *)PTR_AcquireString_003a9814)();
      pMVar2->font = pcVar3;
    }
    dVar13 = var_1->pointsize;
    MVar8 = var_1->shadow;
    pMVar2->border_width = var_1->border_width;
    pMVar2->shadow = MVar8;
    pMVar2->pointsize = dVar13;
    var_2 = &var_1->fill;
    var_3 = &pMVar2->fill;
    do {
      pPVar6 = var_3;
      pPVar5 = var_2;
      var_2 = (type_4 *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(type_7 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(type_7 *)&pPVar6->field_0xc = uVar9;
      var_3 = (type_4 *)&pPVar6->fuzz;
    } while (var_2 != (type_4 *)&(var_1->fill).index);
    uVar9 = *(type_7 *)((int)&pPVar5->fuzz + 4);
    *(type_7 *)&pPVar6->fuzz = *(type_7 *)var_2;
    *(type_7 *)((int)&pPVar6->fuzz + 4) = uVar9;
    var_2 = &pMVar2->stroke;
    var_3 = &var_1->stroke;
    do {
      pPVar6 = var_3;
      pPVar5 = var_2;
      var_3 = (type_4 *)&pPVar6->fuzz;
      CVar12 = pPVar6->colorspace;
      PVar11 = pPVar6->alpha_trait;
      uVar9 = *(type_7 *)&pPVar6->field_0xc;
      pPVar5->storage_class = pPVar6->storage_class;
      pPVar5->colorspace = CVar12;
      pPVar5->alpha_trait = PVar11;
      *(type_7 *)&pPVar5->field_0xc = uVar9;
      var_2 = (type_4 *)&pPVar5->fuzz;
    } while (var_3 != (type_4 *)&(var_1->stroke).index);
    uVar9 = *(type_7 *)((int)&pPVar6->fuzz + 4);
    *(type_7 *)&pPVar5->fuzz = *(type_7 *)var_3;
    *(type_7 *)((int)&pPVar5->fuzz + 4) = uVar9;
    var_2 = &var_1->matte_color;
    var_3 = &pMVar2->matte_color;
    do {
      pPVar6 = var_3;
      pPVar5 = var_2;
      var_2 = (type_4 *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(type_7 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(type_7 *)&pPVar6->field_0xc = uVar9;
      var_3 = (type_4 *)&pPVar6->fuzz;
    } while (var_2 != (type_4 *)&(var_1->matte_color).index);
    uVar9 = *(type_7 *)((int)&pPVar5->fuzz + 4);
    *(type_7 *)&pPVar6->fuzz = *(type_7 *)var_2;
    *(type_7 *)((int)&pPVar6->fuzz + 4) = uVar9;
    var_2 = &var_1->background_color;
    var_3 = &pMVar2->background_color;
    do {
      pPVar6 = var_3;
      pPVar5 = var_2;
      var_2 = (type_4 *)&pPVar5->fuzz;
      CVar12 = pPVar5->colorspace;
      PVar11 = pPVar5->alpha_trait;
      uVar9 = *(type_7 *)&pPVar5->field_0xc;
      pPVar6->storage_class = pPVar5->storage_class;
      pPVar6->colorspace = CVar12;
      pPVar6->alpha_trait = PVar11;
      *(type_7 *)&pPVar6->field_0xc = uVar9;
      var_3 = (type_4 *)&pPVar6->fuzz;
    } while (var_2 != (type_4 *)&(var_1->background_color).index);
    uVar9 = *(type_7 *)((int)&pPVar5->fuzz + 4);
    *(type_7 *)&pPVar6->fuzz = *(type_7 *)var_2;
    *(type_7 *)((int)&pPVar6->fuzz + 4) = uVar9;
    var_2 = &pMVar2->border_color;
    var_3 = &var_1->border_color;
    do {
      pPVar6 = var_3;
      pPVar5 = var_2;
      var_3 = (type_4 *)&pPVar6->fuzz;
      CVar12 = pPVar6->colorspace;
      PVar11 = pPVar6->alpha_trait;
      uVar9 = *(type_7 *)&pPVar6->field_0xc;
      pPVar5->storage_class = pPVar6->storage_class;
      pPVar5->colorspace = CVar12;
      pPVar5->alpha_trait = PVar11;
      *(type_7 *)&pPVar5->field_0xc = uVar9;
      puVar1 = PTR_CopyMagickString_003a983c;
      var_2 = (type_4 *)&pPVar5->fuzz;
    } while (var_3 != (type_4 *)&(var_1->border_color).index);
    uVar9 = *(type_7 *)((int)&pPVar6->fuzz + 4);
    GVar7 = var_1->gravity;
    *(type_7 *)&pPVar5->fuzz = *(type_7 *)var_3;
    *(type_7 *)((int)&pPVar5->fuzz + 4) = uVar9;
    pMVar2->gravity = GVar7;
    (*(type_10 *)puVar1)(pMVar2->filename,var_1->filename,0x1000);
    MVar8 = (*(type_10 *)PTR_IsEventLogging_003a97a8)();
    pMVar2->debug = MVar8;
  }
  return pMVar2;
}


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

undefined4 * MASKED(undefined4 param_1,int *param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  int *piVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  undefined8 uVar11;
  
  puVar2 = (undefined4 *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x1248);
  (*(code *)PTR_GetMontageInfo_003a8ee8)(param_1,puVar2);
  if (param_2 != (int *)0x0) {
    if (*param_2 != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      *puVar2 = uVar3;
    }
    if (param_2[1] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[1] = uVar3;
    }
    if (param_2[2] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[2] = uVar3;
    }
    if (param_2[3] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[3] = uVar3;
    }
    if (param_2[4] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[4] = uVar3;
    }
    if (param_2[5] != 0) {
      uVar3 = (*(code *)PTR_AcquireString_003a9814)();
      puVar2[5] = uVar3;
    }
    uVar11 = *(undefined8 *)(param_2 + 6);
    iVar7 = param_2[9];
    puVar2[8] = param_2[8];
    puVar2[9] = iVar7;
    *(undefined8 *)(puVar2 + 6) = uVar11;
    piVar4 = param_2 + 0x4c;
    piVar8 = puVar2 + 0x4c;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x60);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = puVar2 + 0x62;
    piVar8 = param_2 + 0x62;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar8 = piVar6 + 4;
      iVar10 = piVar6[1];
      iVar9 = piVar6[2];
      iVar7 = piVar6[3];
      *piVar5 = *piVar6;
      piVar5[1] = iVar10;
      piVar5[2] = iVar9;
      piVar5[3] = iVar7;
      piVar4 = piVar5 + 4;
    } while (piVar8 != param_2 + 0x76);
    iVar7 = piVar6[5];
    piVar5[4] = *piVar8;
    piVar5[5] = iVar7;
    piVar4 = param_2 + 0x47c;
    piVar8 = puVar2 + 0x47c;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x490);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = param_2 + 0x20;
    piVar8 = puVar2 + 0x20;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar4 = piVar5 + 4;
      iVar10 = piVar5[1];
      iVar9 = piVar5[2];
      iVar7 = piVar5[3];
      *piVar6 = *piVar5;
      piVar6[1] = iVar10;
      piVar6[2] = iVar9;
      piVar6[3] = iVar7;
      piVar8 = piVar6 + 4;
    } while (piVar4 != param_2 + 0x34);
    iVar7 = piVar5[5];
    piVar6[4] = *piVar4;
    piVar6[5] = iVar7;
    piVar4 = puVar2 + 0x36;
    piVar8 = param_2 + 0x36;
    do {
      piVar6 = piVar8;
      piVar5 = piVar4;
      piVar8 = piVar6 + 4;
      iVar10 = piVar6[1];
      iVar9 = piVar6[2];
      iVar7 = piVar6[3];
      *piVar5 = *piVar6;
      piVar5[1] = iVar10;
      piVar5[2] = iVar9;
      piVar5[3] = iVar7;
      puVar1 = PTR_CopyMagickString_003a983c;
      piVar4 = piVar5 + 4;
    } while (piVar8 != param_2 + 0x4a);
    iVar9 = piVar6[5];
    iVar7 = param_2[0x78];
    piVar5[4] = *piVar8;
    piVar5[5] = iVar9;
    puVar2[0x78] = iVar7;
    (*(code *)puVar1)(puVar2 + 0x79,param_2 + 0x79,0x1000);
    uVar3 = (*(code *)PTR_IsEventLogging_003a97a8)();
    puVar2[0x479] = uVar3;
  }
  return puVar2;
}

