
/* 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 */

size_t RegisterPGXImage(void)

{
  MagickInfo *magick_info;
  
  magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format");
  magick_info->decoder = ReadPGXImage;
  magick_info->encoder = WritePGXImage;
  magick_info->magick = IsPGX;
  magick_info->flags = magick_info->flags ^ 0x101;
  RegisterMagickInfo(magick_info);
  return 0x810;
}



undefined8 RegisterPGXImage(void)

{
  long lVar1;
  
  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");
  *(code **)(lVar1 + 0x30) = FUN_003970a3;
  *(code **)(lVar1 + 0x38) = FUN_00396c0d;
  *(code **)(lVar1 + 0x48) = FUN_00396bc3;
  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;
  RegisterMagickInfo(lVar1);
  return 0x810;
}


SUB RSP,0x8
LEA RDX,[0x475687]
LEA RSI,[0x432d6c]
MOV RDI,RSI
CALL 0x0014abf0
LEA RCX,[0x3970a3]
MOV qword ptr [RAX + 0x30],RCX
LEA RDX,[0x396c0d]
MOV qword ptr [RAX + 0x38],RDX
LEA RSI,[0x396bc3]
MOV qword ptr [RAX + 0x48],RSI
XOR dword ptr [RAX + 0x54],0x101
MOV RDI,RAX
CALL 0x0014cdb0
MOV EAX,0x810
ADD RSP,0x8
RET
(translation_unit "undefined8 RegisterPGXImage(void)\n\n{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}\n\n" (function_definition "undefined8 RegisterPGXImage(void)\n\n{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterPGXImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");" (assignment_expression "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" identifier = (call_expression "AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" identifier (argument_list "(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" ( (pointer_expression "&DAT_00432d6c" & identifier) , (pointer_expression "&DAT_00432d6c" & identifier) , (string_literal ""JPEG 2000 uncompressed format"" " string_content ") )))) ;) (expression_statement "*(code **)(lVar1 + 0x30) = FUN_003970a3;" (assignment_expression "*(code **)(lVar1 + 0x30) = FUN_003970a3" (pointer_expression "*(code **)(lVar1 + 0x30)" * (cast_expression "(code **)(lVar1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(lVar1 + 0x38) = FUN_00396c0d;" (assignment_expression "*(code **)(lVar1 + 0x38) = FUN_00396c0d" (pointer_expression "*(code **)(lVar1 + 0x38)" * (cast_expression "(code **)(lVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(lVar1 + 0x48) = FUN_00396bc3;" (assignment_expression "*(code **)(lVar1 + 0x48) = FUN_00396bc3" (pointer_expression "*(code **)(lVar1 + 0x48)" * (cast_expression "(code **)(lVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x48)" ( (binary_expression "lVar1 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;" (assignment_expression "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" * (cast_expression "(uint *)(lVar1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x54)" ( (binary_expression "lVar1 + 0x54" identifier + number_literal) )))) = (binary_expression "*(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" * (cast_expression "(uint *)(lVar1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x54)" ( (binary_expression "lVar1 + 0x54" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "RegisterMagickInfo(lVar1);" (call_expression "RegisterMagickInfo(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "/* 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\nsize_t RegisterPGXImage(void)\n\n{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format");\n  magick_info->decoder = ReadPGXImage;\n  magick_info->encoder = WritePGXImage;\n  magick_info->magick = IsPGX;\n  magick_info->flags = magick_info->flags ^ 0x101;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}\n\n" comment comment comment comment comment comment (function_definition "size_t RegisterPGXImage(void)\n\n{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format");\n  magick_info->decoder = ReadPGXImage;\n  magick_info->encoder = WritePGXImage;\n  magick_info->magick = IsPGX;\n  magick_info->flags = magick_info->flags ^ 0x101;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}" primitive_type (function_declarator "RegisterPGXImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format");\n  magick_info->decoder = ReadPGXImage;\n  magick_info->encoder = WritePGXImage;\n  magick_info->magick = IsPGX;\n  magick_info->flags = magick_info->flags ^ 0x101;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}" { (declaration "MagickInfo *magick_info;" type_identifier (pointer_declarator "*magick_info" * identifier) ;) (expression_statement "magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format");" (assignment_expression "magick_info = AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format")" identifier = (call_expression "AcquireMagickInfo("PGX","PGX","JPEG 2000 uncompressed format")" identifier (argument_list "("PGX","PGX","JPEG 2000 uncompressed format")" ( (string_literal ""PGX"" " string_content ") , (string_literal ""PGX"" " string_content ") , (string_literal ""JPEG 2000 uncompressed format"" " string_content ") )))) ;) (expression_statement "magick_info->decoder = ReadPGXImage;" (assignment_expression "magick_info->decoder = ReadPGXImage" (field_expression "magick_info->decoder" identifier -> field_identifier) = identifier) ;) (expression_statement "magick_info->encoder = WritePGXImage;" (assignment_expression "magick_info->encoder = WritePGXImage" (field_expression "magick_info->encoder" identifier -> field_identifier) = identifier) ;) (expression_statement "magick_info->magick = IsPGX;" (assignment_expression "magick_info->magick = IsPGX" (field_expression "magick_info->magick" identifier -> field_identifier) = identifier) ;) (expression_statement "magick_info->flags = magick_info->flags ^ 0x101;" (assignment_expression "magick_info->flags = magick_info->flags ^ 0x101" (field_expression "magick_info->flags" identifier -> field_identifier) = (binary_expression "magick_info->flags ^ 0x101" (field_expression "magick_info->flags" identifier -> field_identifier) ^ number_literal)) ;) (expression_statement "RegisterMagickInfo(magick_info);" (call_expression "RegisterMagickInfo(magick_info)" identifier (argument_list "(magick_info)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "undefined8 RegisterPGXImage(void)\n\n{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}\n\n" (function_definition "undefined8 RegisterPGXImage(void)\n\n{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterPGXImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");" (assignment_expression "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" identifier = (call_expression "AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" identifier (argument_list "(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" ( (pointer_expression "&DAT_00432d6c" & identifier) , (pointer_expression "&DAT_00432d6c" & identifier) , (string_literal ""JPEG 2000 uncompressed format"" " string_content ") )))) ;) (expression_statement "*(code **)(lVar1 + 0x30) = FUN_003970a3;" (assignment_expression "*(code **)(lVar1 + 0x30) = FUN_003970a3" (pointer_expression "*(code **)(lVar1 + 0x30)" * (cast_expression "(code **)(lVar1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(lVar1 + 0x38) = FUN_00396c0d;" (assignment_expression "*(code **)(lVar1 + 0x38) = FUN_00396c0d" (pointer_expression "*(code **)(lVar1 + 0x38)" * (cast_expression "(code **)(lVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(lVar1 + 0x48) = FUN_00396bc3;" (assignment_expression "*(code **)(lVar1 + 0x48) = FUN_00396bc3" (pointer_expression "*(code **)(lVar1 + 0x48)" * (cast_expression "(code **)(lVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x48)" ( (binary_expression "lVar1 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;" (assignment_expression "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" * (cast_expression "(uint *)(lVar1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x54)" ( (binary_expression "lVar1 + 0x54" identifier + number_literal) )))) = (binary_expression "*(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" * (cast_expression "(uint *)(lVar1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x54)" ( (binary_expression "lVar1 + 0x54" identifier + number_literal) )))) ^ number_literal)) ;) (expression_statement "RegisterMagickInfo(lVar1);" (call_expression "RegisterMagickInfo(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 RegisterPGXImage(void)\n\n{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" (type_identifier "undefined8") (function_declarator "RegisterPGXImage(void)" (identifier "RegisterPGXImage") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");\n  *(code **)(lVar1 + 0x30) = FUN_003970a3;\n  *(code **)(lVar1 + 0x38) = FUN_00396c0d;\n  *(code **)(lVar1 + 0x48) = FUN_00396bc3;\n  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;\n  RegisterMagickInfo(lVar1);\n  return 0x810;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");" (assignment_expression "lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" (identifier "lVar1") (= "=") (call_expression "AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" (identifier "AcquireMagickInfo") (argument_list "(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format")" (( "(") (pointer_expression "&DAT_00432d6c" (& "&") (identifier "DAT_00432d6c")) (, ",") (pointer_expression "&DAT_00432d6c" (& "&") (identifier "DAT_00432d6c")) (, ",") (string_literal ""JPEG 2000 uncompressed format"" (" """) (string_content "JPEG 2000 uncompressed format") (" """)) () ")")))) (; ";")) (expression_statement "*(code **)(lVar1 + 0x30) = FUN_003970a3;" (assignment_expression "*(code **)(lVar1 + 0x30) = FUN_003970a3" (pointer_expression "*(code **)(lVar1 + 0x30)" (* "*") (cast_expression "(code **)(lVar1 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x30)" (( "(") (binary_expression "lVar1 + 0x30" (identifier "lVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "FUN_003970a3")) (; ";")) (expression_statement "*(code **)(lVar1 + 0x38) = FUN_00396c0d;" (assignment_expression "*(code **)(lVar1 + 0x38) = FUN_00396c0d" (pointer_expression "*(code **)(lVar1 + 0x38)" (* "*") (cast_expression "(code **)(lVar1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "FUN_00396c0d")) (; ";")) (expression_statement "*(code **)(lVar1 + 0x48) = FUN_00396bc3;" (assignment_expression "*(code **)(lVar1 + 0x48) = FUN_00396bc3" (pointer_expression "*(code **)(lVar1 + 0x48)" (* "*") (cast_expression "(code **)(lVar1 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x48)" (( "(") (binary_expression "lVar1 + 0x48" (identifier "lVar1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "FUN_00396bc3")) (; ";")) (expression_statement "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;" (assignment_expression "*(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" (* "*") (cast_expression "(uint *)(lVar1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x54)" (( "(") (binary_expression "lVar1 + 0x54" (identifier "lVar1") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (binary_expression "*(uint *)(lVar1 + 0x54) ^ 0x101" (pointer_expression "*(uint *)(lVar1 + 0x54)" (* "*") (cast_expression "(uint *)(lVar1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x54)" (( "(") (binary_expression "lVar1 + 0x54" (identifier "lVar1") (+ "+") (number_literal "0x54")) () ")")))) (^ "^") (number_literal "0x101"))) (; ";")) (expression_statement "RegisterMagickInfo(lVar1);" (call_expression "RegisterMagickInfo(lVar1)" (identifier "RegisterMagickInfo") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")"))) (; ";")) (return_statement "return 0x810;" (return "return") (number_literal "0x810") (; ";")) (} "}")))

/* 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 */

size_t function_1(void)

{
  type_1 *magick_info;
  
  magick_info = var_1("PGX","PGX","JPEG 2000 uncompressed format");
  magick_info->decoder = ReadPGXImage;
  magick_info->encoder = WritePGXImage;
  magick_info->magick = IsPGX;
  magick_info->flags = magick_info->flags ^ 0x101;
  var_2(magick_info);
  return 0x810;
}


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

undefined8 MASKED(void)

{
  long lVar1;
  
  lVar1 = AcquireMagickInfo(&DAT_00432d6c,&DAT_00432d6c,"JPEG 2000 uncompressed format");
  *(code **)(lVar1 + 0x30) = FUN_003970a3;
  *(code **)(lVar1 + 0x38) = FUN_00396c0d;
  *(code **)(lVar1 + 0x48) = FUN_00396bc3;
  *(uint *)(lVar1 + 0x54) = *(uint *)(lVar1 + 0x54) ^ 0x101;
  RegisterMagickInfo(lVar1);
  return 0x810;
}

