
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

PixelWand ** PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)

{
  Quantum *pixel;
  Image *image;
  int iVar1;
  size_t sVar2;
  PixelWand **ppPVar3;
  CacheView *pCVar4;
  int iVar5;
  
  if (iterator == (PixelIterator *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,
                  "PixelGetCurrentIteratorRow");
  }
  if (iterator->signature == 0xabacadab) {
    if (iterator->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",
                     iterator->name);
    }
    *number_wands = 0;
    iterator->active = MagickTrue;
    pixel = (Quantum *)
            GetCacheViewVirtualPixels
                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,
                       (iterator->region).width,1,iterator->exception);
    if (pixel == (Quantum *)0x0) {
      ppPVar3 = (PixelWand **)0x0;
    }
    else {
      sVar2 = (iterator->region).width;
      if (0 < (int)sVar2) {
        pCVar4 = iterator->view;
        iVar5 = 0;
        do {
          image = (Image *)GetCacheViewImage(pCVar4);
          ppPVar3 = iterator->pixel_wands + iVar5;
          iVar5 = iVar5 + 1;
          PixelSetQuantumPixel(image,pixel,*ppPVar3);
          pCVar4 = iterator->view;
          iVar1 = GetCacheViewImage(pCVar4);
          pixel = pixel + *(int *)(iVar1 + 0x298);
          sVar2 = (iterator->region).width;
        } while (iVar5 < (int)sVar2);
      }
      *number_wands = sVar2;
      ppPVar3 = iterator->pixel_wands;
    }
    return ppPVar3;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,
                "PixelGetCurrentIteratorRow");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,
                  "PixelGetCurrentIteratorRow");
  }
  if (*(int *)(param_1 + 0x102c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1028) != 0) {
      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",
                     param_1 + 4);
    }
    *param_2 = 0;
    *(undefined4 *)(param_1 + 0x101c) = 1;
    iVar1 = GetCacheViewVirtualPixels
                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),
                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),
                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));
    if (iVar1 == 0) {
      uVar2 = 0;
    }
    else {
      iVar3 = *(int *)(param_1 + 0x100c);
      if (0 < iVar3) {
        uVar2 = *(undefined4 *)(param_1 + 0x1008);
        iVar4 = 0;
        do {
          uVar2 = GetCacheViewImage(uVar2);
          iVar3 = iVar4 * 4;
          iVar4 = iVar4 + 1;
          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));
          uVar2 = *(undefined4 *)(param_1 + 0x1008);
          iVar3 = GetCacheViewImage(uVar2);
          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;
          iVar3 = *(int *)(param_1 + 0x100c);
        } while (iVar4 < iVar3);
      }
      *param_2 = iVar3;
      uVar2 = *(undefined4 *)(param_1 + 0x1024);
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,
                "PixelGetCurrentIteratorRow");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001e920
ADD EBX,0x8fb97
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x000da5b6
CMP dword ptr [ESI + 0x102c],0xabacadab
JNZ 0x000da597
MOV EAX,dword ptr [ESI + 0x1028]
TEST EAX,EAX
JNZ 0x000da560
MOV EAX,dword ptr [ESP + 0x34]
SUB ESP,0x8
MOV dword ptr [EAX],0x0
MOV dword ptr [ESI + 0x101c],0x1
PUSH dword ptr [ESI + 0x1004]
PUSH 0x1
PUSH dword ptr [ESI + 0x100c]
MOV EAX,dword ptr [ESI + 0x1020]
ADD EAX,dword ptr [ESI + 0x1018]
PUSH EAX
PUSH dword ptr [ESI + 0x1014]
PUSH dword ptr [ESI + 0x1008]
CALL 0x0001cbf0
ADD ESP,0x20
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000da593
MOV EAX,dword ptr [ESI + 0x100c]
TEST EAX,EAX
JLE 0x000da54c
MOV EDX,dword ptr [ESI + 0x1008]
XOR EDI,EDI
NOP
SUB ESP,0xc
PUSH EDX
CALL 0x0001e250
MOV EDX,dword ptr [ESI + 0x1024]
ADD ESP,0xc
PUSH dword ptr [EDX + EDI*0x4]
PUSH EBP
ADD EDI,0x1
PUSH EAX
CALL 0x0001e1c0
MOV EDX,dword ptr [ESI + 0x1008]
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x0001e250
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + 0x298]
LEA EBP,[EBP + EAX*0x8]
MOV EAX,dword ptr [ESI + 0x100c]
CMP EAX,EDI
JG 0x000da500
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [ESI + 0x1024]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff91a64]
PUSH EAX
LEA EAX,[EBX + 0xfff98a88]
PUSH 0x1f4
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
JMP 0x000da49c
XOR EAX,EAX
JMP 0x000da558
LEA EAX,[EBX + 0xfff98aa4]
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH 0x1f2
PUSH EAX
LEA EAX,[EBX + 0xfff98850]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff98aa4]
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH 0x1f1
PUSH EAX
LEA EAX,[EBX + 0xfff9887c]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}\n\n" comment (function_definition "undefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" type_identifier (function_declarator "PixelGetCurrentIteratorRow(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" { comment (expression_statement "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator != (PixelIterator *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x102c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x102c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x102c)" * (cast_expression "(int *)(param_1 + 0x102c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x102c)" ( (binary_expression "param_1 + 0x102c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" * (cast_expression "(int *)(param_1 + 0x1028)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1028)" ( (binary_expression "param_1 + 0x1028" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x101c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x101c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x101c)" * (cast_expression "(undefined4 *)(param_1 + 0x101c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));" (assignment_expression "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" identifier = (call_expression "GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x1014)" * (cast_expression "(undefined4 *)(param_1 + 0x1014)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1014)" ( (binary_expression "param_1 + 0x1014" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018)" (pointer_expression "*(int *)(param_1 + 0x1020)" * (cast_expression "(int *)(param_1 + 0x1020)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1020)" ( (binary_expression "param_1 + 0x1020" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) ))))) , (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) )))) , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" else (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" identifier = (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);" do (compound_statement "{\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        }" { (expression_statement "uVar2 = GetCacheViewImage(uVar2);" (assignment_expression "uVar2 = GetCacheViewImage(uVar2)" identifier = (call_expression "GetCacheViewImage(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));" (call_expression "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" identifier (argument_list "(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar3)" ( (binary_expression "*(int *)(param_1 + 0x1024) + iVar3" (pointer_expression "*(int *)(param_1 + 0x1024)" * (cast_expression "(int *)(param_1 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) )))) + identifier) )))) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = GetCacheViewImage(uVar2);" (assignment_expression "iVar3 = GetCacheViewImage(uVar2)" identifier = (call_expression "GetCacheViewImage(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;" (assignment_expression "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8" identifier = (binary_expression "iVar1 + *(int *)(iVar3 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar3 + 0x298) * 8" (pointer_expression "*(int *)(iVar3 + 0x298)" * (cast_expression "(int *)(iVar3 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x298)" ( (binary_expression "iVar3 + 0x298" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" identifier = (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar4 < iVar3)" ( (binary_expression "iVar4 < iVar3" identifier < identifier) )) ;) })) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1024);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1024)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1024)" * (cast_expression "(undefined4 *)(param_1 + 0x1024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nPixelWand ** PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)\n\n{\n  Quantum *pixel;\n  Image *image;\n  int iVar1;\n  size_t sVar2;\n  PixelWand **ppPVar3;\n  CacheView *pCVar4;\n  int iVar5;\n  \n  if (iterator == (PixelIterator *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (iterator->signature == 0xabacadab) {\n    if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }\n    *number_wands = 0;\n    iterator->active = MagickTrue;\n    pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);\n    if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }\n    return ppPVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}\n\n" comment comment comment comment comment comment comment (function_definition "PixelWand ** PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)\n\n{\n  Quantum *pixel;\n  Image *image;\n  int iVar1;\n  size_t sVar2;\n  PixelWand **ppPVar3;\n  CacheView *pCVar4;\n  int iVar5;\n  \n  if (iterator == (PixelIterator *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (iterator->signature == 0xabacadab) {\n    if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }\n    *number_wands = 0;\n    iterator->active = MagickTrue;\n    pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);\n    if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }\n    return ppPVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" type_identifier (pointer_declarator "** PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)" * (pointer_declarator "* PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)" * (function_declarator "PixelGetCurrentIteratorRow(PixelIterator *iterator,size_t *number_wands)" identifier (parameter_list "(PixelIterator *iterator,size_t *number_wands)" ( (parameter_declaration "PixelIterator *iterator" type_identifier (pointer_declarator "*iterator" * identifier)) , (parameter_declaration "size_t *number_wands" primitive_type (pointer_declarator "*number_wands" * identifier)) ))))) (compound_statement "{\n  Quantum *pixel;\n  Image *image;\n  int iVar1;\n  size_t sVar2;\n  PixelWand **ppPVar3;\n  CacheView *pCVar4;\n  int iVar5;\n  \n  if (iterator == (PixelIterator *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (iterator->signature == 0xabacadab) {\n    if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }\n    *number_wands = 0;\n    iterator->active = MagickTrue;\n    pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);\n    if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }\n    return ppPVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" { (declaration "Quantum *pixel;" type_identifier (pointer_declarator "*pixel" * identifier) ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "PixelWand **ppPVar3;" type_identifier (pointer_declarator "**ppPVar3" * (pointer_declarator "*ppPVar3" * identifier)) ;) (declaration "CacheView *pCVar4;" type_identifier (pointer_declarator "*pCVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (iterator == (PixelIterator *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" if (parenthesized_expression "(iterator == (PixelIterator *)0x0)" ( (binary_expression "iterator == (PixelIterator *)0x0" identifier == (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" { comment (expression_statement "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator != (PixelIterator *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })) (if_statement "if (iterator->signature == 0xabacadab) {\n    if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }\n    *number_wands = 0;\n    iterator->active = MagickTrue;\n    pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);\n    if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }\n    return ppPVar3;\n  }" if (parenthesized_expression "(iterator->signature == 0xabacadab)" ( (binary_expression "iterator->signature == 0xabacadab" (field_expression "iterator->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }\n    *number_wands = 0;\n    iterator->active = MagickTrue;\n    pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);\n    if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }\n    return ppPVar3;\n  }" { (if_statement "if (iterator->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }" if (parenthesized_expression "(iterator->debug != MagickFalse)" ( (binary_expression "iterator->debug != MagickFalse" (field_expression "iterator->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     iterator->name)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "iterator->name" identifier -> field_identifier) ))) ;) })) (expression_statement "*number_wands = 0;" (assignment_expression "*number_wands = 0" (pointer_expression "*number_wands" * identifier) = number_literal) ;) (expression_statement "iterator->active = MagickTrue;" (assignment_expression "iterator->active = MagickTrue" (field_expression "iterator->active" identifier -> field_identifier) = identifier) ;) (expression_statement "pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception);" (assignment_expression "pixel = (Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception)" identifier = (cast_expression "(Quantum *)\n            GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception)" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewVirtualPixels\n                      (iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception)" identifier (argument_list "(iterator->view,(iterator->region).x,iterator->y + (iterator->region).y,\n                       (iterator->region).width,1,iterator->exception)" ( (field_expression "iterator->view" identifier -> field_identifier) , (field_expression "(iterator->region).x" (parenthesized_expression "(iterator->region)" ( (field_expression "iterator->region" identifier -> field_identifier) )) . field_identifier) , (binary_expression "iterator->y + (iterator->region).y" (field_expression "iterator->y" identifier -> field_identifier) + (field_expression "(iterator->region).y" (parenthesized_expression "(iterator->region)" ( (field_expression "iterator->region" identifier -> field_identifier) )) . field_identifier)) , (field_expression "(iterator->region).width" (parenthesized_expression "(iterator->region)" ( (field_expression "iterator->region" identifier -> field_identifier) )) . field_identifier) , number_literal , (field_expression "iterator->exception" identifier -> field_identifier) ))))) ;) (if_statement "if (pixel == (Quantum *)0x0) {\n      ppPVar3 = (PixelWand **)0x0;\n    }\n    else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }" if (parenthesized_expression "(pixel == (Quantum *)0x0)" ( (binary_expression "pixel == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ppPVar3 = (PixelWand **)0x0;\n    }" { (expression_statement "ppPVar3 = (PixelWand **)0x0;" (assignment_expression "ppPVar3 = (PixelWand **)0x0" identifier = (cast_expression "(PixelWand **)0x0" ( (type_descriptor "PixelWand **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) }) (else_clause "else {\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }" else (compound_statement "{\n      sVar2 = (iterator->region).width;\n      if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }\n      *number_wands = sVar2;\n      ppPVar3 = iterator->pixel_wands;\n    }" { (expression_statement "sVar2 = (iterator->region).width;" (assignment_expression "sVar2 = (iterator->region).width" identifier = (field_expression "(iterator->region).width" (parenthesized_expression "(iterator->region)" ( (field_expression "iterator->region" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (0 < (int)sVar2) {\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }" if (parenthesized_expression "(0 < (int)sVar2)" ( (binary_expression "0 < (int)sVar2" number_literal < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pCVar4 = iterator->view;\n        iVar5 = 0;\n        do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);\n      }" { (expression_statement "pCVar4 = iterator->view;" (assignment_expression "pCVar4 = iterator->view" identifier = (field_expression "iterator->view" identifier -> field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        } while (iVar5 < (int)sVar2);" do (compound_statement "{\n          image = (Image *)GetCacheViewImage(pCVar4);\n          ppPVar3 = iterator->pixel_wands + iVar5;\n          iVar5 = iVar5 + 1;\n          PixelSetQuantumPixel(image,pixel,*ppPVar3);\n          pCVar4 = iterator->view;\n          iVar1 = GetCacheViewImage(pCVar4);\n          pixel = pixel + *(int *)(iVar1 + 0x298);\n          sVar2 = (iterator->region).width;\n        }" { (expression_statement "image = (Image *)GetCacheViewImage(pCVar4);" (assignment_expression "image = (Image *)GetCacheViewImage(pCVar4)" identifier = (cast_expression "(Image *)GetCacheViewImage(pCVar4)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewImage(pCVar4)" identifier (argument_list "(pCVar4)" ( identifier ))))) ;) (expression_statement "ppPVar3 = iterator->pixel_wands + iVar5;" (assignment_expression "ppPVar3 = iterator->pixel_wands + iVar5" identifier = (binary_expression "iterator->pixel_wands + iVar5" (field_expression "iterator->pixel_wands" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "PixelSetQuantumPixel(image,pixel,*ppPVar3);" (call_expression "PixelSetQuantumPixel(image,pixel,*ppPVar3)" identifier (argument_list "(image,pixel,*ppPVar3)" ( identifier , identifier , (pointer_expression "*ppPVar3" * identifier) ))) ;) (expression_statement "pCVar4 = iterator->view;" (assignment_expression "pCVar4 = iterator->view" identifier = (field_expression "iterator->view" identifier -> field_identifier)) ;) (expression_statement "iVar1 = GetCacheViewImage(pCVar4);" (assignment_expression "iVar1 = GetCacheViewImage(pCVar4)" identifier = (call_expression "GetCacheViewImage(pCVar4)" identifier (argument_list "(pCVar4)" ( identifier )))) ;) (expression_statement "pixel = pixel + *(int *)(iVar1 + 0x298);" (assignment_expression "pixel = pixel + *(int *)(iVar1 + 0x298)" identifier = (binary_expression "pixel + *(int *)(iVar1 + 0x298)" identifier + (pointer_expression "*(int *)(iVar1 + 0x298)" * (cast_expression "(int *)(iVar1 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x298)" ( (binary_expression "iVar1 + 0x298" identifier + number_literal) )))))) ;) (expression_statement "sVar2 = (iterator->region).width;" (assignment_expression "sVar2 = (iterator->region).width" identifier = (field_expression "(iterator->region).width" (parenthesized_expression "(iterator->region)" ( (field_expression "iterator->region" identifier -> field_identifier) )) . field_identifier)) ;) }) while (parenthesized_expression "(iVar5 < (int)sVar2)" ( (binary_expression "iVar5 < (int)sVar2" identifier < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "*number_wands = sVar2;" (assignment_expression "*number_wands = sVar2" (pointer_expression "*number_wands" * identifier) = identifier) ;) (expression_statement "ppPVar3 = iterator->pixel_wands;" (assignment_expression "ppPVar3 = iterator->pixel_wands" identifier = (field_expression "iterator->pixel_wands" identifier -> field_identifier)) ;) }))) (return_statement "return ppPVar3;" return identifier ;) })) comment (expression_statement "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })))
(translation_unit "undefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}\n\n" (function_definition "undefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" type_identifier (function_declarator "PixelGetCurrentIteratorRow(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" { (expression_statement "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator != (PixelIterator *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x102c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x102c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x102c)" * (cast_expression "(int *)(param_1 + 0x102c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x102c)" ( (binary_expression "param_1 + 0x102c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" * (cast_expression "(int *)(param_1 + 0x1028)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1028)" ( (binary_expression "param_1 + 0x1028" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x101c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x101c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x101c)" * (cast_expression "(undefined4 *)(param_1 + 0x101c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));" (assignment_expression "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" identifier = (call_expression "GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x1014)" * (cast_expression "(undefined4 *)(param_1 + 0x1014)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1014)" ( (binary_expression "param_1 + 0x1014" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018)" (pointer_expression "*(int *)(param_1 + 0x1020)" * (cast_expression "(int *)(param_1 + 0x1020)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1020)" ( (binary_expression "param_1 + 0x1020" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) ))))) , (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) )))) , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" else (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" identifier = (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" { (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);" do (compound_statement "{\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        }" { (expression_statement "uVar2 = GetCacheViewImage(uVar2);" (assignment_expression "uVar2 = GetCacheViewImage(uVar2)" identifier = (call_expression "GetCacheViewImage(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));" (call_expression "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" identifier (argument_list "(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar3)" ( (binary_expression "*(int *)(param_1 + 0x1024) + iVar3" (pointer_expression "*(int *)(param_1 + 0x1024)" * (cast_expression "(int *)(param_1 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) )))) + identifier) )))) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = GetCacheViewImage(uVar2);" (assignment_expression "iVar3 = GetCacheViewImage(uVar2)" identifier = (call_expression "GetCacheViewImage(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;" (assignment_expression "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8" identifier = (binary_expression "iVar1 + *(int *)(iVar3 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar3 + 0x298) * 8" (pointer_expression "*(int *)(iVar3 + 0x298)" * (cast_expression "(int *)(iVar3 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x298)" ( (binary_expression "iVar3 + 0x298" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" identifier = (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar4 < iVar3)" ( (binary_expression "iVar4 < iVar3" identifier < identifier) )) ;) })) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1024);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1024)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1024)" * (cast_expression "(undefined4 *)(param_1 + 0x1024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" identifier (argument_list "("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" ( (string_literal ""iterator->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""PixelGetCurrentIteratorRow"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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 { (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 , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 PixelGetCurrentIteratorRow(int param_1,int *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" (type_identifier "undefined4") (function_declarator "PixelGetCurrentIteratorRow(int param_1,int *param_2)" (identifier "PixelGetCurrentIteratorRow") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }\n  if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");\n  }" ({ "{") (expression_statement "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" (identifier "__assert_fail") (argument_list "("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,\n                  "PixelGetCurrentIteratorRow")" (( "(") (string_literal ""iterator != (PixelIterator *) NULL"" (" """) (string_content "iterator != (PixelIterator *) NULL") (" """)) (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (number_literal "0x1f1") (, ",") (string_literal ""PixelGetCurrentIteratorRow"" (" """) (string_content "PixelGetCurrentIteratorRow") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x102c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x102c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x102c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x102c)" (* "*") (cast_expression "(int *)(param_1 + 0x102c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x102c)" (( "(") (binary_expression "param_1 + 0x102c" (identifier "param_1") (+ "+") (number_literal "0x102c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }\n    *param_2 = 0;\n    *(undefined4 *)(param_1 + 0x101c) = 1;\n    iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" (* "*") (cast_expression "(int *)(param_1 + 0x1028)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1028)" (( "(") (binary_expression "param_1 + 0x1028" (identifier "param_1") (+ "+") (number_literal "0x1028")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",\n                     param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""PixelGetCurrentIteratorRow"" (" """) (string_content "PixelGetCurrentIteratorRow") (" """)) (, ",") (number_literal "500") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x101c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x101c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x101c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x101c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));" (assignment_expression "iVar1 = GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" (identifier "iVar1") (= "=") (call_expression "GetCacheViewVirtualPixels\n                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" (identifier "GetCacheViewVirtualPixels") (argument_list "(*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),\n                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),\n                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x1014)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1014)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1014)" (( "(") (binary_expression "param_1 + 0x1014" (identifier "param_1") (+ "+") (number_literal "0x1014")) () ")")))) (, ",") (binary_expression "*(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018)" (pointer_expression "*(int *)(param_1 + 0x1020)" (* "*") (cast_expression "(int *)(param_1 + 0x1020)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1020)" (( "(") (binary_expression "param_1 + 0x1020" (identifier "param_1") (+ "+") (number_literal "0x1020")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x1018)" (* "*") (cast_expression "(int *)(param_1 + 0x1018)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1018)" (( "(") (binary_expression "param_1 + 0x1018" (identifier "param_1") (+ "+") (number_literal "0x1018")) () ")"))))) (, ",") (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")) () ")")))) (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" (else "else") (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x100c);\n      if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }\n      *param_2 = iVar3;\n      uVar2 = *(undefined4 *)(param_1 + 0x1024);\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x100c)" (* "*") (cast_expression "(int *)(param_1 + 0x100c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")"))))) (; ";")) (if_statement "if (0 < iVar3) {\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n        uVar2 = *(undefined4 *)(param_1 + 0x1008);\n        iVar4 = 0;\n        do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);\n      }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")"))))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        } while (iVar4 < iVar3);" (do "do") (compound_statement "{\n          uVar2 = GetCacheViewImage(uVar2);\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + 1;\n          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));\n          uVar2 = *(undefined4 *)(param_1 + 0x1008);\n          iVar3 = GetCacheViewImage(uVar2);\n          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;\n          iVar3 = *(int *)(param_1 + 0x100c);\n        }" ({ "{") (expression_statement "uVar2 = GetCacheViewImage(uVar2);" (assignment_expression "uVar2 = GetCacheViewImage(uVar2)" (identifier "uVar2") (= "=") (call_expression "GetCacheViewImage(uVar2)" (identifier "GetCacheViewImage") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" (identifier "iVar3") (= "=") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));" (call_expression "PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" (identifier "PixelSetQuantumPixel") (argument_list "(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3))" (( "(") (identifier "uVar2") (, ",") (identifier "iVar1") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar3)" (( "(") (binary_expression "*(int *)(param_1 + 0x1024) + iVar3" (pointer_expression "*(int *)(param_1 + 0x1024)" (* "*") (cast_expression "(int *)(param_1 + 0x1024)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1024)" (( "(") (binary_expression "param_1 + 0x1024" (identifier "param_1") (+ "+") (number_literal "0x1024")) () ")")))) (+ "+") (identifier "iVar3")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1008);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1008)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")"))))) (; ";")) (expression_statement "iVar3 = GetCacheViewImage(uVar2);" (assignment_expression "iVar3 = GetCacheViewImage(uVar2)" (identifier "iVar3") (= "=") (call_expression "GetCacheViewImage(uVar2)" (identifier "GetCacheViewImage") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;" (assignment_expression "iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + *(int *)(iVar3 + 0x298) * 8" (identifier "iVar1") (+ "+") (binary_expression "*(int *)(iVar3 + 0x298) * 8" (pointer_expression "*(int *)(iVar3 + 0x298)" (* "*") (cast_expression "(int *)(iVar3 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x298)" (( "(") (binary_expression "iVar3 + 0x298" (identifier "iVar3") (+ "+") (number_literal "0x298")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x100c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x100c)" (* "*") (cast_expression "(int *)(param_1 + 0x100c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < iVar3)" (( "(") (binary_expression "iVar4 < iVar3" (identifier "iVar4") (< "<") (identifier "iVar3")) () ")")) (; ";")) (} "}"))) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x1024);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x1024)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x1024)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1024)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1024)" (( "(") (binary_expression "param_1 + 0x1024" (identifier "param_1") (+ "+") (number_literal "0x1024")) () ")"))))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow");" (call_expression "__assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" (identifier "__assert_fail") (argument_list "("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,\n                "PixelGetCurrentIteratorRow")" (( "(") (string_literal ""iterator->signature == MagickWandSignature"" (" """) (string_content "iterator->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (number_literal "0x1f2") (, ",") (string_literal ""PixelGetCurrentIteratorRow"" (" """) (string_content "PixelGetCurrentIteratorRow") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

type_1 ** function_1(type_2 *var_1,size_t *number_wands)

{
  type_3 *var_6;
  type_4 *image;
  int var_10;
  size_t sVar2;
  type_1 **ppPVar3;
  type_5 *pCVar4;
  int var_8;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,
                  "PixelGetCurrentIteratorRow");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/pixel-iterator.c","PixelGetCurrentIteratorRow",500,"%s",
                     var_1->name);
    }
    *number_wands = 0;
    var_1->active = MagickTrue;
    var_6 = (type_3 *)
            var_5
                      (var_1->view,(var_1->region).x,var_1->y + (var_1->region).y,
                       (var_1->region).width,1,var_1->exception);
    if (var_6 == (type_3 *)0x0) {
      ppPVar3 = (type_1 **)0x0;
    }
    else {
      sVar2 = (var_1->region).width;
      if (0 < (int)sVar2) {
        pCVar4 = var_1->view;
        var_8 = 0;
        do {
          image = (type_4 *)var_7(pCVar4);
          ppPVar3 = var_1->pixel_wands + var_8;
          var_8 = var_8 + 1;
          var_9(image,var_6,*ppPVar3);
          pCVar4 = var_1->view;
          var_10 = var_7(pCVar4);
          var_6 = var_6 + *(int *)(var_10 + 0x298);
          sVar2 = (var_1->region).width;
        } while (var_8 < (int)sVar2);
      }
      *number_wands = sVar2;
      ppPVar3 = var_1->pixel_wands;
    }
    return ppPVar3;
  }
                    /* WARNING: Subroutine does not return */
  var_2("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,
                "PixelGetCurrentIteratorRow");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,int *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("iterator != (PixelIterator *) NULL","MagickWand/pixel-iterator.c",0x1f1,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x102c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1028) != 0) {
      LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","MASKED",500,"%s",
                     param_1 + 4);
    }
    *param_2 = 0;
    *(undefined4 *)(param_1 + 0x101c) = 1;
    iVar1 = GetCacheViewVirtualPixels
                      (*(undefined4 *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1014),
                       *(int *)(param_1 + 0x1020) + *(int *)(param_1 + 0x1018),
                       *(undefined4 *)(param_1 + 0x100c),1,*(undefined4 *)(param_1 + 0x1004));
    if (iVar1 == 0) {
      uVar2 = 0;
    }
    else {
      iVar3 = *(int *)(param_1 + 0x100c);
      if (0 < iVar3) {
        uVar2 = *(undefined4 *)(param_1 + 0x1008);
        iVar4 = 0;
        do {
          uVar2 = GetCacheViewImage(uVar2);
          iVar3 = iVar4 * 4;
          iVar4 = iVar4 + 1;
          PixelSetQuantumPixel(uVar2,iVar1,*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar3));
          uVar2 = *(undefined4 *)(param_1 + 0x1008);
          iVar3 = GetCacheViewImage(uVar2);
          iVar1 = iVar1 + *(int *)(iVar3 + 0x298) * 8;
          iVar3 = *(int *)(param_1 + 0x100c);
        } while (iVar4 < iVar3);
      }
      *param_2 = iVar3;
      uVar2 = *(undefined4 *)(param_1 + 0x1024);
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("iterator->signature == MagickWandSignature","MagickWand/pixel-iterator.c",0x1f2,
                "MASKED");
}

