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

MagickBooleanType
MagickRaiseImage(MagickWand *wand,size_t width,size_t height,ssize_t x,ssize_t y,
                MagickBooleanType raise)

{
  int iVar1;
  Image *pIVar2;
  ExceptionInfo *pEVar3;
  MagickBooleanType MVar4;
  int in_GS_OFFSET;
  RectangleInfo raise_info;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,
                  "MagickRaiseImage");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug == MagickFalse) {
      pIVar2 = wand->images;
      pEVar3 = wand->exception;
    }
    else {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);
      pIVar2 = wand->images;
      pEVar3 = wand->exception;
    }
    if (pIVar2 == (Image *)0x0) {
      ThrowMagickException
                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,
                 "ContainsNoImages",&DAT_000e672e,wand->name);
      MVar4 = MagickFalse;
    }
    else {
      raise_info.width = width;
      raise_info.height = height;
      raise_info.x = x;
      raise_info.y = y;
      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);
    }
    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    return MVar4;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,
                "MagickRaiseImage");
}



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

undefined4
MagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6)

{
  int iVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x7a647;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,
                  "MagickRaiseImage");
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) == 0) {
      iVar1 = *(int *)(param_1 + 0x1004);
      uVar2 = *(undefined4 *)(param_1 + 0x100c);
    }
    else {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)
      ;
      iVar1 = *(int *)(param_1 + 0x1004);
      uVar2 = *(undefined4 *)(param_1 + 0x100c);
    }
    if (iVar1 == 0) {
      ThrowMagickException
                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,
                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);
      uVar2 = 0;
    }
    else {
      local_20 = param_2;
      local_1c = param_3;
      local_18 = param_4;
      local_14 = param_5;
      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);
    }
    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_000e52a0();
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,
                "MagickRaiseImage");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0xeb9b9
SUB ESP,0x24
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x0007a780
CMP dword ptr [ESI + 0x101c],0xabacadab
JNZ 0x0007a761
MOV EAX,dword ptr [ESI + 0x1018]
TEST EAX,EAX
JNZ 0x0007a6e0
MOV EAX,dword ptr [ESI + 0x1004]
MOV EDX,dword ptr [ESI + 0x100c]
TEST EAX,EAX
JZ 0x0007a722
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x10],ECX
MOV ECX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP + 0x14],ECX
MOV ECX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x18],ECX
PUSH EDX
PUSH dword ptr [ESP + 0x48]
LEA EDX,[ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x0001cb60
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x0007a75c
ADD ESP,0x24
POP EBX
POP ESI
RET
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff8fe54]
PUSH 0x2264
PUSH EAX
LEA EAX,[EBX + 0xfff8e919]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
MOV EAX,dword ptr [ESI + 0x1004]
ADD ESP,0x20
MOV EDX,dword ptr [ESI + 0x100c]
TEST EAX,EAX
JNZ 0x0007a696
LEA EAX,[EBX + 0xfff8072e]
ADD ESI,0x4
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff884fe]
PUSH EAX
LEA EAX,[EBX + 0xfff8fe54]
PUSH 0x1d6
PUSH 0x2266
PUSH EAX
LEA EAX,[EBX + 0xfff8e919]
PUSH EAX
PUSH EDX
CALL 0x0001de10
ADD ESP,0x20
XOR EAX,EAX
JMP 0x0007a6c9
CALL 0x000e52a0
LEA EAX,[EBX + 0xfff8fe68]
PUSH EAX
LEA EAX,[EBX + 0xfff8e919]
PUSH 0x2262
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff8fe68]
PUSH EAX
LEA EAX,[EBX + 0xfff8e919]
PUSH 0x2261
PUSH EAX
LEA EAX,[EBX + 0xfff8e933]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nMagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}\n\n" comment (function_definition "undefined4\nMagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" type_identifier (function_declarator "MagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x7a647;" (assignment_expression "uStack_c = 0x7a647" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\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("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) == 0" (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) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" identifier = (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" else (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" identifier = (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }" { (expression_statement "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);" (call_expression "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" identifier (argument_list "(uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" ( identifier , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" else (compound_statement "{\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" { (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" identifier = identifier) ;) (expression_statement "local_1c = param_3;" (assignment_expression "local_1c = param_3" identifier = identifier) ;) (expression_statement "local_18 = param_4;" (assignment_expression "local_18 = param_4" identifier = identifier) ;) (expression_statement "local_14 = param_5;" (assignment_expression "local_14 = param_5" identifier = identifier) ;) (expression_statement "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);" (assignment_expression "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2)" identifier = (call_expression "RaiseImage(iVar1,&local_20,param_6,uVar2)" identifier (argument_list "(iVar1,&local_20,param_6,uVar2)" ( identifier , (pointer_expression "&local_20" & identifier) , identifier , identifier )))) ;) }))) (if_statement "if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }" if (parenthesized_expression "(local_10 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000e52a0();\n    }" { comment (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " 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 "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType\nMagickRaiseImage(MagickWand *wand,size_t width,size_t height,ssize_t x,ssize_t y,\n                MagickBooleanType raise)\n\n{\n  int iVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  MagickBooleanType MVar4;\n  int in_GS_OFFSET;\n  RectangleInfo raise_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}\n\n" comment comment comment comment comment comment comment (function_definition "MagickBooleanType\nMagickRaiseImage(MagickWand *wand,size_t width,size_t height,ssize_t x,ssize_t y,\n                MagickBooleanType raise)\n\n{\n  int iVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  MagickBooleanType MVar4;\n  int in_GS_OFFSET;\n  RectangleInfo raise_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" type_identifier (function_declarator "MagickRaiseImage(MagickWand *wand,size_t width,size_t height,ssize_t x,ssize_t y,\n                MagickBooleanType raise)" identifier (parameter_list "(MagickWand *wand,size_t width,size_t height,ssize_t x,ssize_t y,\n                MagickBooleanType raise)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "size_t width" primitive_type identifier) , (parameter_declaration "size_t height" primitive_type identifier) , (parameter_declaration "ssize_t x" primitive_type identifier) , (parameter_declaration "ssize_t y" primitive_type identifier) , (parameter_declaration "MagickBooleanType raise" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  MagickBooleanType MVar4;\n  int in_GS_OFFSET;\n  RectangleInfo raise_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "ExceptionInfo *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "MagickBooleanType MVar4;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "RectangleInfo raise_info;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar4;\n  }" if (parenthesized_expression "(wand->signature == 0xabacadab)" ( (binary_expression "wand->signature == 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }\n    if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    return MVar4;\n  }" { (if_statement "if (wand->debug == MagickFalse) {\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }" if (parenthesized_expression "(wand->debug == MagickFalse)" ( (binary_expression "wand->debug == MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }" { (expression_statement "pIVar2 = wand->images;" (assignment_expression "pIVar2 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (expression_statement "pEVar3 = wand->exception;" (assignment_expression "pEVar3 = wand->exception" identifier = (field_expression "wand->exception" identifier -> field_identifier)) ;) }) (else_clause "else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }" else (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);\n      pIVar2 = wand->images;\n      pEVar3 = wand->exception;\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",wand->name)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "pIVar2 = wand->images;" (assignment_expression "pIVar2 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (expression_statement "pEVar3 = wand->exception;" (assignment_expression "pEVar3 = wand->exception" identifier = (field_expression "wand->exception" identifier -> field_identifier)) ;) }))) (if_statement "if (pIVar2 == (Image *)0x0) {\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }\n    else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }" if (parenthesized_expression "(pIVar2 == (Image *)0x0)" ( (binary_expression "pIVar2 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);\n      MVar4 = MagickFalse;\n    }" { (expression_statement "ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name);" (call_expression "ThrowMagickException\n                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name)" identifier (argument_list "(pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,wand->name)" ( identifier , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "MVar4 = MagickFalse;" (assignment_expression "MVar4 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }" else (compound_statement "{\n      raise_info.width = width;\n      raise_info.height = height;\n      raise_info.x = x;\n      raise_info.y = y;\n      MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);\n    }" { (expression_statement "raise_info.width = width;" (assignment_expression "raise_info.width = width" (field_expression "raise_info.width" identifier . field_identifier) = identifier) ;) (expression_statement "raise_info.height = height;" (assignment_expression "raise_info.height = height" (field_expression "raise_info.height" identifier . field_identifier) = identifier) ;) (expression_statement "raise_info.x = x;" (assignment_expression "raise_info.x = x" (field_expression "raise_info.x" identifier . field_identifier) = identifier) ;) (expression_statement "raise_info.y = y;" (assignment_expression "raise_info.y = y" (field_expression "raise_info.y" identifier . field_identifier) = identifier) ;) (expression_statement "MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3);" (assignment_expression "MVar4 = RaiseImage(pIVar2,&raise_info,raise,pEVar3)" identifier = (call_expression "RaiseImage(pIVar2,&raise_info,raise,pEVar3)" identifier (argument_list "(pIVar2,&raise_info,raise,pEVar3)" ( identifier , (pointer_expression "&raise_info" & identifier) , identifier , identifier )))) ;) }))) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return MVar4;" return identifier ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " string_content ") ))) ;) })))
(translation_unit "undefined4\nMagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}\n\n" (function_definition "undefined4\nMagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" type_identifier (function_declarator "MagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x7a647;" (assignment_expression "uStack_c = 0x7a647" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) == 0" (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) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" identifier = (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" else (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" identifier = (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }" { (expression_statement "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);" (call_expression "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" identifier (argument_list "(uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" ( identifier , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickRaiseImage"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" else (compound_statement "{\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" { (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" identifier = identifier) ;) (expression_statement "local_1c = param_3;" (assignment_expression "local_1c = param_3" identifier = identifier) ;) (expression_statement "local_18 = param_4;" (assignment_expression "local_18 = param_4" identifier = identifier) ;) (expression_statement "local_14 = param_5;" (assignment_expression "local_14 = param_5" identifier = identifier) ;) (expression_statement "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);" (assignment_expression "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2)" identifier = (call_expression "RaiseImage(iVar1,&local_20,param_6,uVar2)" identifier (argument_list "(iVar1,&local_20,param_6,uVar2)" ( identifier , (pointer_expression "&local_20" & identifier) , identifier , identifier )))) ;) }))) (if_statement "if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }" if (parenthesized_expression "(local_10 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n      FUN_000e52a0();\n    }" { (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickRaiseImage"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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\nMagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" (type_identifier "undefined4") (function_declarator "MagickRaiseImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" (identifier "MagickRaiseImage") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x7a647;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x7a647;" (assignment_expression "uStack_c = 0x7a647" (identifier "uStack_c") (= "=") (number_literal "0x7a647")) (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\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("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,\n                  "MagickRaiseImage")" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (number_literal "0x2261") (, ",") (string_literal ""MagickRaiseImage"" (" """) (string_content "MagickRaiseImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }\n    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1018) == 0) {\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }\n    else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1018) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1018) == 0" (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")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x1004)" (* "*") (cast_expression "(int *)(param_1 + 0x1004)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" (identifier "uVar2") (= "=") (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")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" (else "else") (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;\n      iVar1 = *(int *)(param_1 + 0x1004);\n      uVar2 = *(undefined4 *)(param_1 + 0x100c);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)\n      ;" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (string_literal ""MagickRaiseImage"" (" """) (string_content "MagickRaiseImage") (" """)) (, ",") (number_literal "0x2264") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x1004);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1004)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x1004)" (* "*") (cast_expression "(int *)(param_1 + 0x1004)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x100c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x100c)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) {\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }\n    else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);" (call_expression "ThrowMagickException\n                (uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" (identifier "ThrowMagickException") (argument_list "(uVar2,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,\n                 "ContainsNoImages",&DAT_000e672e,param_1 + 4)" (( "(") (identifier "uVar2") (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (string_literal ""MagickRaiseImage"" (" """) (string_content "MagickRaiseImage") (" """)) (, ",") (number_literal "0x2266") (, ",") (number_literal "0x1d6") (, ",") (string_literal ""ContainsNoImages"" (" """) (string_content "ContainsNoImages") (" """)) (, ",") (pointer_expression "&DAT_000e672e" (& "&") (identifier "DAT_000e672e")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" (else "else") (compound_statement "{\n      local_20 = param_2;\n      local_1c = param_3;\n      local_18 = param_4;\n      local_14 = param_5;\n      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);\n    }" ({ "{") (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" (identifier "local_20") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_1c = param_3;" (assignment_expression "local_1c = param_3" (identifier "local_1c") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_18 = param_4;" (assignment_expression "local_18 = param_4" (identifier "local_18") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_14 = param_5;" (assignment_expression "local_14 = param_5" (identifier "local_14") (= "=") (identifier "param_5")) (; ";")) (expression_statement "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);" (assignment_expression "uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2)" (identifier "uVar2") (= "=") (call_expression "RaiseImage(iVar1,&local_20,param_6,uVar2)" (identifier "RaiseImage") (argument_list "(iVar1,&local_20,param_6,uVar2)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (identifier "param_6") (, ",") (identifier "uVar2") () ")")))) (; ";")) (} "}")))) (if_statement "if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_000e52a0();\n    }" (if "if") (parenthesized_expression "(local_10 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n      FUN_000e52a0();\n    }" ({ "{") (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" (identifier "FUN_000e52a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,\n                "MagickRaiseImage")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (number_literal "0x2262") (, ",") (string_literal ""MagickRaiseImage"" (" """) (string_content "MagickRaiseImage") (" """)) () ")"))) (; ";")) (} "}")))

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

type_1
function_1(type_2 *var_2,size_t width,size_t height,ssize_t x,ssize_t y,
                type_1 raise)

{
  int var_9;
  type_3 *var_6;
  type_4 *pEVar3;
  type_1 MVar4;
  int var_1;
  type_5 raise_info;
  
  var_9 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,
                  "MagickRaiseImage");
  }
  if (var_2->signature == 0xabacadab) {
    if (var_2->debug == var_4) {
      var_6 = var_2->images;
      pEVar3 = var_2->exception;
    }
    else {
      var_5(0x40000,"MagickWand/magick-image.c","MagickRaiseImage",0x2264,"%s",var_2->name);
      var_6 = var_2->images;
      pEVar3 = var_2->exception;
    }
    if (var_6 == (type_3 *)0x0) {
      var_7
                (pEVar3,"MagickWand/magick-image.c","MagickRaiseImage",0x2266,0x1d6,
                 "ContainsNoImages",&DAT_000e672e,var_2->name);
      MVar4 = var_4;
    }
    else {
      raise_info.width = width;
      raise_info.height = height;
      raise_info.x = x;
      raise_info.y = y;
      MVar4 = var_8(var_6,&raise_info,raise,pEVar3);
    }
    if (var_9 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
      var_10();
    }
    return MVar4;
  }
                    /* WARNING: Subroutine does not return */
  var_3("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,
                "MagickRaiseImage");
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (number_literal) (string_literal (string_content)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6)

{
  int iVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x7a647;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x2261,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) == 0) {
      iVar1 = *(int *)(param_1 + 0x1004);
      uVar2 = *(undefined4 *)(param_1 + 0x100c);
    }
    else {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MASKED",0x2264,"%s",param_1 + 4)
      ;
      iVar1 = *(int *)(param_1 + 0x1004);
      uVar2 = *(undefined4 *)(param_1 + 0x100c);
    }
    if (iVar1 == 0) {
      ThrowMagickException
                (uVar2,"MagickWand/magick-image.c","MASKED",0x2266,0x1d6,
                 "ContainsNoImages",&DAT_000e672e,param_1 + 4);
      uVar2 = 0;
    }
    else {
      local_20 = param_2;
      local_1c = param_3;
      local_18 = param_4;
      local_14 = param_5;
      uVar2 = RaiseImage(iVar1,&local_20,param_6,uVar2);
    }
    if (local_10 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_000e52a0();
    }
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x2262,
                "MASKED");
}

