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

void GetQuantizeInfo(QuantizeInfo *quantize_info)

{
  LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");
  if (quantize_info != (QuantizeInfo *)0x0) {
    quantize_info->tree_depth = 0;
    quantize_info->number_colors = 0x100;
    quantize_info->dither_method = RiemersmaDitherMethod;
    quantize_info->colorspace = UndefinedColorspace;
    quantize_info->measure_error = MagickFalse;
    quantize_info->signature = 0xabacadab;
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,
                "GetQuantizeInfo");
}



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

void GetQuantizeInfo(undefined4 *param_1)

{
  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");
  if (param_1 != (undefined4 *)0x0) {
    param_1[1] = 0;
    *param_1 = 0x100;
    param_1[3] = 2;
    param_1[2] = 0;
    param_1[4] = 0;
    param_1[5] = 0xabacadab;
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,
                "GetQuantizeInfo");
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00038830
ADD EBX,0x2a66b4
SUB ESP,0xc
LEA EAX,[EBX + 0xffec976c]
PUSH EAX
LEA EDI,[EBX + 0xffeeaef9]
LEA EAX,[EBX + 0xffeeb1f8]
PUSH 0x8fa
PUSH EAX
PUSH EDI
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
TEST ESI,ESI
JZ 0x001329ad
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ESI],0x100
MOV dword ptr [ESI + 0xc],0x2
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0xabacadab
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffeeb1e8]
PUSH EAX
LEA EAX,[EBX + 0xffeeb008]
PUSH 0x8fb
PUSH EDI
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid GetQuantizeInfo(undefined4 *param_1)\n\n{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}\n\n" comment (function_definition "void GetQuantizeInfo(undefined4 *param_1)\n\n{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" primitive_type (function_declarator "GetQuantizeInfo(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" identifier (argument_list "(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" ( number_literal , (string_literal ""MagickCore/quantize.c"" " string_content ") , (string_literal ""GetQuantizeInfo"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0x100;" (assignment_expression "*param_1 = 0x100" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[3] = 2;" (assignment_expression "param_1[3] = 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0xabacadab;" (assignment_expression "param_1[5] = 0xabacadab" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");" (call_expression "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" identifier (argument_list "("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" ( (string_literal ""quantize_info != (QuantizeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantize.c"" " string_content ") , number_literal , (string_literal ""GetQuantizeInfo"" " 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 "LogEventType": Some values do not have unique names */\n\nvoid GetQuantizeInfo(QuantizeInfo *quantize_info)\n\n{\n  LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (quantize_info != (QuantizeInfo *)0x0) {\n    quantize_info->tree_depth = 0;\n    quantize_info->number_colors = 0x100;\n    quantize_info->dither_method = RiemersmaDitherMethod;\n    quantize_info->colorspace = UndefinedColorspace;\n    quantize_info->measure_error = MagickFalse;\n    quantize_info->signature = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}\n\n" comment comment comment (function_definition "void GetQuantizeInfo(QuantizeInfo *quantize_info)\n\n{\n  LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (quantize_info != (QuantizeInfo *)0x0) {\n    quantize_info->tree_depth = 0;\n    quantize_info->number_colors = 0x100;\n    quantize_info->dither_method = RiemersmaDitherMethod;\n    quantize_info->colorspace = UndefinedColorspace;\n    quantize_info->measure_error = MagickFalse;\n    quantize_info->signature = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" primitive_type (function_declarator "GetQuantizeInfo(QuantizeInfo *quantize_info)" identifier (parameter_list "(QuantizeInfo *quantize_info)" ( (parameter_declaration "QuantizeInfo *quantize_info" type_identifier (pointer_declarator "*quantize_info" * identifier)) ))) (compound_statement "{\n  LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (quantize_info != (QuantizeInfo *)0x0) {\n    quantize_info->tree_depth = 0;\n    quantize_info->number_colors = 0x100;\n    quantize_info->dither_method = RiemersmaDitherMethod;\n    quantize_info->colorspace = UndefinedColorspace;\n    quantize_info->measure_error = MagickFalse;\n    quantize_info->signature = 0xabacadab;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" identifier (argument_list "(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" ( identifier , (string_literal ""MagickCore/quantize.c"" " string_content ") , (string_literal ""GetQuantizeInfo"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) (if_statement "if (quantize_info != (QuantizeInfo *)0x0) {\n    quantize_info->tree_depth = 0;\n    quantize_info->number_colors = 0x100;\n    quantize_info->dither_method = RiemersmaDitherMethod;\n    quantize_info->colorspace = UndefinedColorspace;\n    quantize_info->measure_error = MagickFalse;\n    quantize_info->signature = 0xabacadab;\n    return;\n  }" if (parenthesized_expression "(quantize_info != (QuantizeInfo *)0x0)" ( (binary_expression "quantize_info != (QuantizeInfo *)0x0" identifier != (cast_expression "(QuantizeInfo *)0x0" ( (type_descriptor "QuantizeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    quantize_info->tree_depth = 0;\n    quantize_info->number_colors = 0x100;\n    quantize_info->dither_method = RiemersmaDitherMethod;\n    quantize_info->colorspace = UndefinedColorspace;\n    quantize_info->measure_error = MagickFalse;\n    quantize_info->signature = 0xabacadab;\n    return;\n  }" { (expression_statement "quantize_info->tree_depth = 0;" (assignment_expression "quantize_info->tree_depth = 0" (field_expression "quantize_info->tree_depth" identifier -> field_identifier) = number_literal) ;) (expression_statement "quantize_info->number_colors = 0x100;" (assignment_expression "quantize_info->number_colors = 0x100" (field_expression "quantize_info->number_colors" identifier -> field_identifier) = number_literal) ;) (expression_statement "quantize_info->dither_method = RiemersmaDitherMethod;" (assignment_expression "quantize_info->dither_method = RiemersmaDitherMethod" (field_expression "quantize_info->dither_method" identifier -> field_identifier) = identifier) ;) (expression_statement "quantize_info->colorspace = UndefinedColorspace;" (assignment_expression "quantize_info->colorspace = UndefinedColorspace" (field_expression "quantize_info->colorspace" identifier -> field_identifier) = identifier) ;) (expression_statement "quantize_info->measure_error = MagickFalse;" (assignment_expression "quantize_info->measure_error = MagickFalse" (field_expression "quantize_info->measure_error" identifier -> field_identifier) = identifier) ;) (expression_statement "quantize_info->signature = 0xabacadab;" (assignment_expression "quantize_info->signature = 0xabacadab" (field_expression "quantize_info->signature" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");" (call_expression "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" identifier (argument_list "("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" ( (string_literal ""quantize_info != (QuantizeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantize.c"" " string_content ") , number_literal , (string_literal ""GetQuantizeInfo"" " string_content ") ))) ;) })))
(translation_unit "void GetQuantizeInfo(undefined4 *param_1)\n\n{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    \n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}\n\n" (function_definition "void GetQuantizeInfo(undefined4 *param_1)\n\n{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    \n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" primitive_type (function_declarator "GetQuantizeInfo(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    \n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" identifier (argument_list "(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" ( number_literal , (string_literal ""MagickCore/quantize.c"" " string_content ") , (string_literal ""GetQuantizeInfo"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0x100;" (assignment_expression "*param_1 = 0x100" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[3] = 2;" (assignment_expression "param_1[3] = 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0xabacadab;" (assignment_expression "param_1[5] = 0xabacadab" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");" (call_expression "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" identifier (argument_list "("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" ( (string_literal ""quantize_info != (QuantizeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantize.c"" " string_content ") , number_literal , (string_literal ""GetQuantizeInfo"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void GetQuantizeInfo(undefined4 *param_1)\n\n{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    \n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" (primitive_type "void") (function_declarator "GetQuantizeInfo(undefined4 *param_1)" (identifier "GetQuantizeInfo") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");\n  if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }\n                    \n  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");\n}" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...")" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/quantize.c"" (" """) (string_content "MagickCore/quantize.c") (" """)) (, ",") (string_literal ""GetQuantizeInfo"" (" """) (string_content "GetQuantizeInfo") (" """)) (, ",") (number_literal "0x8fa") (, ",") (string_literal ""..."" (" """) (string_content "...") (" """)) () ")"))) (; ";")) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x100;\n    param_1[3] = 2;\n    param_1[2] = 0;\n    param_1[4] = 0;\n    param_1[5] = 0xabacadab;\n    return;\n  }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = 0x100;" (assignment_expression "*param_1 = 0x100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x100")) (; ";")) (expression_statement "param_1[3] = 2;" (assignment_expression "param_1[3] = 2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0xabacadab;" (assignment_expression "param_1[5] = 0xabacadab" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0xabacadab")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo");" (call_expression "__assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" (identifier "__assert_fail") (argument_list "("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,\n                "GetQuantizeInfo")" (( "(") (string_literal ""quantize_info != (QuantizeInfo *) NULL"" (" """) (string_content "quantize_info != (QuantizeInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/quantize.c"" (" """) (string_content "MagickCore/quantize.c") (" """)) (, ",") (number_literal "0x8fb") (, ",") (string_literal ""GetQuantizeInfo"" (" """) (string_content "GetQuantizeInfo") (" """)) () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 *var_2)

{
  var_1(TraceEvent,"MagickCore/quantize.c","GetQuantizeInfo",0x8fa,"...");
  if (var_2 != (type_1 *)0x0) {
    var_2->tree_depth = 0;
    var_2->number_colors = 0x100;
    var_2->dither_method = RiemersmaDitherMethod;
    var_2->colorspace = UndefinedColorspace;
    var_2->measure_error = MagickFalse;
    var_2->signature = 0xabacadab;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,
                "GetQuantizeInfo");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement))) (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 */

void MASKED(undefined4 *param_1)

{
  LogMagickEvent(0x8000,"MagickCore/quantize.c","MASKED",0x8fa,"...");
  if (param_1 != (undefined4 *)0x0) {
    param_1[1] = 0;
    *param_1 = 0x100;
    param_1[3] = 2;
    param_1[2] = 0;
    param_1[4] = 0;
    param_1[5] = 0xabacadab;
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("quantize_info != (QuantizeInfo *) NULL","MagickCore/quantize.c",0x8fb,
                "MASKED");
}

