
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: noreturn void fallback(Errors * this, char * format, va_list args) */

void __thiscall gold::Errors::fallback(Errors *this,char *format,va_list args)

{
  char *pcVar1;
  undefined *puVar2;
  char *__format;
  
  pcVar1 = this->program_name_;
  __format = (char *)gettext("%s: fatal error: ");
  puVar2 = PTR_stderr_0038ed28;
  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1);
  vfprintf(*(FILE **)puVar2,format,args);
  fputc(10,*(FILE **)puVar2);
                    /* WARNING: Subroutine does not return */
  gold_exit(GOLD_FALLBACK);
}



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

void FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)

{
  undefined4 uVar1;
  undefined *puVar2;
  char *__format;
  
  uVar1 = *param_1;
  __format = (char *)gettext("%s: fatal error: ");
  puVar2 = PTR_stderr_0038ed28;
  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);
  vfprintf(*(FILE **)puVar2,param_2,param_3);
  fputc(10,*(FILE **)puVar2);
                    /* WARNING: Subroutine does not return */
  FUN_00069c30(2);
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x329da9
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffef81ca]
PUSH EAX
CALL 0x000293b0
ADD ESP,0xc
PUSH ESI
MOV ESI,dword ptr [EBX + 0xfffffd28]
PUSH EAX
PUSH dword ptr [ESI]
CALL 0x00029750
ADD ESP,0xc
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI]
CALL 0x000299b0
POP EAX
POP EDX
PUSH dword ptr [ESI]
PUSH 0xa
CALL 0x00029800
MOV dword ptr [ESP],0x2
CALL 0x00069c30
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069c30(2);\n}\n\n" comment (function_definition "void FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069c30(2);\n}" primitive_type (function_declarator "FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "__gnuc_va_list param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069c30(2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__format = (char *)gettext("%s: fatal error: ");" (assignment_expression "__format = (char *)gettext("%s: fatal error: ")" identifier = (cast_expression "(char *)gettext("%s: fatal error: ")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: fatal error: ")" identifier (argument_list "("%s: fatal error: ")" ( (string_literal ""%s: fatal error: "" " string_content ") ))))) ;) (expression_statement "puVar2 = PTR_stderr_0038ed28;" (assignment_expression "puVar2 = PTR_stderr_0038ed28" identifier = identifier) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_0038ed28" * (cast_expression "(FILE **)PTR_stderr_0038ed28" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "vfprintf(*(FILE **)puVar2,param_2,param_3);" (call_expression "vfprintf(*(FILE **)puVar2,param_2,param_3)" identifier (argument_list "(*(FILE **)puVar2,param_2,param_3)" ( (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "FUN_00069c30(2);" (call_expression "FUN_00069c30(2)" identifier (argument_list "(2)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: noreturn void fallback(Errors * this, char * format, va_list args) */\n\nvoid __thiscall gold::Errors::fallback(Errors *this,char *format,va_list args)\n\n{\n  char *pcVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1);\n  vfprintf(*(FILE **)puVar2,format,args);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_exit(GOLD_FALLBACK);\n}\n\n" comment comment (function_definition "void __thiscall gold::Errors::fallback(Errors *this,char *format,va_list args)\n\n{\n  char *pcVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1);\n  vfprintf(*(FILE **)puVar2,format,args);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_exit(GOLD_FALLBACK);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Errors::" identifier : : identifier : :) (function_declarator "fallback(Errors *this,char *format,va_list args)" identifier (parameter_list "(Errors *this,char *format,va_list args)" ( (parameter_declaration "Errors *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (parameter_declaration "va_list args" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1);\n  vfprintf(*(FILE **)puVar2,format,args);\n  fputc(10,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n  gold_exit(GOLD_FALLBACK);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "pcVar1 = this->program_name_;" (assignment_expression "pcVar1 = this->program_name_" identifier = (field_expression "this->program_name_" identifier -> field_identifier)) ;) (expression_statement "__format = (char *)gettext("%s: fatal error: ");" (assignment_expression "__format = (char *)gettext("%s: fatal error: ")" identifier = (cast_expression "(char *)gettext("%s: fatal error: ")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: fatal error: ")" identifier (argument_list "("%s: fatal error: ")" ( (string_literal ""%s: fatal error: "" " string_content ") ))))) ;) (expression_statement "puVar2 = PTR_stderr_0038ed28;" (assignment_expression "puVar2 = PTR_stderr_0038ed28" identifier = identifier) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_0038ed28,__format,pcVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_0038ed28" * (cast_expression "(FILE **)PTR_stderr_0038ed28" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "vfprintf(*(FILE **)puVar2,format,args);" (call_expression "vfprintf(*(FILE **)puVar2,format,args)" identifier (argument_list "(*(FILE **)puVar2,format,args)" ( (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "gold_exit(GOLD_FALLBACK);" (call_expression "gold_exit(GOLD_FALLBACK)" identifier (argument_list "(GOLD_FALLBACK)" ( identifier ))) ;) })))
(translation_unit "void FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    \n  FUN_00069c30(2);\n}\n\n" (function_definition "void FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    \n  FUN_00069c30(2);\n}" primitive_type (function_declarator "FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "__gnuc_va_list param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    \n  FUN_00069c30(2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__format = (char *)gettext("%s: fatal error: ");" (assignment_expression "__format = (char *)gettext("%s: fatal error: ")" identifier = (cast_expression "(char *)gettext("%s: fatal error: ")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: fatal error: ")" identifier (argument_list "("%s: fatal error: ")" ( (string_literal ""%s: fatal error: "" " string_content ") ))))) ;) (expression_statement "puVar2 = PTR_stderr_0038ed28;" (assignment_expression "puVar2 = PTR_stderr_0038ed28" identifier = identifier) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_0038ed28" * (cast_expression "(FILE **)PTR_stderr_0038ed28" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "vfprintf(*(FILE **)puVar2,param_2,param_3);" (call_expression "vfprintf(*(FILE **)puVar2,param_2,param_3)" identifier (argument_list "(*(FILE **)puVar2,param_2,param_3)" ( (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_00069c30(2);" (call_expression "FUN_00069c30(2)" identifier (argument_list "(2)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , 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 ( LIT ))) ;) })))
(function_definition "void FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    \n  FUN_00069c30(2);\n}" (primitive_type "void") (function_declarator "FUN_00065250(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" (identifier "FUN_00065250") (parameter_list "(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "__gnuc_va_list param_3" (type_identifier "__gnuc_va_list") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  puVar2 = PTR_stderr_0038ed28;\n  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);\n  vfprintf(*(FILE **)puVar2,param_2,param_3);\n  fputc(10,*(FILE **)puVar2);\n                    \n  FUN_00069c30(2);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "__format = (char *)gettext("%s: fatal error: ");" (assignment_expression "__format = (char *)gettext("%s: fatal error: ")" (identifier "__format") (= "=") (cast_expression "(char *)gettext("%s: fatal error: ")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("%s: fatal error: ")" (identifier "gettext") (argument_list "("%s: fatal error: ")" (( "(") (string_literal ""%s: fatal error: "" (" """) (string_content "%s: fatal error: ") (" """)) () ")"))))) (; ";")) (expression_statement "puVar2 = PTR_stderr_0038ed28;" (assignment_expression "puVar2 = PTR_stderr_0038ed28" (identifier "puVar2") (= "=") (identifier "PTR_stderr_0038ed28")) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0038ed28,__format,uVar1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0038ed28" (* "*") (cast_expression "(FILE **)PTR_stderr_0038ed28" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0038ed28"))) (, ",") (identifier "__format") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "vfprintf(*(FILE **)puVar2,param_2,param_3);" (call_expression "vfprintf(*(FILE **)puVar2,param_2,param_3)" (identifier "vfprintf") (argument_list "(*(FILE **)puVar2,param_2,param_3)" (( "(") (pointer_expression "*(FILE **)puVar2" (* "*") (cast_expression "(FILE **)puVar2" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2"))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" (identifier "fputc") (argument_list "(10,*(FILE **)puVar2)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar2" (* "*") (cast_expression "(FILE **)puVar2" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2"))) () ")"))) (; ";")) (expression_statement "FUN_00069c30(2);" (call_expression "FUN_00069c30(2)" (identifier "FUN_00069c30") (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: noreturn void fallback(Errors * this, char * format, va_list args) */

void __thiscall gold::type_1::function_1(type_1 *this,char *format,type_2 args)

{
  char *pcVar1;
  type_3 *puVar2;
  char *__format;
  
  pcVar1 = this->program_name_;
  __format = (char *)var_1("%s: fatal error: ");
  puVar2 = PTR_stderr_0038ed28;
  var_2(*(type_4 **)PTR_stderr_0038ed28,__format,pcVar1);
  var_3(*(type_4 **)puVar2,format,args);
  var_4(10,*(type_4 **)puVar2);
                    /* WARNING: Subroutine does not return */
  var_5(GOLD_FALLBACK);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (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 declarator: (abstract_pointer_declarator))) value: (identifier))) (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 declarator: (abstract_pointer_declarator))) value: (identifier))) (identifier) (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 (number_literal)))))))

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

void MASKED(undefined4 *param_1,char *param_2,__gnuc_va_list param_3)

{
  undefined4 uVar1;
  undefined *puVar2;
  char *__format;
  
  uVar1 = *param_1;
  __format = (char *)gettext("%s: fatal error: ");
  puVar2 = PTR_stderr_0038ed28;
  fprintf(*(FILE **)PTR_stderr_0038ed28,__format,uVar1);
  vfprintf(*(FILE **)puVar2,param_2,param_3);
  fputc(10,*(FILE **)puVar2);
                    /* WARNING: Subroutine does not return */
  FUN_00069c30(2);
}

