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

MagickBooleanType
MagickFloodfillPaintImage
          (MagickWand *wand,PixelWand *fill,double fuzz,PixelWand *bordercolor,ssize_t x,ssize_t y,
          MagickBooleanType invert)

{
  MagickBooleanType MVar1;
  Image *pIVar2;
  int iVar3;
  MagickBooleanType MVar4;
  undefined *puVar5;
  double dVar6;
  uint in_stack_00000018;
  PixelInfo target;
  
  dVar6 = (double)CONCAT44(bordercolor,x);
  MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4;
  if (wand == (MagickWand *)0x0) {
    MVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,
                       PTR_s_oint_00178034 + 0xb6c);
    return MVar1;
  }
  if (wand->signature != 0xabacadab) {
    MVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,
                       PTR_s_oint_00178034 + 0xb6c);
    return MVar1;
  }
  if (wand->debug == MagickFalse) {
    pIVar2 = wand->images;
  }
  else {
    (*(code *)PTR_LogMagickEvent_00178490)
              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);
    pIVar2 = wand->images;
  }
  if (pIVar2 == (Image *)0x0) {
    (*(code *)PTR_ThrowMagickException_001782c4)
              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6
               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);
    MVar4 = MagickFalse;
  }
  else {
    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);
    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);
    pIVar2 = wand->images;
    if (pIVar2->rows == 0) {
      trap(7);
    }
    if (pIVar2->columns == 0) {
      trap(7);
    }
    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)
              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,
               wand->exception);
    if (y != 0) {
      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);
    }
    wand->images->fuzz = dVar6;
    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);
    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);
  }
  if (MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4) {
    return MVar4;
  }
  puVar5 = PTR___stack_chk_fail_00178394;
  (*(code *)PTR___stack_chk_fail_00178394)();
  if (MVar1 == MagickFalse) {
    (**(code **)(puVar5 + 0xdfb2c))
              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,
               *(int *)(puVar5 + 0xdf438) + 0xb40);
LAB_00098cb0:
    iVar3 = (**(code **)(puVar5 + 0xdfb2c))
                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,
                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);
  }
  else {
    MVar4 = MVar1;
    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;
    iVar3 = MVar1 + 4;
    if (*(int *)(&DAT_00001018 + MVar1) == 0) {
      iVar3 = *(int *)(&DAT_00001004 + MVar1);
      goto LAB_00098c40;
    }
  }
  (**(code **)(puVar5 + 0xdf894))
            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,
             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3);
  iVar3 = *(int *)(&DAT_00001004 + MVar4);
LAB_00098c40:
  if (iVar3 == 0) {
    (**(code **)(puVar5 + 0xdf6c8))
              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,
               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,
               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);
    MVar1 = MagickFalse;
  }
  else {
    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));
    if (iVar3 == 0) {
      MVar1 = MagickFalse;
    }
    else {
      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);
      MVar1 = MagickTrue;
    }
  }
  return MVar1;
}



int MagickFloodfillPaintImage
              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,
              uint param_6,uint param_7,undefined4 param_8)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined *puVar4;
  undefined8 uVar5;
  undefined1 auStack_80 [92];
  int local_24;
  
  uVar5 = CONCAT44(param_3,param_4);
  local_24 = *(int *)PTR___stack_chk_guard_001784d4;
  if (param_1 == 0) {
    iVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,
                       PTR_s_oint_00178034 + 0xb6c);
    return iVar1;
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
    iVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,
                       PTR_s_oint_00178034 + 0xb6c);
    return iVar1;
  }
  if (*(int *)(&DAT_00001018 + param_1) == 0) {
    iVar1 = *(int *)(&DAT_00001004 + param_1);
  }
  else {
    (*(code *)PTR_LogMagickEvent_00178490)
              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);
    iVar1 = *(int *)(&DAT_00001004 + param_1);
  }
  if (iVar1 == 0) {
    (*(code *)PTR_ThrowMagickException_001782c4)
              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,
               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,
               PTR_s_ision_00178030 + -0x35c,param_1 + 4);
    iVar1 = 0;
  }
  else {
    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);
    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);
    iVar1 = *(int *)(&DAT_00001004 + param_1);
    if (*(uint *)(iVar1 + 0x1c) == 0) {
      trap(7);
    }
    if (*(uint *)(iVar1 + 0x18) == 0) {
      trap(7);
    }
    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)
              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),
               auStack_80,*(undefined4 *)(param_1 + 0x100c));
    if (param_5 != 0) {
      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);
    }
    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;
    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)
                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,
                       param_8,*(undefined4 *)(param_1 + 0x100c));
    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);
  }
  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {
    return iVar1;
  }
  iVar2 = local_24;
  puVar4 = PTR___stack_chk_fail_00178394;
  (*(code *)PTR___stack_chk_fail_00178394)();
  if (iVar2 == 0) {
    (**(code **)(puVar4 + 0xdfb2c))
              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,
               *(int *)(puVar4 + 0xdf438) + 0xb40);
LAB_00098cb0:
    iVar3 = (**(code **)(puVar4 + 0xdfb2c))
                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,
                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);
  }
  else {
    iVar1 = iVar2;
    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;
    iVar3 = iVar2 + 4;
    if (*(int *)(&DAT_00001018 + iVar2) == 0) {
      iVar2 = *(int *)(&DAT_00001004 + iVar2);
      goto LAB_00098c40;
    }
  }
  (**(code **)(puVar4 + 0xdf894))
            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,
             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);
  iVar2 = *(int *)(&DAT_00001004 + iVar1);
LAB_00098c40:
  if (iVar2 == 0) {
    (**(code **)(puVar4 + 0xdf6c8))
              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,
               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,
               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);
    iVar1 = 0;
  }
  else {
    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));
    if (iVar2 == 0) {
      iVar1 = 0;
    }
    else {
      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);
      iVar1 = 1;
    }
  }
  return iVar1;
}


lui gp,0xe
addiu gp,gp,0x769c
addu gp,gp,t9
addiu sp,sp,-0xa8
sw ra,0x9c(sp)
sw s4,0x98(sp)
sw s3,0x94(sp)
sw s2,0x90(sp)
sw s1,0x8c(sp)
sw s0,0x88(sp)
sdc1 f20,0xa0(sp)
sw gp,0x20(sp)
mtc1 a3,f20
mthc1 a2,f20
lw s3,0xb8(sp)
lw s1,0xc0(sp)
lw v0,-0x7b2c(gp)
lw v0,0x0(v0)
sw v0,0x84(sp)
beq a0,zero,0x00098b0c
_lw t9,-0x78d8(gp)
or s0,a0,zero
lw v1,0x101c(a0)
lui v0,0xabac
ori v0,v0,0xadab
bne v1,v0,0x00098b30
_or s4,a1,zero
lw v0,0x1018(a0)
bne v0,zero,0x00098b58
_addiu v0,a0,0x4
lw v0,0x1004(s0)
beq v0,zero,0x00098b98
_or a1,zero,zero
lw a0,0x1008(s0)
lw t9,-0x7b54(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s2,v0,zero
addiu a1,v0,0x48
or a0,s4,zero
lw t9,-0x7798(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,0x1004(s0)
lw a3,0x1c(a0)
teq a3,zero
divu s1,a3
mfhi a3
lw a2,0x18(a0)
lw v0,0xbc(sp)
teq a2,zero
divu v0,a2
mfhi a2
lw v0,0x100c(s0)
sw v0,0x14(sp)
addiu v0,sp,0x28
sw v0,0x10(sp)
li a1,0x6
lw t9,-0x7a0c(gp)
jalr t9
_nop
lw gp,0x20(sp)
beq s3,zero,0x00098a80
_addiu a1,sp,0x28
or a0,s3,zero
lw t9,-0x76e4(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,0x1004(s0)
sdc1 f20,0x248(v0)
lw a0,0x1004(s0)
lw v0,0x100c(s0)
sw v0,0x18(sp)
lw v0,0xc4(sp)
sw v0,0x14(sp)
sw s1,0x10(sp)
lw a3,0xbc(sp)
addiu a2,sp,0x28
or a1,s2,zero
lw t9,-0x7c28(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s0,v0,zero
or a0,s2,zero
lw t9,-0x7cc0(gp)
jalr t9
_nop
lw gp,0x20(sp)
or v0,s0,zero
lw a0,0x84(sp)
lw v1,-0x7b2c(gp)
lw v1,0x0(v1)
bne a0,v1,0x00098bf0
_lw ra,0x9c(sp)
lw s4,0x98(sp)
lw s3,0x94(sp)
lw s2,0x90(sp)
lw s1,0x8c(sp)
lw s0,0x88(sp)
ldc1 f20,0xa0(sp)
jr ra
_addiu sp,sp,0xa8
lw a3,-0x7fcc(gp)
addiu a3,a3,0xb6c
li a2,0xdd9
lw a1,-0x7fcc(gp)
addiu a1,a1,-0x1ea0
lw a0,-0x7fcc(gp)
addiu a0,a0,-0x1e74
jalr t9
_nop
lw a3,-0x7fcc(gp)
addiu a3,a3,0xb6c
li a2,0xdda
lw a1,-0x7fcc(gp)
addiu a1,a1,-0x1ea0
lw a0,-0x7fcc(gp)
addiu a0,a0,-0x1e54
lw t9,-0x78d8(gp)
jalr t9
_nop
sw v0,0x14(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x7318
sw v0,0x10(sp)
li a3,0xddc
lw a2,-0x7fcc(gp)
addiu a2,a2,0xb50
lw a1,-0x7fcc(gp)
addiu a1,a1,-0x1ea0
lui a0,0x4
lw t9,-0x7b70(gp)
jalr t9
_nop
lw gp,0x20(sp)
b 0x000989e0
_lw v0,0x1004(s0)
lw a0,0x100c(s0)
addiu s0,s0,0x4
sw s0,0x1c(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,-0x35c
sw v0,0x18(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,0x7db4
sw v0,0x14(sp)
li v0,0x1d6
sw v0,0x10(sp)
li a3,0xdde
lw a2,-0x7fcc(gp)
addiu a2,a2,0xb50
lw a1,-0x7fcc(gp)
addiu a1,a1,-0x1ea0
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x20(sp)
b 0x00098ad4
_or s0,zero,zero
lw t9,-0x7c6c(gp)
jalr t9
_nop
(translation_unit "int MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined1 auStack_80 [92];" type_identifier (array_declarator "auStack_80 [92]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "uVar5 = CONCAT44(param_3,param_4);" (assignment_expression "uVar5 = CONCAT44(param_3,param_4)" identifier = (call_expression "CONCAT44(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_001784d4;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_001784d4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" * (cast_expression "(int *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) == 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) == 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" { (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) }) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" else (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_00178490)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_00178490" * (cast_expression "(code *)PTR_LogMagickEvent_00178490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) }))) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + 0x7db4" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);" (assignment_expression "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" identifier = (call_expression "(*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" (parenthesized_expression "(*(code *)PTR_CloneDrawInfo_001784ac)" ( (pointer_expression "*(code *)PTR_CloneDrawInfo_001784ac" * (cast_expression "(code *)PTR_CloneDrawInfo_001784ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),0)" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) , number_literal )))) ;) (expression_statement "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);" (call_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48)" (parenthesized_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)" ( (pointer_expression "*(code *)PTR_PixelGetQuantumPacket_00178868" * (cast_expression "(code *)PTR_PixelGetQuantumPacket_00178868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,iVar2 + 0x48)" ( identifier , (binary_expression "iVar2 + 0x48" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (if_statement "if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(*(uint *)(iVar1 + 0x1c) == 0)" ( (binary_expression "*(uint *)(iVar1 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(*(uint *)(iVar1 + 0x18) == 0)" ( (binary_expression "*(uint *)(iVar1 + 0x18) == 0" (pointer_expression "*(uint *)(iVar1 + 0x18)" * (cast_expression "(uint *)(iVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));" (call_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)" ( (pointer_expression "*(code *)PTR_GetOneVirtualPixelInfo_001785f4" * (cast_expression "(code *)PTR_GetOneVirtualPixelInfo_001785f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" ( identifier , number_literal , (binary_expression "param_6 % *(uint *)(iVar1 + 0x18)" identifier % (pointer_expression "*(uint *)(iVar1 + 0x18)" * (cast_expression "(uint *)(iVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) , (binary_expression "param_7 % *(uint *)(iVar1 + 0x1c)" identifier % (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) ))) ;) (if_statement "if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" { (expression_statement "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);" (call_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80)" (parenthesized_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)" ( (pointer_expression "*(code *)PTR_PixelGetMagickColor_0017891c" * (cast_expression "(code *)PTR_PixelGetMagickColor_0017891c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,auStack_80)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;" (assignment_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5" (pointer_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" * (cast_expression "(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_00001004 + param_1) + 0x248)" ( (binary_expression "*(int *)(&DAT_00001004 + param_1) + 0x248" (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" identifier = (call_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)" ( (pointer_expression "*(code *)PTR_FloodfillPaintImage_001783d8" * (cast_expression "(code *)PTR_FloodfillPaintImage_001783d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) )))) ;) (expression_statement "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);" (call_expression "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_00178340)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_00178340" * (cast_expression "(code *)PTR_DestroyDrawInfo_00178340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) }))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_001784d4)" ( (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_001784d4" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" * (cast_expression "(int *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_00178394;" (assignment_expression "puVar4 = PTR___stack_chk_fail_00178394" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00178394)();" (call_expression "(*(code *)PTR___stack_chk_fail_00178394)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00178394)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00178394" * (cast_expression "(code *)PTR___stack_chk_fail_00178394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }" { (expression_statement "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);" (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" * (cast_expression "(code **)(puVar4 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdfb2c)" ( (binary_expression "puVar4 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e74" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) ))) ;) (labeled_statement "LAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" statement_identifier : (expression_statement "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" (assignment_expression "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" identifier = (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" * (cast_expression "(code **)(puVar4 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdfb2c)" ( (binary_expression "puVar4 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e54" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) )))) ;)) }) (else_clause "else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" else (compound_statement "{\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" { (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) (if_statement "if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;" if (parenthesized_expression "(*(int *)(iVar2 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(iVar2 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(iVar2 + 0x101c)" * (cast_expression "(int *)(iVar2 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x101c)" ( (binary_expression "iVar2 + 0x101c" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00098cb0;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + iVar2) == 0)" ( (binary_expression "*(int *)(&DAT_00001018 + iVar2) == 0" (pointer_expression "*(int *)(&DAT_00001018 + iVar2)" * (cast_expression "(int *)(&DAT_00001018 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + iVar2)" ( (binary_expression "&DAT_00001018 + iVar2" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) == number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" { (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar2);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar2)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + iVar2)" * (cast_expression "(int *)(&DAT_00001004 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + iVar2)" ( (binary_expression "&DAT_00001004 + iVar2" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (goto_statement "goto LAB_00098c40;" goto statement_identifier ;) })) }))) (expression_statement "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);" (call_expression "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf894))" ( (pointer_expression "**(code **)(puVar4 + 0xdf894)" * (pointer_expression "*(code **)(puVar4 + 0xdf894)" * (cast_expression "(code **)(puVar4 + 0xdf894)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf894)" ( (binary_expression "puVar4 + 0xdf894" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" ( number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf43c) + -0x7318" (pointer_expression "*(int *)(puVar4 + 0xdf43c)" * (cast_expression "(int *)(puVar4 + 0xdf43c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf43c)" ( (binary_expression "puVar4 + 0xdf43c" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar1);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + iVar1)" * (cast_expression "(int *)(&DAT_00001004 + iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + iVar1)" ( (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (labeled_statement "LAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" statement_identifier : (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }" { (expression_statement "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);" (call_expression "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf6c8))" ( (pointer_expression "**(code **)(puVar4 + 0xdf6c8)" * (pointer_expression "*(code **)(puVar4 + 0xdf6c8)" * (cast_expression "(code **)(puVar4 + 0xdf6c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf6c8)" ( (binary_expression "puVar4 + 0xdf6c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" * (cast_expression "(undefined4 *)(iVar1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x100c)" ( (binary_expression "iVar1 + 0x100c" identifier + number_literal) )))) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf434) + 0x7db4" (pointer_expression "*(int *)(puVar4 + 0xdf434)" * (cast_expression "(int *)(puVar4 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf434)" ( (binary_expression "puVar4 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf434) + -0x35c" (pointer_expression "*(int *)(puVar4 + 0xdf434)" * (cast_expression "(int *)(puVar4 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf434)" ( (binary_expression "puVar4 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" else (compound_statement "{\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));" (assignment_expression "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" identifier = (call_expression "(**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" (parenthesized_expression "(**(code **)(puVar4 + 0xdf608))" ( (pointer_expression "**(code **)(puVar4 + 0xdf608)" * (pointer_expression "*(code **)(puVar4 + 0xdf608)" * (cast_expression "(code **)(puVar4 + 0xdf608)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf608)" ( (binary_expression "puVar4 + 0xdf608" identifier + number_literal) ))))) )) (argument_list "(iVar2,*(undefined4 *)(iVar1 + 0x100c))" ( identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" * (cast_expression "(undefined4 *)(iVar1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x100c)" ( (binary_expression "iVar1 + 0x100c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" else (compound_statement "{\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" { (expression_statement "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);" (call_expression "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf518))" ( (pointer_expression "**(code **)(puVar4 + 0xdf518)" * (pointer_expression "*(code **)(puVar4 + 0xdf518)" * (cast_expression "(code **)(puVar4 + 0xdf518)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf518)" ( (binary_expression "puVar4 + 0xdf518" identifier + number_literal) ))))) )) (argument_list "(&DAT_00001004 + iVar1,iVar2)" ( (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" & identifier) + identifier) , identifier ))) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }))) })))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType\nMagickFloodfillPaintImage\n          (MagickWand *wand,PixelWand *fill,double fuzz,PixelWand *bordercolor,ssize_t x,ssize_t y,\n          MagickBooleanType invert)\n\n{\n  MagickBooleanType MVar1;\n  Image *pIVar2;\n  int iVar3;\n  MagickBooleanType MVar4;\n  undefined *puVar5;\n  double dVar6;\n  uint in_stack_00000018;\n  PixelInfo target;\n  \n  dVar6 = (double)CONCAT44(bordercolor,x);\n  MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4;\n  if (wand == (MagickWand *)0x0) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->signature != 0xabacadab) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->debug == MagickFalse) {\n    pIVar2 = wand->images;\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }\n  if (pIVar2 == (Image *)0x0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);\n    MVar4 = MagickFalse;\n  }\n  else {\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }\n  if (MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4) {\n    return MVar4;\n  }\n  puVar5 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (MVar1 == MagickFalse) {\n    (**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);\n  }\n  else {\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar5 + 0xdf894))\n            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3);\n  iVar3 = *(int *)(&DAT_00001004 + MVar4);\nLAB_00098c40:\n  if (iVar3 == 0) {\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }\n  else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }\n  return MVar1;\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType\nMagickFloodfillPaintImage\n          (MagickWand *wand,PixelWand *fill,double fuzz,PixelWand *bordercolor,ssize_t x,ssize_t y,\n          MagickBooleanType invert)\n\n{\n  MagickBooleanType MVar1;\n  Image *pIVar2;\n  int iVar3;\n  MagickBooleanType MVar4;\n  undefined *puVar5;\n  double dVar6;\n  uint in_stack_00000018;\n  PixelInfo target;\n  \n  dVar6 = (double)CONCAT44(bordercolor,x);\n  MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4;\n  if (wand == (MagickWand *)0x0) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->signature != 0xabacadab) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->debug == MagickFalse) {\n    pIVar2 = wand->images;\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }\n  if (pIVar2 == (Image *)0x0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);\n    MVar4 = MagickFalse;\n  }\n  else {\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }\n  if (MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4) {\n    return MVar4;\n  }\n  puVar5 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (MVar1 == MagickFalse) {\n    (**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);\n  }\n  else {\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar5 + 0xdf894))\n            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3);\n  iVar3 = *(int *)(&DAT_00001004 + MVar4);\nLAB_00098c40:\n  if (iVar3 == 0) {\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }\n  else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }\n  return MVar1;\n}" type_identifier (function_declarator "MagickFloodfillPaintImage\n          (MagickWand *wand,PixelWand *fill,double fuzz,PixelWand *bordercolor,ssize_t x,ssize_t y,\n          MagickBooleanType invert)" identifier (parameter_list "(MagickWand *wand,PixelWand *fill,double fuzz,PixelWand *bordercolor,ssize_t x,ssize_t y,\n          MagickBooleanType invert)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "PixelWand *fill" type_identifier (pointer_declarator "*fill" * identifier)) , (parameter_declaration "double fuzz" primitive_type identifier) , (parameter_declaration "PixelWand *bordercolor" type_identifier (pointer_declarator "*bordercolor" * identifier)) , (parameter_declaration "ssize_t x" primitive_type identifier) , (parameter_declaration "ssize_t y" primitive_type identifier) , (parameter_declaration "MagickBooleanType invert" type_identifier identifier) ))) (compound_statement "{\n  MagickBooleanType MVar1;\n  Image *pIVar2;\n  int iVar3;\n  MagickBooleanType MVar4;\n  undefined *puVar5;\n  double dVar6;\n  uint in_stack_00000018;\n  PixelInfo target;\n  \n  dVar6 = (double)CONCAT44(bordercolor,x);\n  MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4;\n  if (wand == (MagickWand *)0x0) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->signature != 0xabacadab) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }\n  if (wand->debug == MagickFalse) {\n    pIVar2 = wand->images;\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }\n  if (pIVar2 == (Image *)0x0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);\n    MVar4 = MagickFalse;\n  }\n  else {\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }\n  if (MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4) {\n    return MVar4;\n  }\n  puVar5 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (MVar1 == MagickFalse) {\n    (**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);\n  }\n  else {\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar5 + 0xdf894))\n            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3);\n  iVar3 = *(int *)(&DAT_00001004 + MVar4);\nLAB_00098c40:\n  if (iVar3 == 0) {\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }\n  else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }\n  return MVar1;\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "MagickBooleanType MVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "double dVar6;" primitive_type identifier ;) (declaration "uint in_stack_00000018;" type_identifier identifier ;) (declaration "PixelInfo target;" type_identifier identifier ;) (expression_statement "dVar6 = (double)CONCAT44(bordercolor,x);" (assignment_expression "dVar6 = (double)CONCAT44(bordercolor,x)" identifier = (cast_expression "(double)CONCAT44(bordercolor,x)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(bordercolor,x)" identifier (argument_list "(bordercolor,x)" ( identifier , identifier ))))) ;) (expression_statement "MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4;" (assignment_expression "MVar1 = *(MagickBooleanType *)PTR___stack_chk_guard_001784d4" identifier = (pointer_expression "*(MagickBooleanType *)PTR___stack_chk_guard_001784d4" * (cast_expression "(MagickBooleanType *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "MagickBooleanType *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (wand == (MagickWand *)0x0) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }" { (expression_statement "MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return MVar1;" return identifier ;) })) (if_statement "if (wand->signature != 0xabacadab) {\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }" if (parenthesized_expression "(wand->signature != 0xabacadab)" ( (binary_expression "wand->signature != 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return MVar1;\n  }" { (expression_statement "MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "MVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return MVar1;" return identifier ;) })) (if_statement "if (wand->debug == MagickFalse) {\n    pIVar2 = wand->images;\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }" if (parenthesized_expression "(wand->debug == MagickFalse)" ( (binary_expression "wand->debug == MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) == identifier) )) (compound_statement "{\n    pIVar2 = wand->images;\n  }" { (expression_statement "pIVar2 = wand->images;" (assignment_expression "pIVar2 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) }) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }" else (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);\n    pIVar2 = wand->images;\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name);" (call_expression "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_00178490)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_00178490" * (cast_expression "(code *)PTR_LogMagickEvent_00178490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,wand->name)" ( number_literal , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "pIVar2 = wand->images;" (assignment_expression "pIVar2 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) }))) (if_statement "if (pIVar2 == (Image *)0x0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);\n    MVar4 = MagickFalse;\n  }\n  else {\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }" if (parenthesized_expression "(pIVar2 == (Image *)0x0)" ( (binary_expression "pIVar2 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);\n    MVar4 = MagickFalse;\n  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->exception,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6\n               ,PTR_s_ision_00178030 + 0x7db4,PTR_s_ision_00178030 + -0x35c,wand->name)" ( (field_expression "wand->exception" identifier -> field_identifier) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + 0x7db4" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "MVar4 = MagickFalse;" (assignment_expression "MVar4 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);\n    pIVar2 = wand->images;\n    if (pIVar2->rows == 0) {\n      trap(7);\n    }\n    if (pIVar2->columns == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);\n    if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }\n    wand->images->fuzz = dVar6;\n    MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);\n  }" { (expression_statement "iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0);" (assignment_expression "iVar3 = (*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0)" identifier = (call_expression "(*(code *)PTR_CloneDrawInfo_001784ac)(wand->image_info,0)" (parenthesized_expression "(*(code *)PTR_CloneDrawInfo_001784ac)" ( (pointer_expression "*(code *)PTR_CloneDrawInfo_001784ac" * (cast_expression "(code *)PTR_CloneDrawInfo_001784ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->image_info,0)" ( (field_expression "wand->image_info" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "(*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48);" (call_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)(fill,iVar3 + 0x48)" (parenthesized_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)" ( (pointer_expression "*(code *)PTR_PixelGetQuantumPacket_00178868" * (cast_expression "(code *)PTR_PixelGetQuantumPacket_00178868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fill,iVar3 + 0x48)" ( identifier , (binary_expression "iVar3 + 0x48" identifier + number_literal) ))) ;) (expression_statement "pIVar2 = wand->images;" (assignment_expression "pIVar2 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (if_statement "if (pIVar2->rows == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(pIVar2->rows == 0)" ( (binary_expression "pIVar2->rows == 0" (field_expression "pIVar2->rows" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (pIVar2->columns == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(pIVar2->columns == 0)" ( (binary_expression "pIVar2->columns == 0" (field_expression "pIVar2->columns" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception);" (call_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception)" (parenthesized_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)" ( (pointer_expression "*(code *)PTR_GetOneVirtualPixelInfo_001785f4" * (cast_expression "(code *)PTR_GetOneVirtualPixelInfo_001785f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar2,6,invert % pIVar2->columns,in_stack_00000018 % pIVar2->rows,&target,\n               wand->exception)" ( identifier , number_literal , (binary_expression "invert % pIVar2->columns" identifier % (field_expression "pIVar2->columns" identifier -> field_identifier)) , (binary_expression "in_stack_00000018 % pIVar2->rows" identifier % (field_expression "pIVar2->rows" identifier -> field_identifier)) , (pointer_expression "&target" & identifier) , (field_expression "wand->exception" identifier -> field_identifier) ))) ;) (if_statement "if (y != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }" if (parenthesized_expression "(y != 0)" ( (binary_expression "y != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);\n    }" { (expression_statement "(*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target);" (call_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)(y,&target)" (parenthesized_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)" ( (pointer_expression "*(code *)PTR_PixelGetMagickColor_0017891c" * (cast_expression "(code *)PTR_PixelGetMagickColor_0017891c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(y,&target)" ( identifier , (pointer_expression "&target" & identifier) ))) ;) })) (expression_statement "wand->images->fuzz = dVar6;" (assignment_expression "wand->images->fuzz = dVar6" (field_expression "wand->images->fuzz" (field_expression "wand->images" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert);" (assignment_expression "MVar4 = (*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert)" identifier = (call_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)(wand->images,iVar3,&target,invert)" (parenthesized_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)" ( (pointer_expression "*(code *)PTR_FloodfillPaintImage_001783d8" * (cast_expression "(code *)PTR_FloodfillPaintImage_001783d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wand->images,iVar3,&target,invert)" ( (field_expression "wand->images" identifier -> field_identifier) , identifier , (pointer_expression "&target" & identifier) , identifier )))) ;) (expression_statement "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar3);" (call_expression "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar3)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_00178340)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_00178340" * (cast_expression "(code *)PTR_DestroyDrawInfo_00178340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) }))) (if_statement "if (MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4) {\n    return MVar4;\n  }" if (parenthesized_expression "(MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4)" ( (binary_expression "MVar1 == *(MagickBooleanType *)PTR___stack_chk_guard_001784d4" identifier == (pointer_expression "*(MagickBooleanType *)PTR___stack_chk_guard_001784d4" * (cast_expression "(MagickBooleanType *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "MagickBooleanType *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return MVar4;\n  }" { (return_statement "return MVar4;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_00178394;" (assignment_expression "puVar5 = PTR___stack_chk_fail_00178394" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00178394)();" (call_expression "(*(code *)PTR___stack_chk_fail_00178394)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00178394)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00178394" * (cast_expression "(code *)PTR___stack_chk_fail_00178394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (MVar1 == MagickFalse) {\n    (**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);\n  }\n  else {\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }" if (parenthesized_expression "(MVar1 == MagickFalse)" ( (binary_expression "MVar1 == MagickFalse" identifier == identifier) )) (compound_statement "{\n    (**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);\n  }" { (expression_statement "(**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40);" (call_expression "(**(code **)(puVar5 + 0xdfb2c))\n              (*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar5 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar5 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar5 + 0xdfb2c)" * (cast_expression "(code **)(puVar5 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdfb2c)" ( (binary_expression "puVar5 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar5 + 0xdf438) + -0x1e74,*(int *)(puVar5 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar5 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1e74" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar5 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) ))) ;) (labeled_statement "LAB_00098cb0:\n    iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);" statement_identifier : (expression_statement "iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40);" (assignment_expression "iVar3 = (**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40)" identifier = (call_expression "(**(code **)(puVar5 + 0xdfb2c))\n                      (*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar5 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar5 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar5 + 0xdfb2c)" * (cast_expression "(code **)(puVar5 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdfb2c)" ( (binary_expression "puVar5 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar5 + 0xdf438) + -0x1e54,*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar5 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1e54" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar5 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) )))) ;)) }) (else_clause "else {\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }" else (compound_statement "{\n    MVar4 = MVar1;\n    if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = MVar1 + 4;\n    if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }\n  }" { (expression_statement "MVar4 = MVar1;" (assignment_expression "MVar4 = MVar1" identifier = identifier) ;) (if_statement "if (*(int *)(MVar1 + 0x101c) != -0x54535255) goto LAB_00098cb0;" if (parenthesized_expression "(*(int *)(MVar1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(MVar1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(MVar1 + 0x101c)" * (cast_expression "(int *)(MVar1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(MVar1 + 0x101c)" ( (binary_expression "MVar1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00098cb0;" goto statement_identifier ;)) (expression_statement "iVar3 = MVar1 + 4;" (assignment_expression "iVar3 = MVar1 + 4" identifier = (binary_expression "MVar1 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(&DAT_00001018 + MVar1) == 0) {\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + MVar1) == 0)" ( (binary_expression "*(int *)(&DAT_00001018 + MVar1) == 0" (pointer_expression "*(int *)(&DAT_00001018 + MVar1)" * (cast_expression "(int *)(&DAT_00001018 + MVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + MVar1)" ( (binary_expression "&DAT_00001018 + MVar1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(&DAT_00001004 + MVar1);\n      goto LAB_00098c40;\n    }" { (expression_statement "iVar3 = *(int *)(&DAT_00001004 + MVar1);" (assignment_expression "iVar3 = *(int *)(&DAT_00001004 + MVar1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + MVar1)" * (cast_expression "(int *)(&DAT_00001004 + MVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + MVar1)" ( (binary_expression "&DAT_00001004 + MVar1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (goto_statement "goto LAB_00098c40;" goto statement_identifier ;) })) }))) (expression_statement "(**(code **)(puVar5 + 0xdf894))\n            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3);" (call_expression "(**(code **)(puVar5 + 0xdf894))\n            (0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3)" (parenthesized_expression "(**(code **)(puVar5 + 0xdf894))" ( (pointer_expression "**(code **)(puVar5 + 0xdf894)" * (pointer_expression "*(code **)(puVar5 + 0xdf894)" * (cast_expression "(code **)(puVar5 + 0xdf894)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdf894)" ( (binary_expression "puVar5 + 0xdf894" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar5 + 0xdf438) + -0x1ea0,*(int *)(puVar5 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar5 + 0xdf43c) + -0x7318,iVar3)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar5 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar5 + 0xdf43c) + -0x7318" (pointer_expression "*(int *)(puVar5 + 0xdf43c)" * (cast_expression "(int *)(puVar5 + 0xdf43c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf43c)" ( (binary_expression "puVar5 + 0xdf43c" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = *(int *)(&DAT_00001004 + MVar4);" (assignment_expression "iVar3 = *(int *)(&DAT_00001004 + MVar4)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + MVar4)" * (cast_expression "(int *)(&DAT_00001004 + MVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + MVar4)" ( (binary_expression "&DAT_00001004 + MVar4" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (labeled_statement "LAB_00098c40:\n  if (iVar3 == 0) {\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }\n  else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }" statement_identifier : (if_statement "if (iVar3 == 0) {\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }\n  else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);\n    MVar1 = MagickFalse;\n  }" { (expression_statement "(**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4);" (call_expression "(**(code **)(puVar5 + 0xdf6c8))\n              (*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4)" (parenthesized_expression "(**(code **)(puVar5 + 0xdf6c8))" ( (pointer_expression "**(code **)(puVar5 + 0xdf6c8)" * (pointer_expression "*(code **)(puVar5 + 0xdf6c8)" * (cast_expression "(code **)(puVar5 + 0xdf6c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdf6c8)" ( (binary_expression "puVar5 + 0xdf6c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(MVar4 + 0x100c),*(int *)(puVar5 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar5 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar5 + 0xdf434) + 0x7db4,\n               *(int *)(puVar5 + 0xdf434) + -0x35c,MVar4 + 4)" ( (pointer_expression "*(undefined4 *)(MVar4 + 0x100c)" * (cast_expression "(undefined4 *)(MVar4 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(MVar4 + 0x100c)" ( (binary_expression "MVar4 + 0x100c" identifier + number_literal) )))) , (binary_expression "*(int *)(puVar5 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar5 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar5 + 0xdf438)" * (cast_expression "(int *)(puVar5 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf438)" ( (binary_expression "puVar5 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (binary_expression "*(int *)(puVar5 + 0xdf434) + 0x7db4" (pointer_expression "*(int *)(puVar5 + 0xdf434)" * (cast_expression "(int *)(puVar5 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf434)" ( (binary_expression "puVar5 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar5 + 0xdf434) + -0x35c" (pointer_expression "*(int *)(puVar5 + 0xdf434)" * (cast_expression "(int *)(puVar5 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xdf434)" ( (binary_expression "puVar5 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "MVar4 + 4" identifier + number_literal) ))) ;) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }" else (compound_statement "{\n    iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));\n    if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }\n  }" { (expression_statement "iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c));" (assignment_expression "iVar3 = (**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c))" identifier = (call_expression "(**(code **)(puVar5 + 0xdf608))(iVar3,*(undefined4 *)(MVar4 + 0x100c))" (parenthesized_expression "(**(code **)(puVar5 + 0xdf608))" ( (pointer_expression "**(code **)(puVar5 + 0xdf608)" * (pointer_expression "*(code **)(puVar5 + 0xdf608)" * (cast_expression "(code **)(puVar5 + 0xdf608)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdf608)" ( (binary_expression "puVar5 + 0xdf608" identifier + number_literal) ))))) )) (argument_list "(iVar3,*(undefined4 *)(MVar4 + 0x100c))" ( identifier , (pointer_expression "*(undefined4 *)(MVar4 + 0x100c)" * (cast_expression "(undefined4 *)(MVar4 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(MVar4 + 0x100c)" ( (binary_expression "MVar4 + 0x100c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar3 == 0) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      MVar1 = MagickFalse;\n    }" { (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }" else (compound_statement "{\n      (**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);\n      MVar1 = MagickTrue;\n    }" { (expression_statement "(**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3);" (call_expression "(**(code **)(puVar5 + 0xdf518))(&DAT_00001004 + MVar4,iVar3)" (parenthesized_expression "(**(code **)(puVar5 + 0xdf518))" ( (pointer_expression "**(code **)(puVar5 + 0xdf518)" * (pointer_expression "*(code **)(puVar5 + 0xdf518)" * (cast_expression "(code **)(puVar5 + 0xdf518)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0xdf518)" ( (binary_expression "puVar5 + 0xdf518" identifier + number_literal) ))))) )) (argument_list "(&DAT_00001004 + MVar4,iVar3)" ( (binary_expression "&DAT_00001004 + MVar4" (pointer_expression "&DAT_00001004" & identifier) + identifier) , identifier ))) ;) (expression_statement "MVar1 = MagickTrue;" (assignment_expression "MVar1 = MagickTrue" identifier = identifier) ;) }))) })))) (return_statement "return MVar1;" return identifier ;) })))
(translation_unit "int MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined1 auStack_80 [92];" type_identifier (array_declarator "auStack_80 [92]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "uVar5 = CONCAT44(param_3,param_4);" (assignment_expression "uVar5 = CONCAT44(param_3,param_4)" identifier = (call_expression "CONCAT44(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_001784d4;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_001784d4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" * (cast_expression "(int *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e74" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" identifier = (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" ( (pointer_expression "*(code *)PTR___assert_fail_00178728" * (cast_expression "(code *)PTR___assert_fail_00178728" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" ( (binary_expression "PTR_s_oint_00178034 + -0x1e54" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_oint_00178034 + 0xb6c" identifier + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) == 0)" ( (binary_expression "*(int *)(&DAT_00001018 + param_1) == 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" * (cast_expression "(int *)(&DAT_00001018 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + param_1)" ( (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" { (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) }) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" else (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_00178490)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_00178490" * (cast_expression "(code *)PTR_LogMagickEvent_00178490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" ( number_literal , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) }))) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" * (cast_expression "(code *)PTR_ThrowMagickException_001782c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (binary_expression "PTR_s_oint_00178034 + -0x1ea0" identifier + number_literal) , (binary_expression "PTR_s_oint_00178034 + 0xb50" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_ision_00178030 + 0x7db4" identifier + number_literal) , (binary_expression "PTR_s_ision_00178030 + -0x35c" identifier + number_literal) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);" (assignment_expression "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" identifier = (call_expression "(*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" (parenthesized_expression "(*(code *)PTR_CloneDrawInfo_001784ac)" ( (pointer_expression "*(code *)PTR_CloneDrawInfo_001784ac" * (cast_expression "(code *)PTR_CloneDrawInfo_001784ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),0)" ( (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001008 + param_1)" ( (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" & identifier) + identifier) )))) , number_literal )))) ;) (expression_statement "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);" (call_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48)" (parenthesized_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)" ( (pointer_expression "*(code *)PTR_PixelGetQuantumPacket_00178868" * (cast_expression "(code *)PTR_PixelGetQuantumPacket_00178868" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,iVar2 + 0x48)" ( identifier , (binary_expression "iVar2 + 0x48" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (if_statement "if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(*(uint *)(iVar1 + 0x1c) == 0)" ( (binary_expression "*(uint *)(iVar1 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(*(uint *)(iVar1 + 0x18) == 0)" ( (binary_expression "*(uint *)(iVar1 + 0x18) == 0" (pointer_expression "*(uint *)(iVar1 + 0x18)" * (cast_expression "(uint *)(iVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));" (call_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)" ( (pointer_expression "*(code *)PTR_GetOneVirtualPixelInfo_001785f4" * (cast_expression "(code *)PTR_GetOneVirtualPixelInfo_001785f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" ( identifier , number_literal , (binary_expression "param_6 % *(uint *)(iVar1 + 0x18)" identifier % (pointer_expression "*(uint *)(iVar1 + 0x18)" * (cast_expression "(uint *)(iVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) , (binary_expression "param_7 % *(uint *)(iVar1 + 0x1c)" identifier % (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) ))) ;) (if_statement "if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" { (expression_statement "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);" (call_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80)" (parenthesized_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)" ( (pointer_expression "*(code *)PTR_PixelGetMagickColor_0017891c" * (cast_expression "(code *)PTR_PixelGetMagickColor_0017891c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,auStack_80)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;" (assignment_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5" (pointer_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" * (cast_expression "(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_00001004 + param_1) + 0x248)" ( (binary_expression "*(int *)(&DAT_00001004 + param_1) + 0x248" (pointer_expression "*(int *)(&DAT_00001004 + param_1)" * (cast_expression "(int *)(&DAT_00001004 + param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" identifier = (call_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)" ( (pointer_expression "*(code *)PTR_FloodfillPaintImage_001783d8" * (cast_expression "(code *)PTR_FloodfillPaintImage_001783d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" ( (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" * (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + param_1)" ( (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" & identifier) + identifier) )))) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) )))) ;) (expression_statement "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);" (call_expression "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_00178340)" ( (pointer_expression "*(code *)PTR_DestroyDrawInfo_00178340" * (cast_expression "(code *)PTR_DestroyDrawInfo_00178340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) }))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_001784d4)" ( (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_001784d4" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" * (cast_expression "(int *)PTR___stack_chk_guard_001784d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_00178394;" (assignment_expression "puVar4 = PTR___stack_chk_fail_00178394" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00178394)();" (call_expression "(*(code *)PTR___stack_chk_fail_00178394)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00178394)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00178394" * (cast_expression "(code *)PTR___stack_chk_fail_00178394" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }" { (expression_statement "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);" (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" * (cast_expression "(code **)(puVar4 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdfb2c)" ( (binary_expression "puVar4 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e74" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) ))) ;) (labeled_statement "LAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" statement_identifier : (expression_statement "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" (assignment_expression "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" identifier = (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" ( (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" * (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" * (cast_expression "(code **)(puVar4 + 0xdfb2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdfb2c)" ( (binary_expression "puVar4 + 0xdfb2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" ( (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e54" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) )))) ;)) }) (else_clause "else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" else (compound_statement "{\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" { (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) (if_statement "if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;" if (parenthesized_expression "(*(int *)(iVar2 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(iVar2 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(iVar2 + 0x101c)" * (cast_expression "(int *)(iVar2 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x101c)" ( (binary_expression "iVar2 + 0x101c" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00098cb0;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" if (parenthesized_expression "(*(int *)(&DAT_00001018 + iVar2) == 0)" ( (binary_expression "*(int *)(&DAT_00001018 + iVar2) == 0" (pointer_expression "*(int *)(&DAT_00001018 + iVar2)" * (cast_expression "(int *)(&DAT_00001018 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001018 + iVar2)" ( (binary_expression "&DAT_00001018 + iVar2" (pointer_expression "&DAT_00001018" & identifier) + identifier) )))) == number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" { (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar2);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar2)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + iVar2)" * (cast_expression "(int *)(&DAT_00001004 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + iVar2)" ( (binary_expression "&DAT_00001004 + iVar2" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (goto_statement "goto LAB_00098c40;" goto statement_identifier ;) })) }))) (expression_statement "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);" (call_expression "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf894))" ( (pointer_expression "**(code **)(puVar4 + 0xdf894)" * (pointer_expression "*(code **)(puVar4 + 0xdf894)" * (cast_expression "(code **)(puVar4 + 0xdf894)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf894)" ( (binary_expression "puVar4 + 0xdf894" identifier + number_literal) ))))) )) (argument_list "(0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" ( number_literal , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf43c) + -0x7318" (pointer_expression "*(int *)(puVar4 + 0xdf43c)" * (cast_expression "(int *)(puVar4 + 0xdf43c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf43c)" ( (binary_expression "puVar4 + 0xdf43c" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar1);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar1)" identifier = (pointer_expression "*(int *)(&DAT_00001004 + iVar1)" * (cast_expression "(int *)(&DAT_00001004 + iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00001004 + iVar1)" ( (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" & identifier) + identifier) ))))) ;) (labeled_statement "LAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" statement_identifier : (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }" { (expression_statement "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);" (call_expression "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf6c8))" ( (pointer_expression "**(code **)(puVar4 + 0xdf6c8)" * (pointer_expression "*(code **)(puVar4 + 0xdf6c8)" * (cast_expression "(code **)(puVar4 + 0xdf6c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf6c8)" ( (binary_expression "puVar4 + 0xdf6c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" * (cast_expression "(undefined4 *)(iVar1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x100c)" ( (binary_expression "iVar1 + 0x100c" identifier + number_literal) )))) , (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" * (cast_expression "(int *)(puVar4 + 0xdf438)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf438)" ( (binary_expression "puVar4 + 0xdf438" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (binary_expression "*(int *)(puVar4 + 0xdf434) + 0x7db4" (pointer_expression "*(int *)(puVar4 + 0xdf434)" * (cast_expression "(int *)(puVar4 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf434)" ( (binary_expression "puVar4 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0xdf434) + -0x35c" (pointer_expression "*(int *)(puVar4 + 0xdf434)" * (cast_expression "(int *)(puVar4 + 0xdf434)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xdf434)" ( (binary_expression "puVar4 + 0xdf434" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" else (compound_statement "{\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));" (assignment_expression "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" identifier = (call_expression "(**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" (parenthesized_expression "(**(code **)(puVar4 + 0xdf608))" ( (pointer_expression "**(code **)(puVar4 + 0xdf608)" * (pointer_expression "*(code **)(puVar4 + 0xdf608)" * (cast_expression "(code **)(puVar4 + 0xdf608)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf608)" ( (binary_expression "puVar4 + 0xdf608" identifier + number_literal) ))))) )) (argument_list "(iVar2,*(undefined4 *)(iVar1 + 0x100c))" ( identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" * (cast_expression "(undefined4 *)(iVar1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x100c)" ( (binary_expression "iVar1 + 0x100c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" else (compound_statement "{\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" { (expression_statement "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);" (call_expression "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf518))" ( (pointer_expression "**(code **)(puVar4 + 0xdf518)" * (pointer_expression "*(code **)(puVar4 + 0xdf518)" * (cast_expression "(code **)(puVar4 + 0xdf518)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0xdf518)" ( (binary_expression "puVar4 + 0xdf518" identifier + number_literal) ))))) )) (argument_list "(&DAT_00001004 + iVar1,iVar2)" ( (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" & identifier) + identifier) , identifier ))) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }))) })))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_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 ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })))) (return_statement return IDENT ;) })))
(function_definition "int MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "MagickFloodfillPaintImage\n              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" (identifier "MagickFloodfillPaintImage") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,\n              uint param_6,uint param_7,undefined4 param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) (, ",") (parameter_declaration "uint param_7" (type_identifier "uint") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined8 uVar5;\n  undefined1 auStack_80 [92];\n  int local_24;\n  \n  uVar5 = CONCAT44(param_3,param_4);\n  local_24 = *(int *)PTR___stack_chk_guard_001784d4;\n  if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }\n  if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }\n  iVar2 = local_24;\n  puVar4 = PTR___stack_chk_fail_00178394;\n  (*(code *)PTR___stack_chk_fail_00178394)();\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }\n  (**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);\n  iVar2 = *(int *)(&DAT_00001004 + iVar1);\nLAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "undefined1 auStack_80 [92];" (type_identifier "undefined1") (array_declarator "auStack_80 [92]" (identifier "auStack_80") ([ "[") (number_literal "92") (] "]")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "uVar5 = CONCAT44(param_3,param_4);" (assignment_expression "uVar5 = CONCAT44(param_3,param_4)" (identifier "uVar5") (= "=") (call_expression "CONCAT44(param_3,param_4)" (identifier "CONCAT44") (argument_list "(param_3,param_4)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_001784d4;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_001784d4" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001784d4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001784d4")))) (; ";")) (if_statement "if (param_1 == 0) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00178728" (* "*") (cast_expression "(code *)PTR___assert_fail_00178728" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00178728"))) () ")")) (argument_list "(PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,\n                       PTR_s_oint_00178034 + 0xb6c)" (( "(") (binary_expression "PTR_s_oint_00178034 + -0x1e74" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1e74")) (, ",") (binary_expression "PTR_s_oint_00178034 + -0x1ea0" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1ea0")) (, ",") (number_literal "0xdd9") (, ",") (binary_expression "PTR_s_oint_00178034 + 0xb6c" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "0xb6c")) () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c);" (assignment_expression "iVar1 = (*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___assert_fail_00178728)\n                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (parenthesized_expression "(*(code *)PTR___assert_fail_00178728)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00178728" (* "*") (cast_expression "(code *)PTR___assert_fail_00178728" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00178728"))) () ")")) (argument_list "(PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,\n                       PTR_s_oint_00178034 + 0xb6c)" (( "(") (binary_expression "PTR_s_oint_00178034 + -0x1e54" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1e54")) (, ",") (binary_expression "PTR_s_oint_00178034 + -0x1ea0" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1ea0")) (, ",") (number_literal "0xdda") (, ",") (binary_expression "PTR_s_oint_00178034 + 0xb6c" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "0xb6c")) () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (if_statement "if (*(int *)(&DAT_00001018 + param_1) == 0) {\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(&DAT_00001018 + param_1) == 0)" (( "(") (binary_expression "*(int *)(&DAT_00001018 + param_1) == 0" (pointer_expression "*(int *)(&DAT_00001018 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001018 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001018 + param_1)" (( "(") (binary_expression "&DAT_00001018 + param_1" (pointer_expression "&DAT_00001018" (& "&") (identifier "DAT_00001018")) (+ "+") (identifier "param_1")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n  }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);" (call_expression "(*(code *)PTR_LogMagickEvent_00178490)\n              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_00178490)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_00178490" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_00178490" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_00178490"))) () ")")) (argument_list "(0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,\n               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "PTR_s_oint_00178034 + -0x1ea0" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1ea0")) (, ",") (binary_expression "PTR_s_oint_00178034 + 0xb50" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "0xb50")) (, ",") (number_literal "0xddc") (, ",") (binary_expression "PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318" (identifier "PTR_fde_table_entry_0015fffc_data_loc_00178038") (+ "+") (number_literal "-0x7318")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4);" (call_expression "(*(code *)PTR_ThrowMagickException_001782c4)\n              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_001782c4)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_001782c4" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_001782c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_001782c4"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,\n               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,\n               PTR_s_ision_00178030 + -0x35c,param_1 + 4)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) (, ",") (binary_expression "PTR_s_oint_00178034 + -0x1ea0" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "-0x1ea0")) (, ",") (binary_expression "PTR_s_oint_00178034 + 0xb50" (identifier "PTR_s_oint_00178034") (+ "+") (number_literal "0xb50")) (, ",") (number_literal "0xdde") (, ",") (number_literal "0x1d6") (, ",") (binary_expression "PTR_s_ision_00178030 + 0x7db4" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "0x7db4")) (, ",") (binary_expression "PTR_s_ision_00178030 + -0x35c" (identifier "PTR_s_ision_00178030") (+ "+") (number_literal "-0x35c")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);\n    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);\n    iVar1 = *(int *)(&DAT_00001004 + param_1);\n    if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }\n    if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }\n    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));\n    if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }\n    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;\n    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));\n    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);" (assignment_expression "iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0)" (parenthesized_expression "(*(code *)PTR_CloneDrawInfo_001784ac)" (( "(") (pointer_expression "*(code *)PTR_CloneDrawInfo_001784ac" (* "*") (cast_expression "(code *)PTR_CloneDrawInfo_001784ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloneDrawInfo_001784ac"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001008 + param_1),0)" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001008 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001008 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001008 + param_1)" (( "(") (binary_expression "&DAT_00001008 + param_1" (pointer_expression "&DAT_00001008" (& "&") (identifier "DAT_00001008")) (+ "+") (identifier "param_1")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);" (call_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48)" (parenthesized_expression "(*(code *)PTR_PixelGetQuantumPacket_00178868)" (( "(") (pointer_expression "*(code *)PTR_PixelGetQuantumPacket_00178868" (* "*") (cast_expression "(code *)PTR_PixelGetQuantumPacket_00178868" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_PixelGetQuantumPacket_00178868"))) () ")")) (argument_list "(param_2,iVar2 + 0x48)" (( "(") (identifier "param_2") (, ",") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(&DAT_00001004 + param_1);" (assignment_expression "iVar1 = *(int *)(&DAT_00001004 + param_1)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(iVar1 + 0x1c) == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(*(uint *)(iVar1 + 0x1c) == 0)" (( "(") (binary_expression "*(uint *)(iVar1 + 0x1c) == 0" (pointer_expression "*(uint *)(iVar1 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(uint *)(iVar1 + 0x18) == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(*(uint *)(iVar1 + 0x18) == 0)" (( "(") (binary_expression "*(uint *)(iVar1 + 0x18) == 0" (pointer_expression "*(uint *)(iVar1 + 0x18)" (* "*") (cast_expression "(uint *)(iVar1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c));" (call_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)\n              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_GetOneVirtualPixelInfo_001785f4)" (( "(") (pointer_expression "*(code *)PTR_GetOneVirtualPixelInfo_001785f4" (* "*") (cast_expression "(code *)PTR_GetOneVirtualPixelInfo_001785f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetOneVirtualPixelInfo_001785f4"))) () ")")) (argument_list "(iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),\n               auStack_80,*(undefined4 *)(param_1 + 0x100c))" (( "(") (identifier "iVar1") (, ",") (number_literal "6") (, ",") (binary_expression "param_6 % *(uint *)(iVar1 + 0x18)" (identifier "param_6") (% "%") (pointer_expression "*(uint *)(iVar1 + 0x18)" (* "*") (cast_expression "(uint *)(iVar1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "param_7 % *(uint *)(iVar1 + 0x1c)" (identifier "param_7") (% "%") (pointer_expression "*(uint *)(iVar1 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (, ",") (identifier "auStack_80") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) () ")"))) (; ";")) (if_statement "if (param_5 != 0) {\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);\n    }" ({ "{") (expression_statement "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);" (call_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80)" (parenthesized_expression "(*(code *)PTR_PixelGetMagickColor_0017891c)" (( "(") (pointer_expression "*(code *)PTR_PixelGetMagickColor_0017891c" (* "*") (cast_expression "(code *)PTR_PixelGetMagickColor_0017891c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_PixelGetMagickColor_0017891c"))) () ")")) (argument_list "(param_5,auStack_80)" (( "(") (identifier "param_5") (, ",") (identifier "auStack_80") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;" (assignment_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5" (pointer_expression "*(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" (* "*") (cast_expression "(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(&DAT_00001004 + param_1) + 0x248)" (( "(") (binary_expression "*(int *)(&DAT_00001004 + param_1) + 0x248" (pointer_expression "*(int *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")")))) (+ "+") (number_literal "0x248")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)\n                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" (parenthesized_expression "(*(code *)PTR_FloodfillPaintImage_001783d8)" (( "(") (pointer_expression "*(code *)PTR_FloodfillPaintImage_001783d8" (* "*") (cast_expression "(code *)PTR_FloodfillPaintImage_001783d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FloodfillPaintImage_001783d8"))) () ")")) (argument_list "(*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,\n                       param_8,*(undefined4 *)(param_1 + 0x100c))" (( "(") (pointer_expression "*(undefined4 *)(&DAT_00001004 + param_1)" (* "*") (cast_expression "(undefined4 *)(&DAT_00001004 + param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + param_1)" (( "(") (binary_expression "&DAT_00001004 + param_1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "param_1")) () ")")))) (, ",") (identifier "iVar2") (, ",") (identifier "auStack_80") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);" (call_expression "(*(code *)PTR_DestroyDrawInfo_00178340)(iVar2)" (parenthesized_expression "(*(code *)PTR_DestroyDrawInfo_00178340)" (( "(") (pointer_expression "*(code *)PTR_DestroyDrawInfo_00178340" (* "*") (cast_expression "(code *)PTR_DestroyDrawInfo_00178340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyDrawInfo_00178340"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_001784d4)" (( "(") (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_001784d4" (identifier "local_24") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_001784d4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001784d4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001784d4")))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" (identifier "iVar2") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar4 = PTR___stack_chk_fail_00178394;" (assignment_expression "puVar4 = PTR___stack_chk_fail_00178394" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_00178394")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00178394)();" (call_expression "(*(code *)PTR___stack_chk_fail_00178394)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00178394)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00178394" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00178394" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00178394"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }\n  else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);\nLAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40);" (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" (* "*") (cast_expression "(code **)(puVar4 + 0xdfb2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdfb2c)" (( "(") (binary_expression "puVar4 + 0xdfb2c" (identifier "puVar4") (+ "+") (number_literal "0xdfb2c")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,\n               *(int *)(puVar4 + 0xdf438) + 0xb40)" (( "(") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e74" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1e74")) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1ea0")) (, ",") (number_literal "0xe08") (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "0xb40")) () ")"))) (; ";")) (labeled_statement "LAB_00098cb0:\n    iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" (statement_identifier "LAB_00098cb0") (: ":") (expression_statement "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);" (assignment_expression "iVar3 = (**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar4 + 0xdfb2c))\n                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" (parenthesized_expression "(**(code **)(puVar4 + 0xdfb2c))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdfb2c)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdfb2c)" (* "*") (cast_expression "(code **)(puVar4 + 0xdfb2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdfb2c)" (( "(") (binary_expression "puVar4 + 0xdfb2c" (identifier "puVar4") (+ "+") (number_literal "0xdfb2c")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40)" (( "(") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1e54" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1e54")) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1ea0")) (, ",") (number_literal "0xe09") (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb40" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "0xb40")) () ")")))) (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = iVar2;\n    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;\n    iVar3 = iVar2 + 4;\n    if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }\n  }" ({ "{") (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" (identifier "iVar1") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x101c) != -0x54535255)" (( "(") (binary_expression "*(int *)(iVar2 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(iVar2 + 0x101c)" (* "*") (cast_expression "(int *)(iVar2 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x101c)" (( "(") (binary_expression "iVar2 + 0x101c" (identifier "iVar2") (+ "+") (number_literal "0x101c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (goto_statement "goto LAB_00098cb0;" (goto "goto") (statement_identifier "LAB_00098cb0") (; ";"))) (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*(int *)(&DAT_00001018 + iVar2) == 0) {\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" (if "if") (parenthesized_expression "(*(int *)(&DAT_00001018 + iVar2) == 0)" (( "(") (binary_expression "*(int *)(&DAT_00001018 + iVar2) == 0" (pointer_expression "*(int *)(&DAT_00001018 + iVar2)" (* "*") (cast_expression "(int *)(&DAT_00001018 + iVar2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001018 + iVar2)" (( "(") (binary_expression "&DAT_00001018 + iVar2" (pointer_expression "&DAT_00001018" (& "&") (identifier "DAT_00001018")) (+ "+") (identifier "iVar2")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = *(int *)(&DAT_00001004 + iVar2);\n      goto LAB_00098c40;\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar2);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar2)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + iVar2)" (* "*") (cast_expression "(int *)(&DAT_00001004 + iVar2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + iVar2)" (( "(") (binary_expression "&DAT_00001004 + iVar2" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "iVar2")) () ")"))))) (; ";")) (goto_statement "goto LAB_00098c40;" (goto "goto") (statement_identifier "LAB_00098c40") (; ";")) (} "}"))) (} "}")))) (expression_statement "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);" (call_expression "(**(code **)(puVar4 + 0xdf894))\n            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf894))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdf894)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdf894)" (* "*") (cast_expression "(code **)(puVar4 + 0xdf894)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdf894)" (( "(") (binary_expression "puVar4 + 0xdf894" (identifier "puVar4") (+ "+") (number_literal "0xdf894")) () ")"))))) () ")")) (argument_list "(0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,\n             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3)" (( "(") (number_literal "0x40000") (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1ea0")) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "0xb30")) (, ",") (number_literal "0xe0b") (, ",") (binary_expression "*(int *)(puVar4 + 0xdf43c) + -0x7318" (pointer_expression "*(int *)(puVar4 + 0xdf43c)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf43c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf43c)" (( "(") (binary_expression "puVar4 + 0xdf43c" (identifier "puVar4") (+ "+") (number_literal "0xdf43c")) () ")")))) (+ "+") (number_literal "-0x7318")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(&DAT_00001004 + iVar1);" (assignment_expression "iVar2 = *(int *)(&DAT_00001004 + iVar1)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(&DAT_00001004 + iVar1)" (* "*") (cast_expression "(int *)(&DAT_00001004 + iVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00001004 + iVar1)" (( "(") (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (labeled_statement "LAB_00098c40:\n  if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" (statement_identifier "LAB_00098c40") (: ":") (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }\n  else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);" (call_expression "(**(code **)(puVar4 + 0xdf6c8))\n              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf6c8))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdf6c8)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdf6c8)" (* "*") (cast_expression "(code **)(puVar4 + 0xdf6c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdf6c8)" (( "(") (binary_expression "puVar4 + 0xdf6c8" (identifier "puVar4") (+ "+") (number_literal "0xdf6c8")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,\n               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,\n               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x100c)" (( "(") (binary_expression "iVar1 + 0x100c" (identifier "iVar1") (+ "+") (number_literal "0x100c")) () ")")))) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + -0x1ea0" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "-0x1ea0")) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf438) + 0xb30" (pointer_expression "*(int *)(puVar4 + 0xdf438)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf438)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf438)" (( "(") (binary_expression "puVar4 + 0xdf438" (identifier "puVar4") (+ "+") (number_literal "0xdf438")) () ")")))) (+ "+") (number_literal "0xb30")) (, ",") (number_literal "0xe0d") (, ",") (number_literal "0x1d6") (, ",") (binary_expression "*(int *)(puVar4 + 0xdf434) + 0x7db4" (pointer_expression "*(int *)(puVar4 + 0xdf434)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf434)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf434)" (( "(") (binary_expression "puVar4 + 0xdf434" (identifier "puVar4") (+ "+") (number_literal "0xdf434")) () ")")))) (+ "+") (number_literal "0x7db4")) (, ",") (binary_expression "*(int *)(puVar4 + 0xdf434) + -0x35c" (pointer_expression "*(int *)(puVar4 + 0xdf434)" (* "*") (cast_expression "(int *)(puVar4 + 0xdf434)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xdf434)" (( "(") (binary_expression "puVar4 + 0xdf434" (identifier "puVar4") (+ "+") (number_literal "0xdf434")) () ")")))) (+ "+") (number_literal "-0x35c")) (, ",") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));\n    if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));" (assignment_expression "iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c))" (parenthesized_expression "(**(code **)(puVar4 + 0xdf608))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdf608)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdf608)" (* "*") (cast_expression "(code **)(puVar4 + 0xdf608)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdf608)" (( "(") (binary_expression "puVar4 + 0xdf608" (identifier "puVar4") (+ "+") (number_literal "0xdf608")) () ")"))))) () ")")) (argument_list "(iVar2,*(undefined4 *)(iVar1 + 0x100c))" (( "(") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x100c)" (( "(") (binary_expression "iVar1 + 0x100c" (identifier "iVar1") (+ "+") (number_literal "0x100c")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      iVar1 = 0;\n    }\n    else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = 0;\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" (else "else") (compound_statement "{\n      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);\n      iVar1 = 1;\n    }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);" (call_expression "(**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2)" (parenthesized_expression "(**(code **)(puVar4 + 0xdf518))" (( "(") (pointer_expression "**(code **)(puVar4 + 0xdf518)" (* "*") (pointer_expression "*(code **)(puVar4 + 0xdf518)" (* "*") (cast_expression "(code **)(puVar4 + 0xdf518)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0xdf518)" (( "(") (binary_expression "puVar4 + 0xdf518" (identifier "puVar4") (+ "+") (number_literal "0xdf518")) () ")"))))) () ")")) (argument_list "(&DAT_00001004 + iVar1,iVar2)" (( "(") (binary_expression "&DAT_00001004 + iVar1" (pointer_expression "&DAT_00001004" (& "&") (identifier "DAT_00001004")) (+ "+") (identifier "iVar1")) (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}"))))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

type_1
function_1
          (type_2 *var_2,type_3 *fill,double fuzz,type_3 *bordercolor,ssize_t x,ssize_t var_12,
          type_1 var_10)

{
  type_1 var_13;
  type_4 *var_6;
  int var_8;
  type_1 var_15;
  type_5 *var_14;
  double dVar6;
  type_6 var_11;
  type_7 target;
  
  dVar6 = (double)var_1(bordercolor,x);
  var_13 = *(type_1 *)PTR___stack_chk_guard_001784d4;
  if (var_2 == (type_2 *)0x0) {
    var_13 = (*(type_8 *)PTR___assert_fail_00178728)
                      (var_3 + -0x1e74,var_3 + -0x1ea0,0xdd9,
                       var_3 + 0xb6c);
    return var_13;
  }
  if (var_2->signature != 0xabacadab) {
    var_13 = (*(type_8 *)PTR___assert_fail_00178728)
                      (var_3 + -0x1e54,var_3 + -0x1ea0,0xdda,
                       var_3 + 0xb6c);
    return var_13;
  }
  if (var_2->debug == var_4) {
    var_6 = var_2->images;
  }
  else {
    (*(type_8 *)PTR_LogMagickEvent_00178490)
              (0x40000,var_3 + -0x1ea0,var_3 + 0xb50,0xddc,
               var_5 + -0x7318,var_2->name);
    var_6 = var_2->images;
  }
  if (var_6 == (type_4 *)0x0) {
    (*(type_8 *)PTR_ThrowMagickException_001782c4)
              (var_2->exception,var_3 + -0x1ea0,var_3 + 0xb50,0xdde,0x1d6
               ,var_7 + 0x7db4,var_7 + -0x35c,var_2->name);
    var_15 = var_4;
  }
  else {
    var_8 = (*(type_8 *)PTR_CloneDrawInfo_001784ac)(var_2->image_info,0);
    (*(type_8 *)PTR_PixelGetQuantumPacket_00178868)(fill,var_8 + 0x48);
    var_6 = var_2->images;
    if (var_6->rows == 0) {
      var_9(7);
    }
    if (var_6->columns == 0) {
      var_9(7);
    }
    (*(type_8 *)PTR_GetOneVirtualPixelInfo_001785f4)
              (var_6,6,var_10 % var_6->columns,var_11 % var_6->rows,&target,
               var_2->exception);
    if (var_12 != 0) {
      (*(type_8 *)PTR_PixelGetMagickColor_0017891c)(var_12,&target);
    }
    var_2->images->fuzz = dVar6;
    var_15 = (*(type_8 *)PTR_FloodfillPaintImage_001783d8)(var_2->images,var_8,&target,var_10);
    (*(type_8 *)PTR_DestroyDrawInfo_00178340)(var_8);
  }
  if (var_13 == *(type_1 *)PTR___stack_chk_guard_001784d4) {
    return var_15;
  }
  var_14 = PTR___stack_chk_fail_00178394;
  (*(type_8 *)PTR___stack_chk_fail_00178394)();
  if (var_13 == var_4) {
    (**(type_8 **)(var_14 + 0xdfb2c))
              (*(int *)(var_14 + 0xdf438) + -0x1e74,*(int *)(var_14 + 0xdf438) + -0x1ea0,0xe08,
               *(int *)(var_14 + 0xdf438) + 0xb40);
LAB_00098cb0:
    var_8 = (**(type_8 **)(var_14 + 0xdfb2c))
                      (*(int *)(var_14 + 0xdf438) + -0x1e54,*(int *)(var_14 + 0xdf438) + -0x1ea0,
                       0xe09,*(int *)(var_14 + 0xdf438) + 0xb40);
  }
  else {
    var_15 = var_13;
    if (*(int *)(var_13 + 0x101c) != -0x54535255) goto LAB_00098cb0;
    var_8 = var_13 + 4;
    if (*(int *)(&DAT_00001018 + var_13) == 0) {
      var_8 = *(int *)(&DAT_00001004 + var_13);
      goto LAB_00098c40;
    }
  }
  (**(type_8 **)(var_14 + 0xdf894))
            (0x40000,*(int *)(var_14 + 0xdf438) + -0x1ea0,*(int *)(var_14 + 0xdf438) + 0xb30,0xe0b,
             *(int *)(var_14 + 0xdf43c) + -0x7318,var_8);
  var_8 = *(int *)(&DAT_00001004 + var_15);
LAB_00098c40:
  if (var_8 == 0) {
    (**(type_8 **)(var_14 + 0xdf6c8))
              (*(type_9 *)(var_15 + 0x100c),*(int *)(var_14 + 0xdf438) + -0x1ea0,
               *(int *)(var_14 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(var_14 + 0xdf434) + 0x7db4,
               *(int *)(var_14 + 0xdf434) + -0x35c,var_15 + 4);
    var_13 = var_4;
  }
  else {
    var_8 = (**(type_8 **)(var_14 + 0xdf608))(var_8,*(type_9 *)(var_15 + 0x100c));
    if (var_8 == 0) {
      var_13 = var_4;
    }
    else {
      (**(type_8 **)(var_14 + 0xdf518))(&DAT_00001004 + var_15,var_8);
      var_13 = MagickTrue;
    }
  }
  return var_13;
}


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

int MASKED
              (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5,
              uint param_6,uint param_7,undefined4 param_8)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined *puVar4;
  undefined8 uVar5;
  undefined1 auStack_80 [92];
  int local_24;
  
  uVar5 = CONCAT44(param_3,param_4);
  local_24 = *(int *)PTR___stack_chk_guard_001784d4;
  if (param_1 == 0) {
    iVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e74,PTR_s_oint_00178034 + -0x1ea0,0xdd9,
                       PTR_s_oint_00178034 + 0xb6c);
    return iVar1;
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
    iVar1 = (*(code *)PTR___assert_fail_00178728)
                      (PTR_s_oint_00178034 + -0x1e54,PTR_s_oint_00178034 + -0x1ea0,0xdda,
                       PTR_s_oint_00178034 + 0xb6c);
    return iVar1;
  }
  if (*(int *)(&DAT_00001018 + param_1) == 0) {
    iVar1 = *(int *)(&DAT_00001004 + param_1);
  }
  else {
    (*(code *)PTR_LogMagickEvent_00178490)
              (0x40000,PTR_s_oint_00178034 + -0x1ea0,PTR_s_oint_00178034 + 0xb50,0xddc,
               PTR_fde_table_entry_0015fffc_data_loc_00178038 + -0x7318,param_1 + 4);
    iVar1 = *(int *)(&DAT_00001004 + param_1);
  }
  if (iVar1 == 0) {
    (*(code *)PTR_ThrowMagickException_001782c4)
              (*(undefined4 *)(param_1 + 0x100c),PTR_s_oint_00178034 + -0x1ea0,
               PTR_s_oint_00178034 + 0xb50,0xdde,0x1d6,PTR_s_ision_00178030 + 0x7db4,
               PTR_s_ision_00178030 + -0x35c,param_1 + 4);
    iVar1 = 0;
  }
  else {
    iVar2 = (*(code *)PTR_CloneDrawInfo_001784ac)(*(undefined4 *)(&DAT_00001008 + param_1),0);
    (*(code *)PTR_PixelGetQuantumPacket_00178868)(param_2,iVar2 + 0x48);
    iVar1 = *(int *)(&DAT_00001004 + param_1);
    if (*(uint *)(iVar1 + 0x1c) == 0) {
      trap(7);
    }
    if (*(uint *)(iVar1 + 0x18) == 0) {
      trap(7);
    }
    (*(code *)PTR_GetOneVirtualPixelInfo_001785f4)
              (iVar1,6,param_6 % *(uint *)(iVar1 + 0x18),param_7 % *(uint *)(iVar1 + 0x1c),
               auStack_80,*(undefined4 *)(param_1 + 0x100c));
    if (param_5 != 0) {
      (*(code *)PTR_PixelGetMagickColor_0017891c)(param_5,auStack_80);
    }
    *(undefined8 *)(*(int *)(&DAT_00001004 + param_1) + 0x248) = uVar5;
    iVar1 = (*(code *)PTR_FloodfillPaintImage_001783d8)
                      (*(undefined4 *)(&DAT_00001004 + param_1),iVar2,auStack_80,param_6,param_7,
                       param_8,*(undefined4 *)(param_1 + 0x100c));
    (*(code *)PTR_DestroyDrawInfo_00178340)(iVar2);
  }
  if (local_24 == *(int *)PTR___stack_chk_guard_001784d4) {
    return iVar1;
  }
  iVar2 = local_24;
  puVar4 = PTR___stack_chk_fail_00178394;
  (*(code *)PTR___stack_chk_fail_00178394)();
  if (iVar2 == 0) {
    (**(code **)(puVar4 + 0xdfb2c))
              (*(int *)(puVar4 + 0xdf438) + -0x1e74,*(int *)(puVar4 + 0xdf438) + -0x1ea0,0xe08,
               *(int *)(puVar4 + 0xdf438) + 0xb40);
LAB_00098cb0:
    iVar3 = (**(code **)(puVar4 + 0xdfb2c))
                      (*(int *)(puVar4 + 0xdf438) + -0x1e54,*(int *)(puVar4 + 0xdf438) + -0x1ea0,
                       0xe09,*(int *)(puVar4 + 0xdf438) + 0xb40);
  }
  else {
    iVar1 = iVar2;
    if (*(int *)(iVar2 + 0x101c) != -0x54535255) goto LAB_00098cb0;
    iVar3 = iVar2 + 4;
    if (*(int *)(&DAT_00001018 + iVar2) == 0) {
      iVar2 = *(int *)(&DAT_00001004 + iVar2);
      goto LAB_00098c40;
    }
  }
  (**(code **)(puVar4 + 0xdf894))
            (0x40000,*(int *)(puVar4 + 0xdf438) + -0x1ea0,*(int *)(puVar4 + 0xdf438) + 0xb30,0xe0b,
             *(int *)(puVar4 + 0xdf43c) + -0x7318,iVar3);
  iVar2 = *(int *)(&DAT_00001004 + iVar1);
LAB_00098c40:
  if (iVar2 == 0) {
    (**(code **)(puVar4 + 0xdf6c8))
              (*(undefined4 *)(iVar1 + 0x100c),*(int *)(puVar4 + 0xdf438) + -0x1ea0,
               *(int *)(puVar4 + 0xdf438) + 0xb30,0xe0d,0x1d6,*(int *)(puVar4 + 0xdf434) + 0x7db4,
               *(int *)(puVar4 + 0xdf434) + -0x35c,iVar1 + 4);
    iVar1 = 0;
  }
  else {
    iVar2 = (**(code **)(puVar4 + 0xdf608))(iVar2,*(undefined4 *)(iVar1 + 0x100c));
    if (iVar2 == 0) {
      iVar1 = 0;
    }
    else {
      (**(code **)(puVar4 + 0xdf518))(&DAT_00001004 + iVar1,iVar2);
      iVar1 = 1;
    }
  }
  return iVar1;
}

