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

Quantum PixelGetGreenQuantum(PixelWand *wand)

{
  if (wand == (PixelWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,
                  "PixelGetGreenQuantum");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)
      ;
    }
    return (wand->pixel).green;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,
                "PixelGetGreenQuantum");
}



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

longdouble PixelGetGreenQuantum(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,
                  "PixelGetGreenQuantum");
  }
  if (*(int *)(param_1 + 0x1060) == -0x54535255) {
    if (*(int *)(param_1 + 0x105c) != 0) {
      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4
                    );
    }
    return (longdouble)*(double *)(param_1 + 0x1030);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,
                "PixelGetGreenQuantum");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0x8c1c9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x000d9eb7
CMP dword ptr [ESI + 0x1060],0xabacadab
JNZ 0x000d9e98
MOV EAX,dword ptr [ESI + 0x105c]
TEST EAX,EAX
JZ 0x000d9e8c
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff9a808]
PUSH 0x409
PUSH EAX
LEA EAX,[EBX + 0xfff9a0ff]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
FLD qword ptr [ESI + 0x1030]
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xfff9a820]
PUSH EAX
LEA EAX,[EBX + 0xfff9a0ff]
PUSH 0x407
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff9a820]
PUSH EAX
LEA EAX,[EBX + 0xfff9a0ff]
PUSH 0x406
PUSH EAX
LEA EAX,[EBX + 0xfff9a250]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nlongdouble PixelGetGreenQuantum(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}\n\n" comment (function_definition "longdouble PixelGetGreenQuantum(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" type_identifier (function_declarator "PixelGetGreenQuantum(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\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 != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" { comment (expression_statement "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" identifier (argument_list "("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" ( (string_literal ""wand != (const PixelWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1060) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1060) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1060)" * (cast_expression "(int *)(param_1 + 0x1060)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1060)" ( (binary_expression "param_1 + 0x1060" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" { (if_statement "if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x105c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x105c) != 0" (pointer_expression "*(int *)(param_1 + 0x105c)" * (cast_expression "(int *)(param_1 + 0x105c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x105c)" ( (binary_expression "param_1 + 0x105c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" identifier (argument_list "(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" ( number_literal , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , (string_literal ""PixelGetGreenQuantum"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (return_statement "return (longdouble)*(double *)(param_1 + 0x1030);" return (binary_expression "(longdouble)*(double *)(param_1 + 0x1030)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_1 + 0x1030)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nQuantum PixelGetGreenQuantum(PixelWand *wand)\n\n{\n  if (wand == (PixelWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }\n    return (wand->pixel).green;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}\n\n" comment comment comment (function_definition "Quantum PixelGetGreenQuantum(PixelWand *wand)\n\n{\n  if (wand == (PixelWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }\n    return (wand->pixel).green;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" type_identifier (function_declarator "PixelGetGreenQuantum(PixelWand *wand)" identifier (parameter_list "(PixelWand *wand)" ( (parameter_declaration "PixelWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) ))) (compound_statement "{\n  if (wand == (PixelWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }\n    return (wand->pixel).green;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" { (if_statement "if (wand == (PixelWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" if (parenthesized_expression "(wand == (PixelWand *)0x0)" ( (binary_expression "wand == (PixelWand *)0x0" identifier == (cast_expression "(PixelWand *)0x0" ( (type_descriptor "PixelWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" { comment (expression_statement "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" identifier (argument_list "("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" ( (string_literal ""wand != (const PixelWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }\n    return (wand->pixel).green;\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/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }\n    return (wand->pixel).green;\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\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/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)\n      ;" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)" identifier (argument_list "(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",wand->name)" ( number_literal , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , (string_literal ""PixelGetGreenQuantum"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (return_statement "return (wand->pixel).green;" return (field_expression "(wand->pixel).green" (parenthesized_expression "(wand->pixel)" ( (field_expression "wand->pixel" identifier -> field_identifier) )) . field_identifier) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })))
(translation_unit "longdouble PixelGetGreenQuantum(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}\n\n" (function_definition "longdouble PixelGetGreenQuantum(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" type_identifier (function_declarator "PixelGetGreenQuantum(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" { (expression_statement "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" identifier (argument_list "("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" ( (string_literal ""wand != (const PixelWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1060) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1060) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1060)" * (cast_expression "(int *)(param_1 + 0x1060)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1060)" ( (binary_expression "param_1 + 0x1060" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" { (if_statement "if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x105c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x105c) != 0" (pointer_expression "*(int *)(param_1 + 0x105c)" * (cast_expression "(int *)(param_1 + 0x105c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x105c)" ( (binary_expression "param_1 + 0x105c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" identifier (argument_list "(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" ( number_literal , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , (string_literal ""PixelGetGreenQuantum"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (return_statement "return (longdouble)*(double *)(param_1 + 0x1030);" return (binary_expression "(longdouble)*(double *)(param_1 + 0x1030)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_1 + 0x1030)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/pixel-wand.c"" " string_content ") , number_literal , (string_literal ""PixelGetGreenQuantum"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (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) ))) ;) })) (return_statement return (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "longdouble PixelGetGreenQuantum(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" (type_identifier "longdouble") (function_declarator "PixelGetGreenQuantum(int param_1)" (identifier "PixelGetGreenQuantum") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }\n  if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\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 != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" (identifier "__assert_fail") (argument_list "("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,\n                  "PixelGetGreenQuantum")" (( "(") (string_literal ""wand != (const PixelWand *) NULL"" (" """) (string_content "wand != (const PixelWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/pixel-wand.c"" (" """) (string_content "MagickWand/pixel-wand.c") (" """)) (, ",") (number_literal "0x406") (, ",") (string_literal ""PixelGetGreenQuantum"" (" """) (string_content "PixelGetGreenQuantum") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1060) == -0x54535255) {\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1060) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1060) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1060)" (* "*") (cast_expression "(int *)(param_1 + 0x1060)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1060)" (( "(") (binary_expression "param_1 + 0x1060" (identifier "param_1") (+ "+") (number_literal "0x1060")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }\n    return (longdouble)*(double *)(param_1 + 0x1030);\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x105c) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x105c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x105c) != 0" (pointer_expression "*(int *)(param_1 + 0x105c)" (* "*") (cast_expression "(int *)(param_1 + 0x105c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x105c)" (( "(") (binary_expression "param_1 + 0x105c" (identifier "param_1") (+ "+") (number_literal "0x105c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    );" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",param_1 + 4\n                    )" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/pixel-wand.c"" (" """) (string_content "MagickWand/pixel-wand.c") (" """)) (, ",") (string_literal ""PixelGetGreenQuantum"" (" """) (string_content "PixelGetGreenQuantum") (" """)) (, ",") (number_literal "0x409") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (return_statement "return (longdouble)*(double *)(param_1 + 0x1030);" (return "return") (binary_expression "(longdouble)*(double *)(param_1 + 0x1030)" (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")")) (* "*") (cast_expression "(double *)(param_1 + 0x1030)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1030)" (( "(") (binary_expression "param_1 + 0x1030" (identifier "param_1") (+ "+") (number_literal "0x1030")) () ")")))) (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,\n                "PixelGetGreenQuantum")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/pixel-wand.c"" (" """) (string_content "MagickWand/pixel-wand.c") (" """)) (, ",") (number_literal "0x407") (, ",") (string_literal ""PixelGetGreenQuantum"" (" """) (string_content "PixelGetGreenQuantum") (" """)) () ")"))) (; ";")) (} "}")))

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

type_1 function_1(type_2 *var_1)

{
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,
                  "PixelGetGreenQuantum");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/pixel-wand.c","PixelGetGreenQuantum",0x409,"%s",var_1->name)
      ;
    }
    return (var_1->pixel).green;
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,
                "PixelGetGreenQuantum");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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))))))) (return_statement (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (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 */

longdouble MASKED(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (const PixelWand *) NULL","MagickWand/pixel-wand.c",0x406,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x1060) == -0x54535255) {
    if (*(int *)(param_1 + 0x105c) != 0) {
      LogMagickEvent(0x40000,"MagickWand/pixel-wand.c","MASKED",0x409,"%s",param_1 + 4
                    );
    }
    return (longdouble)*(double *)(param_1 + 0x1030);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/pixel-wand.c",0x407,
                "MASKED");
}

