
/* DWARF original prototype: noreturn void fatal(Errors * this, char * format,
   typedef___va_list_tag___va_list_tag * args) */

void __thiscall
gold::Errors::fatal(Errors *this,char *format,typedef___va_list_tag___va_list_tag *args)

{
  char *pcVar1;
  char *__format;
  FILE *pFVar2;
  
  pcVar1 = this->program_name_;
  __format = (char *)gettext("%s: fatal error: ");
  fprintf(stderr,__format,pcVar1);
  vfprintf(stderr,format,args);
  pFVar2 = stderr;
  fputc(10,stderr);
                    /* WARNING: Subroutine does not return */
  gold_exit((gold *)0x1,(Exit_status)pFVar2);
}



void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)

{
  undefined8 uVar1;
  char *__format;
  
  uVar1 = *param_1;
  __format = (char *)gettext("%s: fatal error: ");
  fprintf(stderr,__format,uVar1);
  vfprintf(stderr,param_2,param_3);
  fputc(10,stderr);
                    /* WARNING: Subroutine does not return */
  FUN_0017c590(1);
}


PUSH R12
PUSH RBP
MOV RBP,RDX
PUSH RBX
MOV R12,qword ptr [RDI]
LEA RDI,[0x37268a]
MOV RBX,RSI
CALL 0x00147320
MOV RDI,qword ptr [0x0043e860]
MOV RDX,R12
MOV RSI,RAX
XOR EAX,EAX
CALL 0x00147a00
MOV RDI,qword ptr [0x0043e860]
MOV RDX,RBP
MOV RSI,RBX
CALL 0x00147400
MOV RSI,qword ptr [0x0043e860]
MOV EDI,0xa
CALL 0x00147450
MOV EDI,0x1
CALL 0x0017c590
(translation_unit "void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c590(1);\n}\n\n" (function_definition "void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c590(1);\n}" primitive_type (function_declarator "FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" identifier (parameter_list "(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" ( (parameter_declaration "undefined8 *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  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c590(1);\n}" { (declaration "undefined8 uVar1;" type_identifier 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 "fprintf(stderr,__format,uVar1);" (call_expression "fprintf(stderr,__format,uVar1)" identifier (argument_list "(stderr,__format,uVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "vfprintf(stderr,param_2,param_3);" (call_expression "vfprintf(stderr,param_2,param_3)" identifier (argument_list "(stderr,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "fputc(10,stderr);" (call_expression "fputc(10,stderr)" identifier (argument_list "(10,stderr)" ( number_literal , identifier ))) ;) comment (expression_statement "FUN_0017c590(1);" (call_expression "FUN_0017c590(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* DWARF original prototype: noreturn void fatal(Errors * this, char * format,\n   typedef___va_list_tag___va_list_tag * args) */\n\nvoid __thiscall\ngold::Errors::fatal(Errors *this,char *format,typedef___va_list_tag___va_list_tag *args)\n\n{\n  char *pcVar1;\n  char *__format;\n  FILE *pFVar2;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,pcVar1);\n  vfprintf(stderr,format,args);\n  pFVar2 = stderr;\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  gold_exit((gold *)0x1,(Exit_status)pFVar2);\n}\n\n" comment (function_definition "void __thiscall\ngold::Errors::fatal(Errors *this,char *format,typedef___va_list_tag___va_list_tag *args)\n\n{\n  char *pcVar1;\n  char *__format;\n  FILE *pFVar2;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,pcVar1);\n  vfprintf(stderr,format,args);\n  pFVar2 = stderr;\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  gold_exit((gold *)0x1,(Exit_status)pFVar2);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Errors::" identifier : : identifier : :) (function_declarator "fatal(Errors *this,char *format,typedef___va_list_tag___va_list_tag *args)" identifier (parameter_list "(Errors *this,char *format,typedef___va_list_tag___va_list_tag *args)" ( (parameter_declaration "Errors *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (parameter_declaration "typedef___va_list_tag___va_list_tag *args" type_identifier (pointer_declarator "*args" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  char *__format;\n  FILE *pFVar2;\n  \n  pcVar1 = this->program_name_;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,pcVar1);\n  vfprintf(stderr,format,args);\n  pFVar2 = stderr;\n  fputc(10,stderr);\n                    /* WARNING: Subroutine does not return */\n  gold_exit((gold *)0x1,(Exit_status)pFVar2);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "FILE *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * 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 "fprintf(stderr,__format,pcVar1);" (call_expression "fprintf(stderr,__format,pcVar1)" identifier (argument_list "(stderr,__format,pcVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "vfprintf(stderr,format,args);" (call_expression "vfprintf(stderr,format,args)" identifier (argument_list "(stderr,format,args)" ( identifier , identifier , identifier ))) ;) (expression_statement "pFVar2 = stderr;" (assignment_expression "pFVar2 = stderr" identifier = identifier) ;) (expression_statement "fputc(10,stderr);" (call_expression "fputc(10,stderr)" identifier (argument_list "(10,stderr)" ( number_literal , identifier ))) ;) comment (expression_statement "gold_exit((gold *)0x1,(Exit_status)pFVar2);" (call_expression "gold_exit((gold *)0x1,(Exit_status)pFVar2)" identifier (argument_list "((gold *)0x1,(Exit_status)pFVar2)" ( (cast_expression "(gold *)0x1" ( (type_descriptor "gold *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Exit_status)pFVar2" ( (type_descriptor "Exit_status" type_identifier) ) identifier) ))) ;) })))
(translation_unit "void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    \n  FUN_0017c590(1);\n}\n\n" (function_definition "void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    \n  FUN_0017c590(1);\n}" primitive_type (function_declarator "FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" identifier (parameter_list "(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" ( (parameter_declaration "undefined8 *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  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    \n  FUN_0017c590(1);\n}" { (declaration "undefined8 uVar1;" type_identifier 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 "fprintf(stderr,__format,uVar1);" (call_expression "fprintf(stderr,__format,uVar1)" identifier (argument_list "(stderr,__format,uVar1)" ( identifier , identifier , identifier ))) ;) (expression_statement "vfprintf(stderr,param_2,param_3);" (call_expression "vfprintf(stderr,param_2,param_3)" identifier (argument_list "(stderr,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "fputc(10,stderr);" (call_expression "fputc(10,stderr)" identifier (argument_list "(10,stderr)" ( number_literal , identifier ))) ;) (expression_statement "FUN_0017c590(1);" (call_expression "FUN_0017c590(1)" identifier (argument_list "(1)" ( 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) ;) (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 (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)\n\n{\n  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    \n  FUN_0017c590(1);\n}" (primitive_type "void") (function_declarator "FUN_00177f30(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" (identifier "FUN_00177f30") (parameter_list "(undefined8 *param_1,char *param_2,__gnuc_va_list param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (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  undefined8 uVar1;\n  char *__format;\n  \n  uVar1 = *param_1;\n  __format = (char *)gettext("%s: fatal error: ");\n  fprintf(stderr,__format,uVar1);\n  vfprintf(stderr,param_2,param_3);\n  fputc(10,stderr);\n                    \n  FUN_0017c590(1);\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (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 "fprintf(stderr,__format,uVar1);" (call_expression "fprintf(stderr,__format,uVar1)" (identifier "fprintf") (argument_list "(stderr,__format,uVar1)" (( "(") (identifier "stderr") (, ",") (identifier "__format") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "vfprintf(stderr,param_2,param_3);" (call_expression "vfprintf(stderr,param_2,param_3)" (identifier "vfprintf") (argument_list "(stderr,param_2,param_3)" (( "(") (identifier "stderr") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "fputc(10,stderr);" (call_expression "fputc(10,stderr)" (identifier "fputc") (argument_list "(10,stderr)" (( "(") (number_literal "10") (, ",") (identifier "stderr") () ")"))) (; ";")) (expression_statement "FUN_0017c590(1);" (call_expression "FUN_0017c590(1)" (identifier "FUN_0017c590") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: noreturn void fatal(Errors * this, char * format,
   typedef___va_list_tag___va_list_tag * args) */

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

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


(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: (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))

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

{
  undefined8 uVar1;
  char *__format;
  
  uVar1 = *param_1;
  __format = (char *)gettext("%s: fatal error: ");
  fprintf(stderr,__format,uVar1);
  vfprintf(stderr,param_2,param_3);
  fputc(10,stderr);
                    /* WARNING: Subroutine does not return */
  FUN_0017c590(1);
}

