
/* 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 MagickSetSize(MagickWand *wand,size_t columns,size_t rows)

{
  int iVar1;
  int in_GS_OFFSET;
  char geometry [4096];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"
                 );
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);
    }
    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);
    CloneString();
    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
      return MagickTrue;
    }
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,
                "MagickSetSize");
}



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

undefined4 MagickSetSize(int param_1,uint param_2,uint param_3)

{
  int in_GS_OFFSET;
  undefined1 local_1010 [4096];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"
                 );
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);
    }
    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);
    CloneString();
    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
      return 1;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000e7d60();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,
                "MagickSetSize");
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001e920
ADD EBX,0xe0e98
SUB ESP,0x1020
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x101c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x1030]
TEST ESI,ESI
JZ 0x00089278
CMP dword ptr [ESI + 0x101c],0xabacadab
JNZ 0x00089259
MOV EAX,dword ptr [ESI + 0x1018]
TEST EAX,EAX
JZ 0x000891da
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff91a64]
PUSH EAX
LEA EAX,[EBX + 0xfff90bb0]
PUSH 0xb58
PUSH EAX
LEA EAX,[EBX + 0xfff90b28]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
SUB ESP,0x14
XOR EDX,EDX
MOV EAX,dword ptr [ESP + 0x104c]
MOV dword ptr [ESP + 0x18],EDX
XOR EDX,EDX
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x1048]
FILD qword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x18],EDX
FSTP qword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0xfff88c98]
FILD qword ptr [ESP + 0x14]
FSTP qword ptr [ESP]
PUSH EAX
PUSH 0x1000
LEA EDI,[ESP + 0x38]
PUSH EDI
CALL 0x0001e2f0
MOV EAX,dword ptr [ESI + 0x1008]
ADD ESP,0x18
PUSH EDI
ADD EAX,0x18
PUSH EAX
CALL 0x0001d0a0
ADD ESP,0x10
MOV EAX,0x1
MOV ECX,dword ptr [ESP + 0x101c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x00089297
ADD ESP,0x1020
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xfff90bc0]
PUSH EAX
LEA EAX,[EBX + 0xfff90b28]
PUSH 0xb56
PUSH EAX
LEA EAX,[EBX + 0xfff8d4b8]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff90bc0]
PUSH EAX
LEA EAX,[EBX + 0xfff90b28]
PUSH 0xb55
PUSH EAX
LEA EAX,[EBX + 0xfff8d3f3]
PUSH EAX
CALL 0x0001ccf0
CALL 0x000e7d60
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 MagickSetSize(int param_1,uint param_2,uint param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000e7d60();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}\n\n" comment (function_definition "undefined4 MagickSetSize(int param_1,uint param_2,uint param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000e7d60();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" type_identifier (function_declarator "MagickSetSize(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000e7d60();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_1010 [4096];" type_identifier (array_declarator "local_1010 [4096]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (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-property.c",0xb55,"MagickSetSize"\n                 );\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000e7d60();\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000e7d60();\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickSetSize"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);" (call_expression "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" identifier (argument_list "(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" ( identifier , number_literal , (string_literal ""%.20gx%.20g"" " string_content ") , (cast_expression "(double)param_2" ( (type_descriptor "double" primitive_type) ) identifier) , (cast_expression "(double)param_3" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "CloneString();" (call_expression "CloneString()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\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      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " 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 MagickSetSize(MagickWand *wand,size_t columns,size_t rows)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  char geometry [4096];\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }\n    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);\n    CloneString();\n    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}\n\n" comment comment comment comment comment comment comment (function_definition "MagickBooleanType MagickSetSize(MagickWand *wand,size_t columns,size_t rows)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  char geometry [4096];\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }\n    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);\n    CloneString();\n    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" type_identifier (function_declarator "MagickSetSize(MagickWand *wand,size_t columns,size_t rows)" identifier (parameter_list "(MagickWand *wand,size_t columns,size_t rows)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "size_t columns" primitive_type identifier) , (parameter_declaration "size_t rows" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  char geometry [4096];\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }\n    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);\n    CloneString();\n    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char geometry [4096];" primitive_type (array_declarator "geometry [4096]" identifier [ number_literal ]) ;) (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-property.c",0xb55,"MagickSetSize"\n                 );\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }\n    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);\n    CloneString();\n    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }\n    FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);\n    CloneString();\n    if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",wand->name)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickSetSize"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);" (call_expression "FormatLocaleString(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows)" identifier (argument_list "(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows)" ( identifier , number_literal , (string_literal ""%.20gx%.20g"" " string_content ") , (cast_expression "(double)columns" ( (type_descriptor "double" primitive_type) ) identifier) , (cast_expression "(double)rows" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "CloneString();" (call_expression "CloneString()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return MagickTrue;\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      return MagickTrue;\n    }" { (return_statement "return MagickTrue;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " string_content ") ))) ;) })))
(translation_unit "undefined4 MagickSetSize(int param_1,uint param_2,uint param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}\n\n" (function_definition "undefined4 MagickSetSize(int param_1,uint param_2,uint param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" type_identifier (function_declarator "MagickSetSize(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_1010 [4096];" type_identifier (array_declarator "local_1010 [4096]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (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-property.c",0xb55,"MagickSetSize"\n                 );\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }" { (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-property.c"" " string_content ") , (string_literal ""MagickSetSize"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);" (call_expression "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" identifier (argument_list "(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" ( identifier , number_literal , (string_literal ""%.20gx%.20g"" " string_content ") , (cast_expression "(double)param_2" ( (type_descriptor "double" primitive_type) ) identifier) , (cast_expression "(double)param_3" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "CloneString();" (call_expression "CloneString()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\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      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-property.c"" " string_content ") , number_literal , (string_literal ""MagickSetSize"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (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 (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 (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 MagickSetSize(int param_1,uint param_2,uint param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" (type_identifier "undefined4") (function_declarator "MagickSetSize(int param_1,uint param_2,uint param_3)" (identifier "MagickSetSize") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_1010 [4096];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );\n  }\n  if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 local_1010 [4096];" (type_identifier "undefined1") (array_declarator "local_1010 [4096]" (identifier "local_1010") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (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-property.c",0xb55,"MagickSetSize"\n                 );\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-property.c",0xb55,"MagickSetSize"\n                 );\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 );" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"\n                 )" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (number_literal "0xb55") (, ",") (string_literal ""MagickSetSize"" (" """) (string_content "MagickSetSize") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }\n    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);\n    CloneString();\n    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\n    }\n                    \n    FUN_000e7d60();\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\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      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (string_literal ""MagickSetSize"" (" """) (string_content "MagickSetSize") (" """)) (, ",") (number_literal "0xb58") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (expression_statement "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);" (call_expression "FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" (identifier "FormatLocaleString") (argument_list "(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3)" (( "(") (identifier "local_1010") (, ",") (number_literal "0x1000") (, ",") (string_literal ""%.20gx%.20g"" (" """) (string_content "%.20gx%.20g") (" """)) (, ",") (cast_expression "(double)param_2" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "param_2")) (, ",") (cast_expression "(double)param_3" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "CloneString();" (call_expression "CloneString()" (identifier "CloneString") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n      return 1;\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      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" (identifier "FUN_000e7d60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,\n                "MagickSetSize")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/magick-property.c"" (" """) (string_content "MagickWand/magick-property.c") (" """)) (, ",") (number_literal "0xb56") (, ",") (string_literal ""MagickSetSize"" (" """) (string_content "MagickSetSize") (" """)) () ")"))) (; ";")) (} "}")))

/* 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 columns,size_t rows)

{
  int var_8;
  int var_1;
  char geometry [4096];
  
  var_8 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MagickSetSize"
                 );
  }
  if (var_2->signature == 0xabacadab) {
    if (var_2->debug != var_4) {
      var_5(0x40000,"MagickWand/magick-property.c","MagickSetSize",0xb58,"%s",var_2->name);
    }
    var_6(geometry,0x1000,"%.20gx%.20g",(double)columns,(double)rows);
    var_7();
    if (var_8 == *(int *)(var_1 + 0x14)) {
      return MagickTrue;
    }
                    /* WARNING: Subroutine does not return */
    var_9();
  }
                    /* WARNING: Subroutine does not return */
  var_3("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,
                "MagickSetSize");
}


(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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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 (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (string_literal (string_content)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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 (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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,uint param_2,uint param_3)

{
  int in_GS_OFFSET;
  undefined1 local_1010 [4096];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-property.c",0xb55,"MASKED"
                 );
  }
  if (*(int *)(param_1 + 0x101c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1018) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-property.c","MASKED",0xb58,"%s",param_1 + 4);
    }
    FormatLocaleString(local_1010,0x1000,"%.20gx%.20g",(double)param_2,(double)param_3);
    CloneString();
    if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
      return 1;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000e7d60();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-property.c",0xb56,
                "MASKED");
}

