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

void yyerror(char *str,...)

{
  undefined *puVar1;
  char *pcVar2;
  
  puVar1 = PTR_stderr_00028fd0;
  pcVar2 = "(standard_in)";
  if (is_std_in == '\0') {
    pcVar2 = file_name;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);
  __vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
  checkferror_output(*(FILE **)puVar1);
  had_error = 1;
  return;
}



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

void FUN_000198e0(undefined4 param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  puVar1 = PTR_stderr_00028fd0;
  pcVar2 = "(standard_in)";
  if (DAT_00029260 == '\0') {
    pcVar2 = DAT_00029244;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);
  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
  FUN_0001d320(*(undefined4 *)puVar1);
  DAT_00029238 = 1;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011650
ADD EBX,0xf61c
LEA EDI,[ESP + 0x14]
LEA EDX,[EBX + 0x35c]
LEA EAX,[EBX + 0xffff8d9a]
CMP byte ptr [EDX],0x0
JNZ 0x0001990b
LEA EAX,[EBX + 0x340]
MOV EAX,dword ptr [EAX]
LEA EDX,[EBX + 0x39c]
SUB ESP,0xc
MOV ESI,dword ptr [EBX + 0xcc]
PUSH dword ptr [EDX]
PUSH EAX
LEA EAX,[EBX + 0xffff8da8]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x000112a0
ADD ESP,0x20
PUSH EDI
PUSH dword ptr [ESP + 0x14]
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x00011070
POP EAX
POP EDX
PUSH dword ptr [ESI]
PUSH 0xa
CALL 0x00011280
POP ECX
PUSH dword ptr [ESI]
CALL 0x0001d320
LEA EAX,[EBX + 0x334]
ADD ESP,0x10
MOV dword ptr [EAX],0x1
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000198e0(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_000198e0(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000198e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00028fd0;" (assignment_expression "puVar1 = PTR_stderr_00028fd0" identifier = identifier) ;) (expression_statement "pcVar2 = "(standard_in)";" (assignment_expression "pcVar2 = "(standard_in)"" identifier = (string_literal ""(standard_in)"" " string_content ")) ;) (if_statement "if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }" if (parenthesized_expression "(DAT_00029260 == '\0')" ( (binary_expression "DAT_00029260 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = DAT_00029244;\n  }" { (expression_statement "pcVar2 = DAT_00029244;" (assignment_expression "pcVar2 = DAT_00029244" identifier = identifier) ;) })) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00028fd0" * (cast_expression "(undefined4 *)PTR_stderr_00028fd0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%s %d: "" " string_content ") , identifier , identifier ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_0001d320(*(undefined4 *)puVar1);" (call_expression "FUN_0001d320(*(undefined4 *)puVar1)" identifier (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "DAT_00029238 = 1;" (assignment_expression "DAT_00029238 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid yyerror(char *str,...)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (is_std_in == '\0') {\n    pcVar2 = file_name;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  checkferror_output(*(FILE **)puVar1);\n  had_error = 1;\n  return;\n}\n\n" comment comment (function_definition "void yyerror(char *str,...)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (is_std_in == '\0') {\n    pcVar2 = file_name;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  checkferror_output(*(FILE **)puVar1);\n  had_error = 1;\n  return;\n}" primitive_type (function_declarator "yyerror(char *str,...)" identifier (parameter_list "(char *str,...)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (is_std_in == '\0') {\n    pcVar2 = file_name;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  checkferror_output(*(FILE **)puVar1);\n  had_error = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00028fd0;" (assignment_expression "puVar1 = PTR_stderr_00028fd0" identifier = identifier) ;) (expression_statement "pcVar2 = "(standard_in)";" (assignment_expression "pcVar2 = "(standard_in)"" identifier = (string_literal ""(standard_in)"" " string_content ")) ;) (if_statement "if (is_std_in == '\0') {\n    pcVar2 = file_name;\n  }" if (parenthesized_expression "(is_std_in == '\0')" ( (binary_expression "is_std_in == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = file_name;\n  }" { (expression_statement "pcVar2 = file_name;" (assignment_expression "pcVar2 = file_name" identifier = identifier) ;) })) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00028fd0" * (cast_expression "(undefined4 *)PTR_stderr_00028fd0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%s %d: "" " string_content ") , identifier , identifier ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,str,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,str,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "checkferror_output(*(FILE **)puVar1);" (call_expression "checkferror_output(*(FILE **)puVar1)" identifier (argument_list "(*(FILE **)puVar1)" ( (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "had_error = 1;" (assignment_expression "had_error = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000198e0(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}\n\n" (function_definition "void FUN_000198e0(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000198e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00028fd0;" (assignment_expression "puVar1 = PTR_stderr_00028fd0" identifier = identifier) ;) (expression_statement "pcVar2 = "(standard_in)";" (assignment_expression "pcVar2 = "(standard_in)"" identifier = (string_literal ""(standard_in)"" " string_content ")) ;) (if_statement "if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }" if (parenthesized_expression "(DAT_00029260 == '\0')" ( (binary_expression "DAT_00029260 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = DAT_00029244;\n  }" { (expression_statement "pcVar2 = DAT_00029244;" (assignment_expression "pcVar2 = DAT_00029244" identifier = identifier) ;) })) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00028fd0" * (cast_expression "(undefined4 *)PTR_stderr_00028fd0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%s %d: "" " string_content ") , identifier , identifier ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_0001d320(*(undefined4 *)puVar1);" (call_expression "FUN_0001d320(*(undefined4 *)puVar1)" identifier (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "DAT_00029238 = 1;" (assignment_expression "DAT_00029238 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000198e0(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000198e0(undefined4 param_1)" (identifier "FUN_000198e0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = PTR_stderr_00028fd0;\n  pcVar2 = "(standard_in)";\n  if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n  FUN_0001d320(*(undefined4 *)puVar1);\n  DAT_00029238 = 1;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "puVar1 = PTR_stderr_00028fd0;" (assignment_expression "puVar1 = PTR_stderr_00028fd0" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00028fd0")) (; ";")) (expression_statement "pcVar2 = "(standard_in)";" (assignment_expression "pcVar2 = "(standard_in)"" (identifier "pcVar2") (= "=") (string_literal ""(standard_in)"" (" """) (string_content "(standard_in)") (" """))) (; ";")) (if_statement "if (DAT_00029260 == '\0') {\n    pcVar2 = DAT_00029244;\n  }" (if "if") (parenthesized_expression "(DAT_00029260 == '\0')" (( "(") (binary_expression "DAT_00029260 == '\0'" (identifier "DAT_00029260") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar2 = DAT_00029244;\n  }" ({ "{") (expression_statement "pcVar2 = DAT_00029244;" (assignment_expression "pcVar2 = DAT_00029244" (identifier "pcVar2") (= "=") (identifier "DAT_00029244")) (; ";")) (} "}"))) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00028fd0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00028fd0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00028fd0"))) (, ",") (number_literal "1") (, ",") (string_literal ""%s %d: "" (" """) (string_content "%s %d: ") (" """)) (, ",") (identifier "pcVar2") (, ",") (identifier "DAT_000292a0") () ")"))) (; ";")) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" (identifier "__vfprintf_chk") (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (identifier "param_1") (, ",") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) () ")"))) (; ";")) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" (identifier "fputc") (argument_list "(10,*(FILE **)puVar1)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar1" (* "*") (cast_expression "(FILE **)puVar1" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "FUN_0001d320(*(undefined4 *)puVar1);" (call_expression "FUN_0001d320(*(undefined4 *)puVar1)" (identifier "FUN_0001d320") (argument_list "(*(undefined4 *)puVar1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "DAT_00029238 = 1;" (assignment_expression "DAT_00029238 = 1" (identifier "DAT_00029238") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *str,...)

{
  type_1 *puVar1;
  char *pcVar2;
  
  puVar1 = PTR_stderr_00028fd0;
  pcVar2 = "(standard_in)";
  if (var_1 == '\0') {
    pcVar2 = file_name;
  }
  var_2(*(type_2 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,line_no);
  var_3(*(type_2 *)puVar1,1,str,&stack0x00000008);
  var_4(10,*(type_3 **)puVar1);
  var_5(*(type_3 **)puVar1);
  had_error = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (string_literal (string_content)) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (identifier) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  puVar1 = PTR_stderr_00028fd0;
  pcVar2 = "(standard_in)";
  if (DAT_00029260 == '\0') {
    pcVar2 = DAT_00029244;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00028fd0,1,"%s %d: ",pcVar2,DAT_000292a0);
  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
  FUN_0001d320(*(undefined4 *)puVar1);
  DAT_00029238 = 1;
  return;
}

