
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

MagickBooleanType IsGeometry(char *geometry)

{
  int iVar1;
  MagickBooleanType MVar2;
  MagickStatusType MVar3;
  int in_GS_OFFSET;
  GeometryInfo geometry_info;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  MVar2 = MagickFalse;
  if (geometry != (char *)0x0) {
    MVar3 = ParseGeometry(geometry,&geometry_info);
    MVar2 = (MagickBooleanType)(MVar3 != 0);
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return MVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

bool IsGeometry(int param_1)

{
  int iVar1;
  int in_GS_OFFSET;
  bool bVar2;
  undefined1 local_3c [44];
  int local_10;
  undefined4 uStack_8;
  
  uStack_8 = 0xd67f6;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  bVar2 = false;
  if (param_1 != 0) {
    iVar1 = ParseGeometry(param_1,local_3c);
    bVar2 = iVar1 != 0;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return bVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x30280a
SUB ESP,0x38
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
MOV EDX,dword ptr [ESP + 0x40]
TEST EDX,EDX
JZ 0x000d682c
SUB ESP,0x8
LEA EAX,[ESP + 0x8]
PUSH EAX
PUSH EDX
CALL 0x00031a50
ADD ESP,0x10
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
MOV ECX,dword ptr [ESP + 0x2c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x000d683e
ADD ESP,0x38
POP EBX
RET
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool IsGeometry(int param_1)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}\n\n" comment (function_definition "bool IsGeometry(int param_1)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" primitive_type (function_declarator "IsGeometry(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined1 local_3c [44];" type_identifier (array_declarator "local_3c [44]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0xd67f6;" (assignment_expression "uStack_8 = 0xd67f6" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" { (expression_statement "iVar1 = ParseGeometry(param_1,local_3c);" (assignment_expression "iVar1 = ParseGeometry(param_1,local_3c)" identifier = (call_expression "ParseGeometry(param_1,local_3c)" identifier (argument_list "(param_1,local_3c)" ( identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return bVar2;\n  }" { (return_statement "return bVar2;" return identifier ;) })) comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nMagickBooleanType IsGeometry(char *geometry)\n\n{\n  int iVar1;\n  MagickBooleanType MVar2;\n  MagickStatusType MVar3;\n  int in_GS_OFFSET;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MVar2 = MagickFalse;\n  if (geometry != (char *)0x0) {\n    MVar3 = ParseGeometry(geometry,&geometry_info);\n    MVar2 = (MagickBooleanType)(MVar3 != 0);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "MagickBooleanType IsGeometry(char *geometry)\n\n{\n  int iVar1;\n  MagickBooleanType MVar2;\n  MagickStatusType MVar3;\n  int in_GS_OFFSET;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MVar2 = MagickFalse;\n  if (geometry != (char *)0x0) {\n    MVar3 = ParseGeometry(geometry,&geometry_info);\n    MVar2 = (MagickBooleanType)(MVar3 != 0);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "IsGeometry(char *geometry)" identifier (parameter_list "(char *geometry)" ( (parameter_declaration "char *geometry" primitive_type (pointer_declarator "*geometry" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  MagickBooleanType MVar2;\n  MagickStatusType MVar3;\n  int in_GS_OFFSET;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MVar2 = MagickFalse;\n  if (geometry != (char *)0x0) {\n    MVar3 = ParseGeometry(geometry,&geometry_info);\n    MVar2 = (MagickBooleanType)(MVar3 != 0);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "MagickBooleanType MVar2;" type_identifier identifier ;) (declaration "MagickStatusType MVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "GeometryInfo geometry_info;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "MVar2 = MagickFalse;" (assignment_expression "MVar2 = MagickFalse" identifier = identifier) ;) (if_statement "if (geometry != (char *)0x0) {\n    MVar3 = ParseGeometry(geometry,&geometry_info);\n    MVar2 = (MagickBooleanType)(MVar3 != 0);\n  }" if (parenthesized_expression "(geometry != (char *)0x0)" ( (binary_expression "geometry != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar3 = ParseGeometry(geometry,&geometry_info);\n    MVar2 = (MagickBooleanType)(MVar3 != 0);\n  }" { (expression_statement "MVar3 = ParseGeometry(geometry,&geometry_info);" (assignment_expression "MVar3 = ParseGeometry(geometry,&geometry_info)" identifier = (call_expression "ParseGeometry(geometry,&geometry_info)" identifier (argument_list "(geometry,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "MVar2 = (MagickBooleanType)(MVar3 != 0);" (assignment_expression "MVar2 = (MagickBooleanType)(MVar3 != 0)" identifier = (call_expression "(MagickBooleanType)(MVar3 != 0)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(MVar3 != 0)" ( (binary_expression "MVar3 != 0" identifier != number_literal) )))) ;) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return MVar2;\n  }" { (return_statement "return MVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "bool IsGeometry(int param_1)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    \n  FUN_0029eab0();\n}\n\n" (function_definition "bool IsGeometry(int param_1)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    \n  FUN_0029eab0();\n}" primitive_type (function_declarator "IsGeometry(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    \n  FUN_0029eab0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined1 local_3c [44];" type_identifier (array_declarator "local_3c [44]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0xd67f6;" (assignment_expression "uStack_8 = 0xd67f6" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" { (expression_statement "iVar1 = ParseGeometry(param_1,local_3c);" (assignment_expression "iVar1 = ParseGeometry(param_1,local_3c)" identifier = (call_expression "ParseGeometry(param_1,local_3c)" identifier (argument_list "(param_1,local_3c)" ( identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" identifier = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return bVar2;\n  }" { (return_statement "return bVar2;" return identifier ;) })) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "bool IsGeometry(int param_1)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    \n  FUN_0029eab0();\n}" (primitive_type "bool") (function_declarator "IsGeometry(int param_1)" (identifier "IsGeometry") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  bool bVar2;\n  undefined1 local_3c [44];\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xd67f6;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  bVar2 = false;\n  if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }\n                    \n  FUN_0029eab0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "undefined1 local_3c [44];" (type_identifier "undefined1") (array_declarator "local_3c [44]" (identifier "local_3c") ([ "[") (number_literal "44") (] "]")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0xd67f6;" (assignment_expression "uStack_8 = 0xd67f6" (identifier "uStack_8") (= "=") (number_literal "0xd67f6")) (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (if_statement "if (param_1 != 0) {\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = ParseGeometry(param_1,local_3c);\n    bVar2 = iVar1 != 0;\n  }" ({ "{") (expression_statement "iVar1 = ParseGeometry(param_1,local_3c);" (assignment_expression "iVar1 = ParseGeometry(param_1,local_3c)" (identifier "iVar1") (= "=") (call_expression "ParseGeometry(param_1,local_3c)" (identifier "ParseGeometry") (argument_list "(param_1,local_3c)" (( "(") (identifier "param_1") (, ",") (identifier "local_3c") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 != 0;" (assignment_expression "bVar2 = iVar1 != 0" (identifier "bVar2") (= "=") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return bVar2;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return bVar2;\n  }" ({ "{") (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}"))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(char *var_2)

{
  int var_5;
  type_1 MVar2;
  type_2 var_4;
  int var_1;
  type_3 geometry_info;
  
  var_5 = *(int *)(var_1 + 0x14);
  MVar2 = MagickFalse;
  if (var_2 != (char *)0x0) {
    var_4 = var_3(var_2,&geometry_info);
    MVar2 = (type_1)(var_4 != 0);
  }
  if (var_5 == *(int *)(var_1 + 0x14)) {
    return MVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_6();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_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))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

bool MASKED(int param_1)

{
  int iVar1;
  int in_GS_OFFSET;
  bool bVar2;
  undefined1 local_3c [44];
  int local_10;
  undefined4 uStack_8;
  
  uStack_8 = 0xd67f6;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  bVar2 = false;
  if (param_1 != 0) {
    iVar1 = ParseGeometry(param_1,local_3c);
    bVar2 = iVar1 != 0;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return bVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}

