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

MagickBooleanType FxPreprocessExpression(FxInfo *fx_info,double *alpha,ExceptionInfo *exception)

{
  FILE *pFVar1;
  MagickBooleanType status;
  MagickBooleanType MVar2;
  
  pFVar1 = fx_info->file;
  fx_info->file = (FILE *)0x0;
  MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception);
  fx_info->file = pFVar1;
  return MVar2;
}



void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)

{
  undefined8 uVar1;
  
  uVar1 = *(undefined8 *)(param_1 + 0x10);
  *(undefined8 *)(param_1 + 0x10) = 0;
  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);
  *(undefined8 *)(param_1 + 0x10) = uVar1;
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,RDI
MOV R8,RSI
MOV R9,RDX
MOV RBP,qword ptr [RDI + 0x10]
MOV qword ptr [RDI + 0x10],0x0
MOV ECX,0x0
MOV EDX,0x0
MOV ESI,0x0
CALL 0x0020bd0d
MOV qword ptr [RBX + 0x10],RBP
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}\n\n" (function_definition "void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" primitive_type (function_declarator "FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0020bd0d(param_1,0,0,0,param_2,param_3);" (call_expression "FUN_0020bd0d(param_1,0,0,0,param_2,param_3)" identifier (argument_list "(param_1,0,0,0,param_2,param_3)" ( identifier , number_literal , number_literal , number_literal , identifier , identifier ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nMagickBooleanType FxPreprocessExpression(FxInfo *fx_info,double *alpha,ExceptionInfo *exception)\n\n{\n  FILE *pFVar1;\n  MagickBooleanType status;\n  MagickBooleanType MVar2;\n  \n  pFVar1 = fx_info->file;\n  fx_info->file = (FILE *)0x0;\n  MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception);\n  fx_info->file = pFVar1;\n  return MVar2;\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType FxPreprocessExpression(FxInfo *fx_info,double *alpha,ExceptionInfo *exception)\n\n{\n  FILE *pFVar1;\n  MagickBooleanType status;\n  MagickBooleanType MVar2;\n  \n  pFVar1 = fx_info->file;\n  fx_info->file = (FILE *)0x0;\n  MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception);\n  fx_info->file = pFVar1;\n  return MVar2;\n}" type_identifier (function_declarator "FxPreprocessExpression(FxInfo *fx_info,double *alpha,ExceptionInfo *exception)" identifier (parameter_list "(FxInfo *fx_info,double *alpha,ExceptionInfo *exception)" ( (parameter_declaration "FxInfo *fx_info" type_identifier (pointer_declarator "*fx_info" * identifier)) , (parameter_declaration "double *alpha" primitive_type (pointer_declarator "*alpha" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  FILE *pFVar1;\n  MagickBooleanType status;\n  MagickBooleanType MVar2;\n  \n  pFVar1 = fx_info->file;\n  fx_info->file = (FILE *)0x0;\n  MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception);\n  fx_info->file = pFVar1;\n  return MVar2;\n}" { (declaration "FILE *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "MagickBooleanType status;" type_identifier identifier ;) (declaration "MagickBooleanType MVar2;" type_identifier identifier ;) (expression_statement "pFVar1 = fx_info->file;" (assignment_expression "pFVar1 = fx_info->file" identifier = (field_expression "fx_info->file" identifier -> field_identifier)) ;) (expression_statement "fx_info->file = (FILE *)0x0;" (assignment_expression "fx_info->file = (FILE *)0x0" (field_expression "fx_info->file" identifier -> field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception);" (assignment_expression "MVar2 = FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception)" identifier = (call_expression "FxEvaluateChannelExpression(fx_info,CyanPixelChannel,0,0,alpha,exception)" identifier (argument_list "(fx_info,CyanPixelChannel,0,0,alpha,exception)" ( identifier , identifier , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "fx_info->file = pFVar1;" (assignment_expression "fx_info->file = pFVar1" (field_expression "fx_info->file" identifier -> field_identifier) = identifier) ;) (return_statement "return MVar2;" return identifier ;) })))
(translation_unit "void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}\n\n" (function_definition "void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" primitive_type (function_declarator "FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0020bd0d(param_1,0,0,0,param_2,param_3);" (call_expression "FUN_0020bd0d(param_1,0,0,0,param_2,param_3)" identifier (argument_list "(param_1,0,0,0,param_2,param_3)" ( identifier , number_literal , number_literal , number_literal , identifier , identifier ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FxPreprocessExpression(long param_1,undefined8 param_2,undefined8 param_3)" (identifier "FxPreprocessExpression") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);\n  *(undefined8 *)(param_1 + 0x10) = uVar1;\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0020bd0d(param_1,0,0,0,param_2,param_3);" (call_expression "FUN_0020bd0d(param_1,0,0,0,param_2,param_3)" (identifier "FUN_0020bd0d") (argument_list "(param_1,0,0,0,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar1;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar1" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 function_1(type_2 *fx_info,double *alpha,type_3 *exception)

{
  type_4 *pFVar1;
  type_1 status;
  type_1 MVar2;
  
  pFVar1 = fx_info->file;
  fx_info->file = (type_4 *)0x0;
  MVar2 = var_1(fx_info,CyanPixelChannel,0,0,alpha,exception);
  fx_info->file = pFVar1;
  return MVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

void MASKED(long param_1,undefined8 param_2,undefined8 param_3)

{
  undefined8 uVar1;
  
  uVar1 = *(undefined8 *)(param_1 + 0x10);
  *(undefined8 *)(param_1 + 0x10) = 0;
  FUN_0020bd0d(param_1,0,0,0,param_2,param_3);
  *(undefined8 *)(param_1 + 0x10) = uVar1;
  return;
}

