
/* DWARF original prototype: void print(Symbol_assignment * this, FILE * f) */

void __thiscall gold::Symbol_assignment::print(Symbol_assignment *this,FILE *f)

{
  if (this->provide_ == false) {
    if (this->hidden_ != false) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/script.cc",0x425,"print");
    }
  }
  else if (this->hidden_ == false) {
    fwrite("PROVIDE(",1,8,(FILE *)f);
  }
  else {
    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);
  }
  fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p);
  (*this->val_->_vptr_Expression[2])(this->val_,f);
  if ((this->provide_ != false) || (this->hidden_ != false)) {
    fputc(0x29,(FILE *)f);
  }
  fputc(10,(FILE *)f);
  return;
}



void FUN_002644f0(undefined8 *param_1,FILE *param_2)

{
  if (*(char *)((long)param_1 + 0x29) == '\0') {
    if (*(char *)((long)param_1 + 0x2a) != '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/script.cc",0x425,"print");
    }
  }
  else if (*(char *)((long)param_1 + 0x2a) == '\0') {
    fwrite("PROVIDE(",1,8,param_2);
  }
  else {
    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);
  }
  fprintf(param_2,"%s = ",*param_1);
  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);
  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {
    fputc(0x29,param_2);
  }
  fputc(10,param_2);
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
CMP byte ptr [RDI + 0x29],0x0
MOVZX EAX,byte ptr [RDI + 0x2a]
JZ 0x00264528
MOV RCX,RSI
TEST AL,AL
JNZ 0x00264580
MOV EDX,0x8
MOV ESI,0x1
LEA RDI,[0x385264]
CALL 0x001479a0
JMP 0x0026452c
TEST AL,AL
JNZ 0x00264598
MOV RDX,qword ptr [RBX]
LEA RSI,[0x38526d]
MOV RDI,RBP
XOR EAX,EAX
CALL 0x00147a00
MOV RDI,qword ptr [RBX + 0x20]
MOV RSI,RBP
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x10]
CMP byte ptr [RBX + 0x29],0x0
JNZ 0x00264559
CMP byte ptr [RBX + 0x2a],0x0
JZ 0x00264566
MOV RSI,RBP
MOV EDI,0x29
CALL 0x00147450
ADD RSP,0x8
MOV RSI,RBP
MOV EDI,0xa
POP RBX
POP RBP
JMP 0x00147450
MOV EDX,0xf
MOV ESI,0x1
LEA RDI,[0x385254]
CALL 0x001479a0
JMP 0x0026452c
LEA RDX,[0x385fe6]
MOV ESI,0x425
LEA RDI,[0x38523c]
CALL 0x0017c650
(translation_unit "void FUN_002644f0(undefined8 *param_1,FILE *param_2)\n\n{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}\n\n" (function_definition "void FUN_002644f0(undefined8 *param_1,FILE *param_2)\n\n{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_002644f0(undefined8 *param_1,FILE *param_2)" identifier (parameter_list "(undefined8 *param_1,FILE *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" { (if_statement "if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x29) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x29) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" * (cast_expression "(char *)((long)param_1 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x29)" ( (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }" { (if_statement "if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" { comment (expression_statement "FUN_0017c650("../../gold/script.cc",0x425,"print");" (call_expression "FUN_0017c650("../../gold/script.cc",0x425,"print")" identifier (argument_list "("../../gold/script.cc",0x425,"print")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") ))) ;) })) }) (else_clause "else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" else (if_statement "if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    fwrite("PROVIDE(",1,8,param_2);\n  }" { (expression_statement "fwrite("PROVIDE(",1,8,param_2);" (call_expression "fwrite("PROVIDE(",1,8,param_2)" identifier (argument_list "("PROVIDE(",1,8,param_2)" ( (string_literal ""PROVIDE("" " string_content ") , number_literal , number_literal , identifier ))) ;) }) (else_clause "else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" else (compound_statement "{\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" { (expression_statement "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);" (call_expression "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2)" identifier (argument_list "("PROVIDE_HIDDEN(",1,0xf,param_2)" ( (string_literal ""PROVIDE_HIDDEN("" " string_content ") , number_literal , number_literal , identifier ))) ;) }))))) (expression_statement "fprintf(param_2,"%s = ",*param_1);" (call_expression "fprintf(param_2,"%s = ",*param_1)" identifier (argument_list "(param_2,"%s = ",*param_1)" ( identifier , (string_literal ""%s = "" " string_content ") , (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);" (call_expression "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2)" (parenthesized_expression "(**(code **)(*(long *)param_1[4] + 0x10))" ( (pointer_expression "**(code **)(*(long *)param_1[4] + 0x10)" * (pointer_expression "*(code **)(*(long *)param_1[4] + 0x10)" * (cast_expression "(code **)(*(long *)param_1[4] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[4] + 0x10)" ( (binary_expression "*(long *)param_1[4] + 0x10" (pointer_expression "*(long *)param_1[4]" * (cast_expression "(long *)param_1[4]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((long *)param_1[4],param_2)" ( (cast_expression "(long *)param_1[4]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) , identifier ))) ;) (if_statement "if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x29) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x29) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" * (cast_expression "(char *)((long)param_1 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x29)" ( (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    fputc(0x29,param_2);\n  }" { (expression_statement "fputc(0x29,param_2);" (call_expression "fputc(0x29,param_2)" identifier (argument_list "(0x29,param_2)" ( number_literal , identifier ))) ;) })) (expression_statement "fputc(10,param_2);" (call_expression "fputc(10,param_2)" identifier (argument_list "(10,param_2)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void print(Symbol_assignment * this, FILE * f) */\n\nvoid __thiscall gold::Symbol_assignment::print(Symbol_assignment *this,FILE *f)\n\n{\n  if (this->provide_ == false) {\n    if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }\n  fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  if ((this->provide_ != false) || (this->hidden_ != false)) {\n    fputc(0x29,(FILE *)f);\n  }\n  fputc(10,(FILE *)f);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Symbol_assignment::print(Symbol_assignment *this,FILE *f)\n\n{\n  if (this->provide_ == false) {\n    if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }\n  fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  if ((this->provide_ != false) || (this->hidden_ != false)) {\n    fputc(0x29,(FILE *)f);\n  }\n  fputc(10,(FILE *)f);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_assignment::" identifier : : identifier : :) (function_declarator "print(Symbol_assignment *this,FILE *f)" identifier (parameter_list "(Symbol_assignment *this,FILE *f)" ( (parameter_declaration "Symbol_assignment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "FILE *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  if (this->provide_ == false) {\n    if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }\n  fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p);\n  (*this->val_->_vptr_Expression[2])(this->val_,f);\n  if ((this->provide_ != false) || (this->hidden_ != false)) {\n    fputc(0x29,(FILE *)f);\n  }\n  fputc(10,(FILE *)f);\n  return;\n}" { (if_statement "if (this->provide_ == false) {\n    if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }" if (parenthesized_expression "(this->provide_ == false)" ( (binary_expression "this->provide_ == false" (field_expression "this->provide_" identifier -> field_identifier) == false) )) (compound_statement "{\n    if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }\n  }" { (if_statement "if (this->hidden_ != false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }" if (parenthesized_expression "(this->hidden_ != false)" ( (binary_expression "this->hidden_ != false" (field_expression "this->hidden_" identifier -> field_identifier) != false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x425,"print");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/script.cc",0x425,"print");" (call_expression "do_gold_unreachable("../../gold/script.cc",0x425,"print")" identifier (argument_list "("../../gold/script.cc",0x425,"print")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") ))) ;) })) }) (else_clause "else if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }" else (if_statement "if (this->hidden_ == false) {\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }" if (parenthesized_expression "(this->hidden_ == false)" ( (binary_expression "this->hidden_ == false" (field_expression "this->hidden_" identifier -> field_identifier) == false) )) (compound_statement "{\n    fwrite("PROVIDE(",1,8,(FILE *)f);\n  }" { (expression_statement "fwrite("PROVIDE(",1,8,(FILE *)f);" (call_expression "fwrite("PROVIDE(",1,8,(FILE *)f)" identifier (argument_list "("PROVIDE(",1,8,(FILE *)f)" ( (string_literal ""PROVIDE("" " string_content ") , number_literal , number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) }) (else_clause "else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }" else (compound_statement "{\n    fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);\n  }" { (expression_statement "fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f);" (call_expression "fwrite("PROVIDE_HIDDEN(",1,0xf,(FILE *)f)" identifier (argument_list "("PROVIDE_HIDDEN(",1,0xf,(FILE *)f)" ( (string_literal ""PROVIDE_HIDDEN("" " string_content ") , number_literal , number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) }))))) (expression_statement "fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p);" (call_expression "fprintf((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p)" identifier (argument_list "((FILE *)f,"%s = ",(this->name_)._M_dataplus._M_p)" ( (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""%s = "" " string_content ") , (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "(*this->val_->_vptr_Expression[2])(this->val_,f);" (call_expression "(*this->val_->_vptr_Expression[2])(this->val_,f)" (parenthesized_expression "(*this->val_->_vptr_Expression[2])" ( (pointer_expression "*this->val_->_vptr_Expression[2]" * (subscript_expression "this->val_->_vptr_Expression[2]" (field_expression "this->val_->_vptr_Expression" (field_expression "this->val_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) )) (argument_list "(this->val_,f)" ( (field_expression "this->val_" identifier -> field_identifier) , identifier ))) ;) (if_statement "if ((this->provide_ != false) || (this->hidden_ != false)) {\n    fputc(0x29,(FILE *)f);\n  }" if (parenthesized_expression "((this->provide_ != false) || (this->hidden_ != false))" ( (binary_expression "(this->provide_ != false) || (this->hidden_ != false)" (parenthesized_expression "(this->provide_ != false)" ( (binary_expression "this->provide_ != false" (field_expression "this->provide_" identifier -> field_identifier) != false) )) || (parenthesized_expression "(this->hidden_ != false)" ( (binary_expression "this->hidden_ != false" (field_expression "this->hidden_" identifier -> field_identifier) != false) ))) )) (compound_statement "{\n    fputc(0x29,(FILE *)f);\n  }" { (expression_statement "fputc(0x29,(FILE *)f);" (call_expression "fputc(0x29,(FILE *)f)" identifier (argument_list "(0x29,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (expression_statement "fputc(10,(FILE *)f);" (call_expression "fputc(10,(FILE *)f)" identifier (argument_list "(10,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002644f0(undefined8 *param_1,FILE *param_2)\n\n{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}\n\n" (function_definition "void FUN_002644f0(undefined8 *param_1,FILE *param_2)\n\n{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_002644f0(undefined8 *param_1,FILE *param_2)" identifier (parameter_list "(undefined8 *param_1,FILE *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" { (if_statement "if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x29) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x29) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" * (cast_expression "(char *)((long)param_1 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x29)" ( (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }" { (if_statement "if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" { (expression_statement "FUN_0017c650("../../gold/script.cc",0x425,"print");" (call_expression "FUN_0017c650("../../gold/script.cc",0x425,"print")" identifier (argument_list "("../../gold/script.cc",0x425,"print")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""print"" " string_content ") ))) ;) })) }) (else_clause "else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" else (if_statement "if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    fwrite("PROVIDE(",1,8,param_2);\n  }" { (expression_statement "fwrite("PROVIDE(",1,8,param_2);" (call_expression "fwrite("PROVIDE(",1,8,param_2)" identifier (argument_list "("PROVIDE(",1,8,param_2)" ( (string_literal ""PROVIDE("" " string_content ") , number_literal , number_literal , identifier ))) ;) }) (else_clause "else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" else (compound_statement "{\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" { (expression_statement "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);" (call_expression "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2)" identifier (argument_list "("PROVIDE_HIDDEN(",1,0xf,param_2)" ( (string_literal ""PROVIDE_HIDDEN("" " string_content ") , number_literal , number_literal , identifier ))) ;) }))))) (expression_statement "fprintf(param_2,"%s = ",*param_1);" (call_expression "fprintf(param_2,"%s = ",*param_1)" identifier (argument_list "(param_2,"%s = ",*param_1)" ( identifier , (string_literal ""%s = "" " string_content ") , (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);" (call_expression "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2)" (parenthesized_expression "(**(code **)(*(long *)param_1[4] + 0x10))" ( (pointer_expression "**(code **)(*(long *)param_1[4] + 0x10)" * (pointer_expression "*(code **)(*(long *)param_1[4] + 0x10)" * (cast_expression "(code **)(*(long *)param_1[4] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[4] + 0x10)" ( (binary_expression "*(long *)param_1[4] + 0x10" (pointer_expression "*(long *)param_1[4]" * (cast_expression "(long *)param_1[4]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((long *)param_1[4],param_2)" ( (cast_expression "(long *)param_1[4]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) , identifier ))) ;) (if_statement "if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x29) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x29) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" * (cast_expression "(char *)((long)param_1 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x29)" ( (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" * (cast_expression "(char *)((long)param_1 + 0x2a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2a)" ( (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    fputc(0x29,param_2);\n  }" { (expression_statement "fputc(0x29,param_2);" (call_expression "fputc(0x29,param_2)" identifier (argument_list "(0x29,param_2)" ( number_literal , identifier ))) ;) })) (expression_statement "fputc(10,param_2);" (call_expression "fputc(10,param_2)" identifier (argument_list "(10,param_2)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) }))))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002644f0(undefined8 *param_1,FILE *param_2)\n\n{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002644f0(undefined8 *param_1,FILE *param_2)" (identifier "FUN_002644f0") (parameter_list "(undefined8 *param_1,FILE *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "FILE *param_2" (type_identifier "FILE") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }\n  fprintf(param_2,"%s = ",*param_1);\n  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);\n  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }\n  fputc(10,param_2);\n  return;\n}" ({ "{") (if_statement "if (*(char *)((long)param_1 + 0x29) == '\0') {\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }\n  else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + 0x29) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x29) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" (* "*") (cast_expression "(char *)((long)param_1 + 0x29)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x29)" (( "(") (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x29")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }\n  }" ({ "{") (if_statement "if (*(char *)((long)param_1 + 0x2a) != '\0') {\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" (* "*") (cast_expression "(char *)((long)param_1 + 0x2a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x2a)" (( "(") (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x2a")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/script.cc",0x425,"print");\n    }" ({ "{") (expression_statement "FUN_0017c650("../../gold/script.cc",0x425,"print");" (call_expression "FUN_0017c650("../../gold/script.cc",0x425,"print")" (identifier "FUN_0017c650") (argument_list "("../../gold/script.cc",0x425,"print")" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0x425") (, ",") (string_literal ""print"" (" """) (string_content "print") (" """)) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" (else "else") (if_statement "if (*(char *)((long)param_1 + 0x2a) == '\0') {\n    fwrite("PROVIDE(",1,8,param_2);\n  }\n  else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x2a) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" (* "*") (cast_expression "(char *)((long)param_1 + 0x2a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x2a)" (( "(") (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x2a")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    fwrite("PROVIDE(",1,8,param_2);\n  }" ({ "{") (expression_statement "fwrite("PROVIDE(",1,8,param_2);" (call_expression "fwrite("PROVIDE(",1,8,param_2)" (identifier "fwrite") (argument_list "("PROVIDE(",1,8,param_2)" (( "(") (string_literal ""PROVIDE("" (" """) (string_content "PROVIDE(") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "8") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" (else "else") (compound_statement "{\n    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);\n  }" ({ "{") (expression_statement "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);" (call_expression "fwrite("PROVIDE_HIDDEN(",1,0xf,param_2)" (identifier "fwrite") (argument_list "("PROVIDE_HIDDEN(",1,0xf,param_2)" (( "(") (string_literal ""PROVIDE_HIDDEN("" (" """) (string_content "PROVIDE_HIDDEN(") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0xf") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))))) (expression_statement "fprintf(param_2,"%s = ",*param_1);" (call_expression "fprintf(param_2,"%s = ",*param_1)" (identifier "fprintf") (argument_list "(param_2,"%s = ",*param_1)" (( "(") (identifier "param_2") (, ",") (string_literal ""%s = "" (" """) (string_content "%s = ") (" """)) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);" (call_expression "(**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2)" (parenthesized_expression "(**(code **)(*(long *)param_1[4] + 0x10))" (( "(") (pointer_expression "**(code **)(*(long *)param_1[4] + 0x10)" (* "*") (pointer_expression "*(code **)(*(long *)param_1[4] + 0x10)" (* "*") (cast_expression "(code **)(*(long *)param_1[4] + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)param_1[4] + 0x10)" (( "(") (binary_expression "*(long *)param_1[4] + 0x10" (pointer_expression "*(long *)param_1[4]" (* "*") (cast_expression "(long *)param_1[4]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "((long *)param_1[4],param_2)" (( "(") (cast_expression "(long *)param_1[4]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {\n    fputc(0x29,param_2);\n  }" (if "if") (parenthesized_expression "((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0'))" (( "(") (binary_expression "(*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x29) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x29) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x29)" (* "*") (cast_expression "(char *)((long)param_1 + 0x29)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x29)" (( "(") (binary_expression "(long)param_1 + 0x29" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x29")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)((long)param_1 + 0x2a) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x2a) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x2a)" (* "*") (cast_expression "(char *)((long)param_1 + 0x2a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x2a)" (( "(") (binary_expression "(long)param_1 + 0x2a" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x2a")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    fputc(0x29,param_2);\n  }" ({ "{") (expression_statement "fputc(0x29,param_2);" (call_expression "fputc(0x29,param_2)" (identifier "fputc") (argument_list "(0x29,param_2)" (( "(") (number_literal "0x29") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "fputc(10,param_2);" (call_expression "fputc(10,param_2)" (identifier "fputc") (argument_list "(10,param_2)" (( "(") (number_literal "10") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void print(Symbol_assignment * this, FILE * f) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *f)

{
  if (this->provide_ == false) {
    if (this->hidden_ != false) {
                    /* WARNING: Subroutine does not return */
      var_1("../../gold/script.cc",0x425,"print");
    }
  }
  else if (this->hidden_ == false) {
    var_2("PROVIDE(",1,8,(type_2 *)f);
  }
  else {
    var_2("PROVIDE_HIDDEN(",1,0xf,(type_2 *)f);
  }
  var_3((type_2 *)f,"%s = ",(this->name_)._M_dataplus._M_p);
  (*this->val_->_vptr_Expression[2])(this->val_,f);
  if ((this->provide_ != false) || (this->hidden_ != false)) {
    var_4(0x29,(type_2 *)f);
  }
  var_4(10,(type_2 *)f);
  return;
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (number_literal) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (number_literal) (identifier))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))))))) arguments: (argument_list (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (return_statement))))

void MASKED(undefined8 *param_1,FILE *param_2)

{
  if (*(char *)((long)param_1 + 0x29) == '\0') {
    if (*(char *)((long)param_1 + 0x2a) != '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/script.cc",0x425,"print");
    }
  }
  else if (*(char *)((long)param_1 + 0x2a) == '\0') {
    fwrite("PROVIDE(",1,8,param_2);
  }
  else {
    fwrite("PROVIDE_HIDDEN(",1,0xf,param_2);
  }
  fprintf(param_2,"%s = ",*param_1);
  (**(code **)(*(long *)param_1[4] + 0x10))((long *)param_1[4],param_2);
  if ((*(char *)((long)param_1 + 0x29) != '\0') || (*(char *)((long)param_1 + 0x2a) != '\0')) {
    fputc(0x29,param_2);
  }
  fputc(10,param_2);
  return;
}

