
/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

void DrawSetTextEncoding(DrawingWand *wand,char *encoding)

{
  DrawInfo *pDVar1;
  char *pcVar2;
  int iVar3;
  
  if (wand == (DrawingWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,
                  "DrawSetTextEncoding");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",
                     wand->name);
    }
    if (encoding != (char *)0x0) {
      pDVar1 = wand->graphic_context[wand->index];
      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))
         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {
        return;
      }
      CloneString(&pDVar1->encoding,encoding);
      MVGPrintf(wand,"encoding \'%s\'\n",encoding);
      return;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,
                  "DrawSetTextEncoding");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,
                "DrawSetTextEncoding");
}



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

void DrawSetTextEncoding(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,
                  "DrawSetTextEncoding");
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",
                     param_1 + 4);
    }
    if (param_2 != 0) {
      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);
      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&
         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {
        return;
      }
      CloneString(iVar1 + 600,param_2);
      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);
      return;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,
                  "DrawSetTextEncoding");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,
                "DrawSetTextEncoding");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0x104667
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
TEST ESI,ESI
JZ 0x00061aa9
CMP dword ptr [ESI + 0x1054],0xabacadab
JNZ 0x00061a8a
MOV EDX,dword ptr [ESI + 0x1050]
TEST EDX,EDX
JNZ 0x00061a38
TEST EDI,EDI
JZ 0x00061a6b
MOV EAX,dword ptr [ESI + 0x1038]
MOV EDX,dword ptr [ESI + 0x1034]
MOV EBP,dword ptr [EAX + EDX*0x4]
MOV EAX,dword ptr [ESI + 0x103c]
TEST EAX,EAX
JNZ 0x00061a08
MOV EAX,dword ptr [EBP + 0x258]
TEST EAX,EAX
JZ 0x00061a08
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x0001d970
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00061a2c
SUB ESP,0x8
ADD EBP,0x258
PUSH EDI
PUSH EBP
CALL 0x0001d0a0
LEA EAX,[EBX + 0xfff8a3cc]
ADD ESP,0xc
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x00057120
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff8ac58]
PUSH 0x17c0
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
JMP 0x000619cc
LEA EAX,[EBX + 0xfff8ac6c]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0x17c1
PUSH EAX
LEA EAX,[EBX + 0xfff8a3b2]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff8ac6c]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0x17be
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff8ac6c]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0x17bd
PUSH EAX
LEA EAX,[EBX + 0xfff89e52]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid DrawSetTextEncoding(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}\n\n" comment (function_definition "void DrawSetTextEncoding(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" primitive_type (function_declarator "DrawSetTextEncoding(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\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 != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawSetTextEncoding"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" { (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" * (cast_expression "(int *)(param_1 + 0x1038)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1038)" ( (binary_expression "param_1 + 0x1038" identifier + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }" if (parenthesized_expression "(((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0))" ( (binary_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" (parenthesized_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0))" ( (binary_expression "(*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x103c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x103c) == 0" (pointer_expression "*(int *)(param_1 + 0x103c)" * (cast_expression "(int *)(param_1 + 0x103c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x103c)" ( (binary_expression "param_1 + 0x103c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar1 + 600), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar1 + 600)" identifier = (pointer_expression "*(int *)(iVar1 + 600)" * (cast_expression "(int *)(iVar1 + 600)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 600)" ( (binary_expression "iVar1 + 600" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" ( (comma_expression "iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0" (assignment_expression "iVar2 = LocaleCompare(iVar2,param_2)" identifier = (call_expression "LocaleCompare(iVar2,param_2)" identifier (argument_list "(iVar2,param_2)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "CloneString(iVar1 + 600,param_2);" (call_expression "CloneString(iVar1 + 600,param_2)" identifier (argument_list "(iVar1 + 600,param_2)" ( (binary_expression "iVar1 + 600" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00057120(param_1,"encoding \'%s\'\n",param_2);" (call_expression "FUN_00057120(param_1,"encoding \'%s\'\n",param_2)" identifier (argument_list "(param_1,"encoding \'%s\'\n",param_2)" ( identifier , (string_literal ""encoding \'%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" identifier (argument_list "("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" ( (string_literal ""encoding != (char *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " 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/* WARNING: Enum "ComplianceType": Some values do not have unique names */\n\nvoid DrawSetTextEncoding(DrawingWand *wand,char *encoding)\n\n{\n  DrawInfo *pDVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }\n    if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "void DrawSetTextEncoding(DrawingWand *wand,char *encoding)\n\n{\n  DrawInfo *pDVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }\n    if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" primitive_type (function_declarator "DrawSetTextEncoding(DrawingWand *wand,char *encoding)" identifier (parameter_list "(DrawingWand *wand,char *encoding)" ( (parameter_declaration "DrawingWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "char *encoding" primitive_type (pointer_declarator "*encoding" * identifier)) ))) (compound_statement "{\n  DrawInfo *pDVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }\n    if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" { (declaration "DrawInfo *pDVar1;" type_identifier (pointer_declarator "*pDVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" if (parenthesized_expression "(wand == (DrawingWand *)0x0)" ( (binary_expression "wand == (DrawingWand *)0x0" identifier == (cast_expression "(DrawingWand *)0x0" ( (type_descriptor "DrawingWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }\n    if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\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/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }\n    if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\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/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     wand->name)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawSetTextEncoding"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (if_statement "if (encoding != (char *)0x0) {\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }" if (parenthesized_expression "(encoding != (char *)0x0)" ( (binary_expression "encoding != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pDVar1 = wand->graphic_context[wand->index];\n      if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }\n      CloneString(&pDVar1->encoding,encoding);\n      MVGPrintf(wand,"encoding \'%s\'\n",encoding);\n      return;\n    }" { (expression_statement "pDVar1 = wand->graphic_context[wand->index];" (assignment_expression "pDVar1 = wand->graphic_context[wand->index]" identifier = (subscript_expression "wand->graphic_context[wand->index]" (field_expression "wand->graphic_context" identifier -> field_identifier) [ (field_expression "wand->index" identifier -> field_identifier) ])) ;) (if_statement "if (((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)) {\n        return;\n      }" if (parenthesized_expression "(((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0))" ( (binary_expression "((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))\n         && (iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)" (parenthesized_expression "((wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0))" ( (binary_expression "(wand->filter_off == MagickFalse) && (pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0)" (parenthesized_expression "(wand->filter_off == MagickFalse)" ( (binary_expression "wand->filter_off == MagickFalse" (field_expression "wand->filter_off" identifier -> field_identifier) == identifier) )) && (parenthesized_expression "(pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0)" ( (comma_expression "pcVar2 = pDVar1->encoding, pcVar2 != (char *)0x0" (assignment_expression "pcVar2 = pDVar1->encoding" identifier = (field_expression "pDVar1->encoding" identifier -> field_identifier)) , (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0)" ( (comma_expression "iVar3 = LocaleCompare(pcVar2,encoding), iVar3 == 0" (assignment_expression "iVar3 = LocaleCompare(pcVar2,encoding)" identifier = (call_expression "LocaleCompare(pcVar2,encoding)" identifier (argument_list "(pcVar2,encoding)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "CloneString(&pDVar1->encoding,encoding);" (call_expression "CloneString(&pDVar1->encoding,encoding)" identifier (argument_list "(&pDVar1->encoding,encoding)" ( (pointer_expression "&pDVar1->encoding" & (field_expression "pDVar1->encoding" identifier -> field_identifier)) , identifier ))) ;) (expression_statement "MVGPrintf(wand,"encoding \'%s\'\n",encoding);" (call_expression "MVGPrintf(wand,"encoding \'%s\'\n",encoding)" identifier (argument_list "(wand,"encoding \'%s\'\n",encoding)" ( identifier , (string_literal ""encoding \'%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" identifier (argument_list "("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" ( (string_literal ""encoding != (char *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })))
(translation_unit "void DrawSetTextEncoding(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}\n\n" (function_definition "void DrawSetTextEncoding(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" primitive_type (function_declarator "DrawSetTextEncoding(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" { (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawSetTextEncoding"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" { (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" ( (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" * (cast_expression "(int *)(param_1 + 0x1038)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1038)" ( (binary_expression "param_1 + 0x1038" identifier + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" * (cast_expression "(int *)(param_1 + 0x1034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1034)" ( (binary_expression "param_1 + 0x1034" identifier + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }" if (parenthesized_expression "(((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0))" ( (binary_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" (parenthesized_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0))" ( (binary_expression "(*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x103c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x103c) == 0" (pointer_expression "*(int *)(param_1 + 0x103c)" * (cast_expression "(int *)(param_1 + 0x103c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x103c)" ( (binary_expression "param_1 + 0x103c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar1 + 600), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar1 + 600)" identifier = (pointer_expression "*(int *)(iVar1 + 600)" * (cast_expression "(int *)(iVar1 + 600)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 600)" ( (binary_expression "iVar1 + 600" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" ( (comma_expression "iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0" (assignment_expression "iVar2 = LocaleCompare(iVar2,param_2)" identifier = (call_expression "LocaleCompare(iVar2,param_2)" identifier (argument_list "(iVar2,param_2)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "CloneString(iVar1 + 600,param_2);" (call_expression "CloneString(iVar1 + 600,param_2)" identifier (argument_list "(iVar1 + 600,param_2)" ( (binary_expression "iVar1 + 600" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00057120(param_1,"encoding \'%s\'\n",param_2);" (call_expression "FUN_00057120(param_1,"encoding \'%s\'\n",param_2)" identifier (argument_list "(param_1,"encoding \'%s\'\n",param_2)" ( identifier , (string_literal ""encoding \'%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" identifier (argument_list "("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" ( (string_literal ""encoding != (char *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawSetTextEncoding"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void DrawSetTextEncoding(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" (primitive_type "void") (function_declarator "DrawSetTextEncoding(int param_1,int param_2)" (identifier "DrawSetTextEncoding") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\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 != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" (identifier "__assert_fail") (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,\n                  "DrawSetTextEncoding")" (( "(") (string_literal ""wand != (DrawingWand *) NULL"" (" """) (string_content "wand != (DrawingWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0x17bd") (, ",") (string_literal ""DrawSetTextEncoding"" (" """) (string_content "DrawSetTextEncoding") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" (* "*") (cast_expression "(int *)(param_1 + 0x1054)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1054)" (( "(") (binary_expression "param_1 + 0x1054" (identifier "param_1") (+ "+") (number_literal "0x1054")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }\n    if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }\n                    \n    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" (* "*") (cast_expression "(int *)(param_1 + 0x1050)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1050)" (( "(") (binary_expression "param_1 + 0x1050" (identifier "param_1") (+ "+") (number_literal "0x1050")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",\n                     param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (string_literal ""DrawSetTextEncoding"" (" """) (string_content "DrawSetTextEncoding") (" """)) (, ",") (number_literal "0x17c0") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);\n      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }\n      CloneString(iVar1 + 600,param_2);\n      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);\n      return;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1038)" (* "*") (cast_expression "(int *)(param_1 + 0x1038)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1038)" (( "(") (binary_expression "param_1 + 0x1038" (identifier "param_1") (+ "+") (number_literal "0x1038")) () ")")))) (+ "+") (binary_expression "*(int *)(param_1 + 0x1034) * 4" (pointer_expression "*(int *)(param_1 + 0x1034)" (* "*") (cast_expression "(int *)(param_1 + 0x1034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1034)" (( "(") (binary_expression "param_1 + 0x1034" (identifier "param_1") (+ "+") (number_literal "0x1034")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {\n        return;\n      }" (if "if") (parenthesized_expression "(((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0))" (( "(") (binary_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&\n         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" (parenthesized_expression "((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x103c) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x103c) == 0" (pointer_expression "*(int *)(param_1 + 0x103c)" (* "*") (cast_expression "(int *)(param_1 + 0x103c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x103c)" (( "(") (binary_expression "param_1 + 0x103c" (identifier "param_1") (+ "+") (number_literal "0x103c")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(iVar1 + 600), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar1 + 600)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 600)" (* "*") (cast_expression "(int *)(iVar1 + 600)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 600)" (( "(") (binary_expression "iVar1 + 600" (identifier "iVar1") (+ "+") (number_literal "600")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)" (( "(") (comma_expression "iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0" (assignment_expression "iVar2 = LocaleCompare(iVar2,param_2)" (identifier "iVar2") (= "=") (call_expression "LocaleCompare(iVar2,param_2)" (identifier "LocaleCompare") (argument_list "(iVar2,param_2)" (( "(") (identifier "iVar2") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "CloneString(iVar1 + 600,param_2);" (call_expression "CloneString(iVar1 + 600,param_2)" (identifier "CloneString") (argument_list "(iVar1 + 600,param_2)" (( "(") (binary_expression "iVar1 + 600" (identifier "iVar1") (+ "+") (number_literal "600")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_00057120(param_1,"encoding \'%s\'\n",param_2);" (call_expression "FUN_00057120(param_1,"encoding \'%s\'\n",param_2)" (identifier "FUN_00057120") (argument_list "(param_1,"encoding \'%s\'\n",param_2)" (( "(") (identifier "param_1") (, ",") (string_literal ""encoding \'%s\'\n"" (" """) (string_content "encoding ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding");" (call_expression "__assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" (identifier "__assert_fail") (argument_list "("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,\n                  "DrawSetTextEncoding")" (( "(") (string_literal ""encoding != (char *) NULL"" (" """) (string_content "encoding != (char *) NULL") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0x17c1") (, ",") (string_literal ""DrawSetTextEncoding"" (" """) (string_content "DrawSetTextEncoding") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,\n                "DrawSetTextEncoding")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0x17be") (, ",") (string_literal ""DrawSetTextEncoding"" (" """) (string_content "DrawSetTextEncoding") (" """)) () ")"))) (; ";")) (} "}")))

/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

void function_1(type_1 *var_1,char *var_5)

{
  type_2 *pDVar1;
  char *var_6;
  int var_8;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,
                  "DrawSetTextEncoding");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/drawing-wand.c","DrawSetTextEncoding",0x17c0,"%s",
                     var_1->name);
    }
    if (var_5 != (char *)0x0) {
      pDVar1 = var_1->graphic_context[var_1->index];
      if (((var_1->filter_off == var_3) && (var_6 = pDVar1->var_5, var_6 != (char *)0x0))
         && (var_8 = var_7(var_6,var_5), var_8 == 0)) {
        return;
      }
      var_9(&pDVar1->var_5,var_5);
      var_10(var_1,"encoding \'%s\'\n",var_5);
      return;
    }
                    /* WARNING: Subroutine does not return */
    var_2("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,
                  "DrawSetTextEncoding");
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,
                "DrawSetTextEncoding");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (escape_sequence)) (identifier)))) (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))))))) (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(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0x17bd,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","MASKED",0x17c0,"%s",
                     param_1 + 4);
    }
    if (param_2 != 0) {
      iVar1 = *(int *)(*(int *)(param_1 + 0x1038) + *(int *)(param_1 + 0x1034) * 4);
      if (((*(int *)(param_1 + 0x103c) == 0) && (iVar2 = *(int *)(iVar1 + 600), iVar2 != 0)) &&
         (iVar2 = LocaleCompare(iVar2,param_2), iVar2 == 0)) {
        return;
      }
      CloneString(iVar1 + 600,param_2);
      FUN_00057120(param_1,"encoding \'%s\'\n",param_2);
      return;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("encoding != (char *) NULL","MagickWand/drawing-wand.c",0x17c1,
                  "MASKED");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0x17be,
                "MASKED");
}

