
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_doing_static_link(Parameters * this, bool doing_static_link)
    */

void __thiscall gold::Parameters::set_doing_static_link(Parameters *this,bool doing_static_link)

{
  if (this->doing_static_link_valid_ == false) {
    this->doing_static_link_ = doing_static_link;
    this->doing_static_link_valid_ = true;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link");
}



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

void FUN_001390a0(int param_1,undefined1 param_2)

{
  if (*(char *)(param_1 + 0x10) == '\0') {
    *(undefined1 *)(param_1 + 0x11) = param_2;
    *(undefined1 *)(param_1 + 0x10) = 1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x255f5a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX + 0x10],0x0
JNZ 0x001390c9
MOV byte ptr [EAX + 0x11],DL
MOV byte ptr [EAX + 0x10],0x1
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff06158]
PUSH EAX
LEA EAX,[EBX + 0xfff05fe4]
PUSH 0x6d
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001390a0(int param_1,undefined1 param_2)\n\n{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}\n\n" comment (function_definition "void FUN_001390a0(int param_1,undefined1 param_2)\n\n{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" primitive_type (function_declarator "FUN_001390a0(int param_1,undefined1 param_2)" identifier (parameter_list "(int param_1,undefined1 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" { (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x11) = param_2;" (assignment_expression "*(undefined1 *)(param_1 + 0x11) = param_2" (pointer_expression "*(undefined1 *)(param_1 + 0x11)" * (cast_expression "(undefined1 *)(param_1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11)" ( (binary_expression "param_1 + 0x11" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" * (cast_expression "(undefined1 *)(param_1 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" identifier (argument_list "("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""set_doing_static_link"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void set_doing_static_link(Parameters * this, bool doing_static_link)\n    */\n\nvoid __thiscall gold::Parameters::set_doing_static_link(Parameters *this,bool doing_static_link)\n\n{\n  if (this->doing_static_link_valid_ == false) {\n    this->doing_static_link_ = doing_static_link;\n    this->doing_static_link_valid_ = true;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Parameters::set_doing_static_link(Parameters *this,bool doing_static_link)\n\n{\n  if (this->doing_static_link_valid_ == false) {\n    this->doing_static_link_ = doing_static_link;\n    this->doing_static_link_valid_ = true;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Parameters::" identifier : : identifier : :) (function_declarator "set_doing_static_link(Parameters *this,bool doing_static_link)" identifier (parameter_list "(Parameters *this,bool doing_static_link)" ( (parameter_declaration "Parameters *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "bool doing_static_link" primitive_type identifier) ))) (compound_statement "{\n  if (this->doing_static_link_valid_ == false) {\n    this->doing_static_link_ = doing_static_link;\n    this->doing_static_link_valid_ = true;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link");\n}" { (if_statement "if (this->doing_static_link_valid_ == false) {\n    this->doing_static_link_ = doing_static_link;\n    this->doing_static_link_valid_ = true;\n    return;\n  }" if (parenthesized_expression "(this->doing_static_link_valid_ == false)" ( (binary_expression "this->doing_static_link_valid_ == false" (field_expression "this->doing_static_link_valid_" identifier -> field_identifier) == false) )) (compound_statement "{\n    this->doing_static_link_ = doing_static_link;\n    this->doing_static_link_valid_ = true;\n    return;\n  }" { (expression_statement "this->doing_static_link_ = doing_static_link;" (assignment_expression "this->doing_static_link_ = doing_static_link" (field_expression "this->doing_static_link_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->doing_static_link_valid_ = true;" (assignment_expression "this->doing_static_link_valid_ = true" (field_expression "this->doing_static_link_valid_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link");" (call_expression "do_gold_unreachable("../../gold/parameters.cc",0x6d,"set_doing_static_link")" identifier (argument_list "("../../gold/parameters.cc",0x6d,"set_doing_static_link")" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""set_doing_static_link"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001390a0(int param_1,undefined1 param_2)\n\n{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}\n\n" (function_definition "void FUN_001390a0(int param_1,undefined1 param_2)\n\n{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" primitive_type (function_declarator "FUN_001390a0(int param_1,undefined1 param_2)" identifier (parameter_list "(int param_1,undefined1 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" { (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x11) = param_2;" (assignment_expression "*(undefined1 *)(param_1 + 0x11) = param_2" (pointer_expression "*(undefined1 *)(param_1 + 0x11)" * (cast_expression "(undefined1 *)(param_1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11)" ( (binary_expression "param_1 + 0x11" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" * (cast_expression "(undefined1 *)(param_1 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" identifier (argument_list "("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""set_doing_static_link"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_001390a0(int param_1,undefined1 param_2)\n\n{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" (primitive_type "void") (function_declarator "FUN_001390a0(int param_1,undefined1 param_2)" (identifier "FUN_001390a0") (parameter_list "(int param_1,undefined1 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 param_2" (type_identifier "undefined1") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);\n}" ({ "{") (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" (* "*") (cast_expression "(char *)(param_1 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x11) = param_2;\n    *(undefined1 *)(param_1 + 0x10) = 1;\n    return;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x11) = param_2;" (assignment_expression "*(undefined1 *)(param_1 + 0x11) = param_2" (pointer_expression "*(undefined1 *)(param_1 + 0x11)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x11)" (( "(") (binary_expression "param_1 + 0x11" (identifier "param_1") (+ "+") (number_literal "0x11")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1)" (( "(") (string_literal ""../../gold/parameters.cc"" (" """) (string_content "../../gold/parameters.cc") (" """)) (, ",") (number_literal "0x6d") (, ",") (string_literal ""set_doing_static_link"" (" """) (string_content "set_doing_static_link") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_doing_static_link(Parameters * this, bool doing_static_link)
    */

void __thiscall gold::type_1::function_1(type_1 *this,bool doing_static_link)

{
  if (this->doing_static_link_valid_ == false) {
    this->doing_static_link_ = doing_static_link;
    this->doing_static_link_valid_ = true;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/parameters.cc",0x6d,"set_doing_static_link");
}


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

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

void MASKED(int param_1,undefined1 param_2)

{
  if (*(char *)(param_1 + 0x10) == '\0') {
    *(undefined1 *)(param_1 + 0x11) = param_2;
    *(undefined1 *)(param_1 + 0x10) = 1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.cc",0x6d,"set_doing_static_link",param_1);
}

