
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void finish_sections(Script_sections * this) */

void __thiscall gold::Script_sections::finish_sections(Script_sections *this)

{
  if ((this->in_sections_clause_ != false) &&
     (this->output_section_ == (Output_section_definition *)0x0)) {
    this->in_sections_clause_ = false;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections");
}



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

void FUN_00107b70(int param_1)

{
  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {
    *(undefined1 *)(param_1 + 1) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1fa48a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x1],0x0
JZ 0x00107b99
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JNZ 0x00107b99
MOV byte ptr [EAX + 0x1],0x0
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff2c8e4]
PUSH EAX
LEA EAX,[EBX + 0xfff2c01b]
PUSH 0xd2b
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00107b70(int param_1)\n\n{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}\n\n" comment (function_definition "void FUN_00107b70(int param_1)\n\n{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" primitive_type (function_declarator "FUN_00107b70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" { (if_statement "if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" if (parenthesized_expression "((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0))" ( (binary_expression "(*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)" (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" identifier (argument_list "("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""finish_sections"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void finish_sections(Script_sections * this) */\n\nvoid __thiscall gold::Script_sections::finish_sections(Script_sections *this)\n\n{\n  if ((this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0)) {\n    this->in_sections_clause_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections");\n}\n\n" comment comment (function_definition "void __thiscall gold::Script_sections::finish_sections(Script_sections *this)\n\n{\n  if ((this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0)) {\n    this->in_sections_clause_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "finish_sections(Script_sections *this)" identifier (parameter_list "(Script_sections *this)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if ((this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0)) {\n    this->in_sections_clause_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections");\n}" { (if_statement "if ((this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0)) {\n    this->in_sections_clause_ = false;\n    return;\n  }" if (parenthesized_expression "((this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0))" ( (binary_expression "(this->in_sections_clause_ != false) &&\n     (this->output_section_ == (Output_section_definition *)0x0)" (parenthesized_expression "(this->in_sections_clause_ != false)" ( (binary_expression "this->in_sections_clause_ != false" (field_expression "this->in_sections_clause_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(this->output_section_ == (Output_section_definition *)0x0)" ( (binary_expression "this->output_section_ == (Output_section_definition *)0x0" (field_expression "this->output_section_" identifier -> field_identifier) == (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    this->in_sections_clause_ = false;\n    return;\n  }" { (expression_statement "this->in_sections_clause_ = false;" (assignment_expression "this->in_sections_clause_ = false" (field_expression "this->in_sections_clause_" identifier -> field_identifier) = false) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections");" (call_expression "do_gold_unreachable("../../gold/script-sections.cc",0xd2b,"finish_sections")" identifier (argument_list "("../../gold/script-sections.cc",0xd2b,"finish_sections")" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""finish_sections"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00107b70(int param_1)\n\n{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}\n\n" (function_definition "void FUN_00107b70(int param_1)\n\n{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" primitive_type (function_declarator "FUN_00107b70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" { (if_statement "if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" if (parenthesized_expression "((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0))" ( (binary_expression "(*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)" (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" identifier (argument_list "("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""finish_sections"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (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_00107b70(int param_1)\n\n{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" (primitive_type "void") (function_declarator "FUN_00107b70(int param_1)" (identifier "FUN_00107b70") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);\n}" ({ "{") (if_statement "if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0))" (( "(") (binary_expression "(*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)" (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 1) = 0;\n    return;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1)" (( "(") (string_literal ""../../gold/script-sections.cc"" (" """) (string_content "../../gold/script-sections.cc") (" """)) (, ",") (number_literal "0xd2b") (, ",") (string_literal ""finish_sections"" (" """) (string_content "finish_sections") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void finish_sections(Script_sections * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  if ((this->in_sections_clause_ != false) &&
     (this->output_section_ == (type_2 *)0x0)) {
    this->in_sections_clause_ = false;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/script-sections.cc",0xd2b,"finish_sections");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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: (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: (identifier) right: (number_literal))))) right: (number_literal))))) 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: (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)

{
  if ((*(char *)(param_1 + 1) != '\0') && (*(int *)(param_1 + 8) == 0)) {
    *(undefined1 *)(param_1 + 1) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/script-sections.cc",0xd2b,"finish_sections",param_1);
}

