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

PixelWand ** GetWandViewPixels(WandView *wand_view)

{
  int iVar1;
  
  iVar1 = omp_get_thread_num();
  if (wand_view == (WandView *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,
                  "GetWandViewPixels");
  }
  if (wand_view->signature == 0xabacadab) {
    return wand_view->pixel_wands[iVar1];
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,
                "GetWandViewPixels");
}



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

undefined4 GetWandViewPixels(int param_1)

{
  int iVar1;
  
  iVar1 = omp_get_thread_num();
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,
                  "GetWandViewPixels");
  }
  if (*(int *)(param_1 + 0x1030) == -0x54535255) {
    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,
                "GetWandViewPixels");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0x81dd9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x0001cf50
TEST ESI,ESI
JZ 0x000e4258
CMP dword ptr [ESI + 0x1030],0xabacadab
JNZ 0x000e4277
MOV EDX,dword ptr [ESI + 0x1024]
MOV EAX,dword ptr [EDX + EAX*0x4]
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xfff9b824]
PUSH EAX
LEA EAX,[EBX + 0xfff9b61d]
PUSH 0x26f
PUSH EAX
LEA EAX,[EBX + 0xfff9b680]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff9b824]
PUSH EAX
LEA EAX,[EBX + 0xfff9b61d]
PUSH 0x270
PUSH EAX
LEA EAX,[EBX + 0xfff9b6a0]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 GetWandViewPixels(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}\n\n" comment (function_definition "undefined4 GetWandViewPixels(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" type_identifier (function_declarator "GetWandViewPixels(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = omp_get_thread_num();" (assignment_expression "iVar1 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\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_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" { comment (expression_statement "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");" (call_expression "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" identifier (argument_list "("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" ( (string_literal ""wand_view != (WandView *) NULL"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1030) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1030) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1030)" * (cast_expression "(int *)(param_1 + 0x1030)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" { (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1024) + iVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x1024)" * (cast_expression "(int *)(param_1 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) )))) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ;) })) comment (expression_statement "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");" (call_expression "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" identifier (argument_list "("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" ( (string_literal ""wand_view->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " 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\nPixelWand ** GetWandViewPixels(WandView *wand_view)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (wand_view == (WandView *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (wand_view->signature == 0xabacadab) {\n    return wand_view->pixel_wands[iVar1];\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}\n\n" comment comment comment comment comment comment comment (function_definition "PixelWand ** GetWandViewPixels(WandView *wand_view)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (wand_view == (WandView *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (wand_view->signature == 0xabacadab) {\n    return wand_view->pixel_wands[iVar1];\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" type_identifier (pointer_declarator "** GetWandViewPixels(WandView *wand_view)" * (pointer_declarator "* GetWandViewPixels(WandView *wand_view)" * (function_declarator "GetWandViewPixels(WandView *wand_view)" identifier (parameter_list "(WandView *wand_view)" ( (parameter_declaration "WandView *wand_view" type_identifier (pointer_declarator "*wand_view" * identifier)) ))))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (wand_view == (WandView *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (wand_view->signature == 0xabacadab) {\n    return wand_view->pixel_wands[iVar1];\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = omp_get_thread_num();" (assignment_expression "iVar1 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (wand_view == (WandView *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" if (parenthesized_expression "(wand_view == (WandView *)0x0)" ( (binary_expression "wand_view == (WandView *)0x0" identifier == (cast_expression "(WandView *)0x0" ( (type_descriptor "WandView *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" { comment (expression_statement "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");" (call_expression "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" identifier (argument_list "("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" ( (string_literal ""wand_view != (WandView *) NULL"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " string_content ") ))) ;) })) (if_statement "if (wand_view->signature == 0xabacadab) {\n    return wand_view->pixel_wands[iVar1];\n  }" if (parenthesized_expression "(wand_view->signature == 0xabacadab)" ( (binary_expression "wand_view->signature == 0xabacadab" (field_expression "wand_view->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    return wand_view->pixel_wands[iVar1];\n  }" { (return_statement "return wand_view->pixel_wands[iVar1];" return (subscript_expression "wand_view->pixel_wands[iVar1]" (field_expression "wand_view->pixel_wands" identifier -> field_identifier) [ identifier ]) ;) })) comment (expression_statement "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");" (call_expression "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" identifier (argument_list "("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" ( (string_literal ""wand_view->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " string_content ") ))) ;) })))
(translation_unit "undefined4 GetWandViewPixels(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    \n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}\n\n" (function_definition "undefined4 GetWandViewPixels(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    \n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" type_identifier (function_declarator "GetWandViewPixels(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    \n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = omp_get_thread_num();" (assignment_expression "iVar1 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" { (expression_statement "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");" (call_expression "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" identifier (argument_list "("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" ( (string_literal ""wand_view != (WandView *) NULL"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1030) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1030) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1030)" * (cast_expression "(int *)(param_1 + 0x1030)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" { (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1024) + iVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x1024)" * (cast_expression "(int *)(param_1 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1024)" ( (binary_expression "param_1 + 0x1024" identifier + number_literal) )))) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ;) })) (expression_statement "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");" (call_expression "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" identifier (argument_list "("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" ( (string_literal ""wand_view->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/wand-view.c"" " string_content ") , number_literal , (string_literal ""GetWandViewPixels"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (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 "undefined4 GetWandViewPixels(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    \n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" (type_identifier "undefined4") (function_declarator "GetWandViewPixels(int param_1)" (identifier "GetWandViewPixels") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = omp_get_thread_num();\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }\n  if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }\n                    \n  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = omp_get_thread_num();" (assignment_expression "iVar1 = omp_get_thread_num()" (identifier "iVar1") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\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_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");\n  }" ({ "{") (expression_statement "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels");" (call_expression "__assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" (identifier "__assert_fail") (argument_list "("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,\n                  "GetWandViewPixels")" (( "(") (string_literal ""wand_view != (WandView *) NULL"" (" """) (string_content "wand_view != (WandView *) NULL") (" """)) (, ",") (string_literal ""MagickWand/wand-view.c"" (" """) (string_content "MagickWand/wand-view.c") (" """)) (, ",") (number_literal "0x26f") (, ",") (string_literal ""GetWandViewPixels"" (" """) (string_content "GetWandViewPixels") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1030) == -0x54535255) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1030) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1030) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1030)" (* "*") (cast_expression "(int *)(param_1 + 0x1030)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1030)" (( "(") (binary_expression "param_1 + 0x1030" (identifier "param_1") (+ "+") (number_literal "0x1030")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);\n  }" ({ "{") (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);" (return "return") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1024) + iVar1 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x1024) + iVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x1024)" (* "*") (cast_expression "(int *)(param_1 + 0x1024)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1024)" (( "(") (binary_expression "param_1 + 0x1024" (identifier "param_1") (+ "+") (number_literal "0x1024")) () ")")))) (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (expression_statement "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels");" (call_expression "__assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" (identifier "__assert_fail") (argument_list "("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,\n                "GetWandViewPixels")" (( "(") (string_literal ""wand_view->signature == MagickWandSignature"" (" """) (string_content "wand_view->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/wand-view.c"" (" """) (string_content "MagickWand/wand-view.c") (" """)) (, ",") (number_literal "0x270") (, ",") (string_literal ""GetWandViewPixels"" (" """) (string_content "GetWandViewPixels") (" """)) () ")"))) (; ";")) (} "}")))

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

{
  int iVar1;
  
  iVar1 = var_1();
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,
                  "GetWandViewPixels");
  }
  if (var_2->signature == 0xabacadab) {
    return var_2->pixel_wands[iVar1];
  }
                    /* WARNING: Subroutine does not return */
  var_3("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,
                "GetWandViewPixels");
}


(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 (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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 (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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 */

undefined4 MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = omp_get_thread_num();
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand_view != (WandView *) NULL","MagickWand/wand-view.c",0x26f,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x1030) == -0x54535255) {
    return *(undefined4 *)(*(int *)(param_1 + 0x1024) + iVar1 * 4);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand_view->signature == MagickWandSignature","MagickWand/wand-view.c",0x270,
                "MASKED");
}

